Update torque.markdown (#21543)

This commit is contained in:
PulsarFX 2022-02-18 23:51:11 +01:00 committed by GitHub
parent c33f4d281d
commit 48cbb3758c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,8 +28,10 @@ Under the **Logging Preferences** header:
Under the **Realtime Web Upload** header: Under the **Realtime Web Upload** header:
- Check **Upload to web-server**. - 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 `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/).
- Enter an email address in **User Email Address**. - 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. - Optionally set the **Web Logging Interval**. The 2-second default may quickly fill up the Home Assistant history database.
### Configuration ### Configuration
@ -50,7 +52,7 @@ name:
default: vehicle default: vehicle
type: string type: string
email: 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 required: true
type: string type: string
{% endconfiguration %} {% endconfiguration %}