MQTT: fix namespace clash (revert #26999)
Some checks failed
Some checks failed
This commit is contained in:
parent
c5631123c3
commit
44dcd03888
2 changed files with 13 additions and 15 deletions
|
|
@ -8,7 +8,6 @@ requirements:
|
||||||
en: Required MQTT broker configuration and a SAIC/MQTT Gateway (https://github.com/SAIC-iSmart-API/saic-python-mqtt-gateway or https://github.com/SAIC-iSmart-API/saic-java-client)
|
en: Required MQTT broker configuration and a SAIC/MQTT Gateway (https://github.com/SAIC-iSmart-API/saic-python-mqtt-gateway or https://github.com/SAIC-iSmart-API/saic-java-client)
|
||||||
de: Voraussetzung ist ein konfigurierter MQTT Broker und ein SAIC/MQTT Gateway (https://github.com/SAIC-iSmart-API/saic-python-mqtt-gateway oder https://github.com/SAIC-iSmart-API/saic-java-client)
|
de: Voraussetzung ist ein konfigurierter MQTT Broker und ein SAIC/MQTT Gateway (https://github.com/SAIC-iSmart-API/saic-python-mqtt-gateway oder https://github.com/SAIC-iSmart-API/saic-java-client)
|
||||||
params:
|
params:
|
||||||
- preset: mqtt
|
|
||||||
- name: user
|
- name: user
|
||||||
required: true
|
required: true
|
||||||
- name: vin
|
- name: vin
|
||||||
|
|
@ -21,22 +20,22 @@ render: |
|
||||||
{{- include "vehicle-common" . }}
|
{{- include "vehicle-common" . }}
|
||||||
soc: # battery soc (%)
|
soc: # battery soc (%)
|
||||||
source: mqtt
|
source: mqtt
|
||||||
{{- include "mqtt" . | indent 2 }}
|
|
||||||
topic: saic/{{ .user }}/vehicles/{{ .vin }}/drivetrain/soc
|
topic: saic/{{ .user }}/vehicles/{{ .vin }}/drivetrain/soc
|
||||||
|
timeout: {{ .timeout }}
|
||||||
status:
|
status:
|
||||||
source: combined
|
source: combined
|
||||||
plugged:
|
plugged:
|
||||||
source: mqtt
|
source: mqtt
|
||||||
{{- include "mqtt" . | indent 4 }}
|
|
||||||
topic: saic/{{ .user }}/vehicles/{{ .vin }}/drivetrain/chargerConnected
|
topic: saic/{{ .user }}/vehicles/{{ .vin }}/drivetrain/chargerConnected
|
||||||
|
timeout: {{ .timeout }}
|
||||||
charging:
|
charging:
|
||||||
source: mqtt
|
source: mqtt
|
||||||
{{- include "mqtt" . | indent 4 }}
|
|
||||||
topic: saic/{{ .user }}/vehicles/{{ .vin }}/drivetrain/charging
|
topic: saic/{{ .user }}/vehicles/{{ .vin }}/drivetrain/charging
|
||||||
|
timeout: {{ .timeout }}
|
||||||
range:
|
range:
|
||||||
source: mqtt
|
source: mqtt
|
||||||
{{- include "mqtt" . | indent 2 }}
|
|
||||||
topic: saic/{{ .user }}/vehicles/{{ .vin }}/drivetrain/range
|
topic: saic/{{ .user }}/vehicles/{{ .vin }}/drivetrain/range
|
||||||
|
timeout: {{ .timeout }}
|
||||||
climater:
|
climater:
|
||||||
source: go
|
source: go
|
||||||
script: |
|
script: |
|
||||||
|
|
@ -46,12 +45,12 @@ render: |
|
||||||
type: string
|
type: string
|
||||||
config:
|
config:
|
||||||
source: mqtt
|
source: mqtt
|
||||||
{{- include "mqtt" . | indent 8 }}
|
|
||||||
topic: saic/{{ .user }}/vehicles/{{ .vin }}/climate/remoteClimateState
|
topic: saic/{{ .user }}/vehicles/{{ .vin }}/climate/remoteClimateState
|
||||||
|
timeout: {{ .timeout }}
|
||||||
odometer:
|
odometer:
|
||||||
source: mqtt
|
source: mqtt
|
||||||
{{- include "mqtt" . | indent 2 }}
|
|
||||||
topic: saic/{{ .user }}/vehicles/{{ .vin }}/drivetrain/mileage
|
topic: saic/{{ .user }}/vehicles/{{ .vin }}/drivetrain/mileage
|
||||||
|
timeout: {{ .timeout }}
|
||||||
wakeup:
|
wakeup:
|
||||||
source: go
|
source: go
|
||||||
script: |
|
script: |
|
||||||
|
|
@ -61,5 +60,5 @@ render: |
|
||||||
type: string
|
type: string
|
||||||
config:
|
config:
|
||||||
source: mqtt
|
source: mqtt
|
||||||
{{- include "mqtt" . | indent 8 }}
|
|
||||||
topic: saic/{{ .user }}/vehicles/{{ .vin }}/refresh/mode/set
|
topic: saic/{{ .user }}/vehicles/{{ .vin }}/refresh/mode/set
|
||||||
|
timeout: {{ .timeout }}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ requirements:
|
||||||
en: Open source Tesla data logger [github.com/adriankumpf/teslamate](https://github.com/adriankumpf/teslamate). MQTT broker required.
|
en: Open source Tesla data logger [github.com/adriankumpf/teslamate](https://github.com/adriankumpf/teslamate). MQTT broker required.
|
||||||
de: Open Source Tesla Datenlogger [github.com/adriankumpf/teslamate](https://github.com/adriankumpf/teslamate). Voraussetzung ist konfigurierter MQTT Broker.
|
de: Open Source Tesla Datenlogger [github.com/adriankumpf/teslamate](https://github.com/adriankumpf/teslamate). Voraussetzung ist konfigurierter MQTT Broker.
|
||||||
params:
|
params:
|
||||||
- preset: mqtt
|
|
||||||
- preset: vehicle-common
|
- preset: vehicle-common
|
||||||
- name: id
|
- name: id
|
||||||
description:
|
description:
|
||||||
|
|
@ -22,29 +21,29 @@ render: |
|
||||||
{{- include "vehicle-common" . }}
|
{{- include "vehicle-common" . }}
|
||||||
soc:
|
soc:
|
||||||
source: mqtt
|
source: mqtt
|
||||||
{{- include "mqtt" . | indent 2 }}
|
|
||||||
topic: teslamate/cars/{{ .id }}/battery_level
|
topic: teslamate/cars/{{ .id }}/battery_level
|
||||||
|
timeout: {{ .timeout }}
|
||||||
status:
|
status:
|
||||||
source: combined
|
source: combined
|
||||||
plugged:
|
plugged:
|
||||||
source: mqtt
|
source: mqtt
|
||||||
{{- include "mqtt" . | indent 4 }}
|
|
||||||
topic: teslamate/cars/{{ .id }}/plugged_in
|
topic: teslamate/cars/{{ .id }}/plugged_in
|
||||||
|
timeout: {{ .timeout }}
|
||||||
charging:
|
charging:
|
||||||
source: mqtt
|
source: mqtt
|
||||||
{{- include "mqtt" . | indent 4 }}
|
|
||||||
topic: teslamate/cars/{{ .id }}/charger_actual_current
|
topic: teslamate/cars/{{ .id }}/charger_actual_current
|
||||||
|
timeout: {{ .timeout }}
|
||||||
jq: . > 0
|
jq: . > 0
|
||||||
range:
|
range:
|
||||||
source: mqtt
|
source: mqtt
|
||||||
{{- include "mqtt" . | indent 2 }}
|
|
||||||
topic: teslamate/cars/{{ .id }}/rated_battery_range_km
|
topic: teslamate/cars/{{ .id }}/rated_battery_range_km
|
||||||
|
timeout: {{ .timeout }}
|
||||||
odometer:
|
odometer:
|
||||||
source: mqtt
|
source: mqtt
|
||||||
{{- include "mqtt" . | indent 2 }}
|
|
||||||
topic: teslamate/cars/{{ .id }}/odometer
|
topic: teslamate/cars/{{ .id }}/odometer
|
||||||
|
timeout: {{ .timeout }}
|
||||||
limitsoc:
|
limitsoc:
|
||||||
source: mqtt
|
source: mqtt
|
||||||
{{- include "mqtt" . | indent 2 }}
|
|
||||||
topic: teslamate/cars/{{ .id }}/charge_limit_soc
|
topic: teslamate/cars/{{ .id }}/charge_limit_soc
|
||||||
|
timeout: {{ .timeout }}
|
||||||
features: ["coarsecurrent"]
|
features: ["coarsecurrent"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue