Egyras / HeishaMon

Panasonic Aquarea air-water H, J, K and L series protocol decrypt
226 stars 114 forks source link

Constant MQTT disconnects #223

Closed trsqr closed 2 years ago

trsqr commented 2 years ago

I'm observing a constant flow of MQTT disconnects even if my WiFi connection is very good:

homeauto/aquarea/stats {"uptime":1712855986,"voltage":4.06,"free memory":78,"wifi":100,"mqtt reconnects":4871,"total reads":114210,"good reads":114210,"bad crc reads":0,"bad header reads":0,"too short reads":0,"too long reads":0,"timeout reads":0}
homeauto/aquarea/LWT Online
homeauto/aquarea/main/Heat_Energy_Production 5400
homeauto/aquarea/main/Discharge_Temp 34
homeauto/aquarea/LWT Offline
homeauto/aquarea/LWT Online
homeauto/aquarea/ip 192.168.99.174
homeauto/aquarea/stats {"uptime":1712870998,"voltage":4.05,"free memory":74,"wifi":100,"mqtt reconnects":4872,"total reads":114211,"good reads":114211,"bad crc reads":0,"bad header reads":0,"too short reads":0,"too long reads":0,"timeout reads":0}
homeauto/aquarea/LWT Online

Running Igor Ybema's HeishaMon.ino.d1-v2.1-iy-6.bin firmware. I also tried downgrading to HeishaMon.ino.d1-v1.0.bin firmware, but same result.

Any suggestion on where to start the troubleshooting? I actually have two heat pumps with HeishaMon both having the same issue.

If I connect manually to my MQTT broker with mosquitto_sub I don't have any issues with the connectivity breaking down.

trsqr commented 2 years ago

And this was caused by two HeishaMons with the same hostname connecting to the MQTT broker.