Hi, I am trying to integrate shelly H&T sensor with mqtt.
In the settings > system > logs > mosquitto I see the following:
2023-11-21 17:31:46: New client connected from 192.168.1.12:59624 as ShellyTemp1 (p2, c1, k60, u'mqtt_user').
2023-11-21 17:31:48: New connection from 172.30.32.2:47444 on port 1883.
2023-11-21 17:31:48: Client <unknown> closed its connection.
2023-11-21 17:32:54: Saving in-memory database to /data//mosquitto.db.
2023-11-21 17:33:21: Client ShellyTemp1 has exceeded timeout, disconnecting.
2023-11-21 17:33:48: New connection from 172.30.32.2:59546 on port 1883.
2023-11-21 17:33:48: Client <unknown> closed its connection.
in my configuration.yaml I have the following
mqtt:
sensor:
- name: "Temperatura"
state_topic: "shellies/ShellyTemp1/sensor/temperature"
value_template: "{{ value }}"
unit_of_measurement: "°C"
device_class: "temperature"
icon: mdi:thermometer"
- name: "Umidità relativa"
state_topic: "shellies/ShellyTemp1/sensor/humidity"
value_template: "{{ value }}"
unit_of_measurement: "%"
device_class: "humidity"
icon: mdi:water-percent
- name: "Batteria"
state_topic: "shellies/ShellyTemp1/sensor/battery"
value_template: "{{ value }}"
unit_of_measurement: "%"
device_class: "battery"
icon: mdi:battery
howeverr in the GUI all the sensors are stuck to “unknown” as you can see in the screenshot
I am not sure how to debug this, any suggestion?
Thanks!