Hi,
I am real beginner - my absolute 1st try is, to indicate the battery status of 2 mobile devices…
I am running Hassio 2.12 on a rasperry.
I have now done it to indicate 1 phone battery information via “Mosquitto broker” addon and owntracks app.
Now I thought I just copy past the block in the configuration file:
sensor:
- platform: mqtt
state_topic: “owntracks/Sensor/lg6”
name: “Batterie_hdy1”
unit_of_measurement: “%”
value_template: ‘{{ value_json.batt }}’
device_class: batterysensor:
- platform: mqtt
state_topic: “owntracks/Sensor/hw6”
name: “Batterie_hdy2”
unit_of_measurement: “%”
value_template: ‘{{ value_json.batt }}’
device_class: battery
This seems not to work.
Both log in via same user “Sensor”
Can I use the same user/password ?
Any hints what to change?
Regards,
Jörg
Hassio