From 48cbb3758c734ad6711e74cc9dabe6dcbe65e298 Mon Sep 17 00:00:00 2001 From: PulsarFX <4960210+PulsarFX@users.noreply.github.com> Date: Fri, 18 Feb 2022 23:51:11 +0100 Subject: [PATCH] Update torque.markdown (#21543) --- source/_integrations/torque.markdown | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/_integrations/torque.markdown b/source/_integrations/torque.markdown index 51f8a97a192..d5565b6836a 100644 --- a/source/_integrations/torque.markdown +++ b/source/_integrations/torque.markdown @@ -28,8 +28,10 @@ Under the **Logging Preferences** header: Under the **Realtime Web Upload** header: - Check **Upload to web-server**. -- Enter `http://HOST:PORT/api/torque?api_password=YOUR_PASSWORD` as the **Web-server URL**, where `HOST` and `PORT` are your externally accessible Home Assistant HTTP host and port and YOUR_PASSWORD is your Home Assistant's [API password](/integrations/http/). It highly recommended that you protect your Home Assistant instance with [SSL/TSL](/docs/ecosystem/certificates/). -- Enter an email address in **User Email Address**. +- Enter `https://HOST:PORT/api/torque` as the **Web-server URL**, where `HOST` and `PORT` are your externally accessible Home Assistant HTTP host. To use a Bearer Token, this has to be [SSL/TSL](/docs/ecosystem/certificates/). +- Enable **Send https: Bearer Token** (available since Torque Pro 1.12.46) +- Paste a Long-Lived Access Token from any Home Assistant user in **Set Bearer Token** field. +- Enter an email address in **User Email Address** (this can be any non empty string you like). - Optionally set the **Web Logging Interval**. The 2-second default may quickly fill up the Home Assistant history database. ### Configuration @@ -50,7 +52,7 @@ name: default: vehicle type: string email: - description: Email address configured in Torque application. + description: Value from the Email address field configured in Torque application. Doesn't have to be in email syntax. required: true type: string {% endconfiguration %}