Hi,
I bought a couple of Shelly H&T devices to monitor the temperature in different parts of my house.
The built in fw support MQTT so I chose to use this instead of the app to connect to HA.
This is my first contact with MQTT but installing mosquitto through hassio was easy. Once setup I found a post here on the forum from elRadix that showed the config/topics to add.
At first I didn’t get any values in HA, just said unknown. This was late last night, in the morning now when I checked I do get values reported in HA but the mosquitto log is filled with these errors:
1552128272: New connection from 192.168.0.51 on port 1883.
1552128272: New client connected from 192.168.0.51 as shellyht-58FCBD (c1, k60, u’xxx’).
1552128288: Socket error on client shellyht-58FCBD, disconnecting.
Should I get these errors every time the devices wakes up and reports its values?
Mosquitto config look like this:
{
“log_level”: “info”,
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”,
“web”: {
“enabled”: true,
“ssl”: false
},
“broker”: {
“enabled”: true,
“enable_ws”: true,
“enable_mqtt”: true,
“enable_ws_ssl”: false,
“enable_mqtt_ssl”: false,
“allow_anonymous”: false
},
“mqttusers”: [
{
“username”: “xxx”,
“password”: “xxx”,
“readonly”: false,
“topics”: [
“#”
]
}
]
}
The Shelly H&T devices has the following settings: