From 3d3227de0ddca3a125db1345d12fada171b1ffc3 Mon Sep 17 00:00:00 2001 From: Linus Dietz <45101649+Dielee@users.noreply.github.com> Date: Wed, 29 May 2024 07:46:08 +0200 Subject: [PATCH] Update README.md --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7124058..7bbc14d 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,34 @@ The following steps are required for authentication in exactly this order: 4. Now, open your mailbox and copy your OTP Code 5. Open HomeAssistant and search for the entity ID ```text.volvo_otp``` 6. Paste your OTP into the text entity and **press Enter**
- 6a. (optional) If your OTP cannot be safed, try to paste your OTP code via MQTT to the following topic: `volvoAAOS2mqtt/otp_code` + 6a. (optional) If your OTP cannot be safed, try to paste your OTP code via MQTT to the following topic: `volvoAAOS2mqtt/otp_code`

+

+ OTP Post Script +
+

+ 1. Safe the following script in your script section
+ 2. Go to https://yourHAUrl/developer-tools/service
+ 3. Search for "Post Volvo OTP"
+ 4. Tick "OTP" and fill in your OTP
+ 5. Run this service
+

+ + alias: Post Volvo OTP + sequence: + - service: mqtt.publish + metadata: {} + data: + topic: volvoAAOS2mqtt/otp_code + payload: "{{ otp }}" + mode: single + fields: + otp: + selector: + text: null + name: OTP + description: Volvo OTP + +
8. If everything has worked, your addon is now authenticated. In the future, OTP authentication only needs to be done when updating, not when restarting the container. ## Setup