Open wmnl25 opened 6 years ago
Hey @wmnl25 , not sure if still needed, but this was fixed here: https://github.com/MQTTDevice/cbpi-mqttCompressor/commit/e7e8bde4485e2e4ca88e5e02ebf2f11ee365b3b8#diff-743b1adbf37db12e16e01ef62a6f7d72R21 (Important lines are 21-26, feel free to copy (only) them to your plugin, if you don't feel comfortable replacing the whole file). @Manuel83 Maybe this is something to consider merging into the "main" plugin repository as well? Resubscribe to sensor topics after reconnect? Thanks for the great software by the way!
It looks like the plugin is not reconnecting when the connection to the MQTT server was lost. The MQTT server I'm using is a home automation server on the local network. I experienced this after a power loss and after a regular reboot of the server. Actor remains in the state it was before the MQTT server reboot and the sensor does not update until craftbeerpi has been rebooted. Result: fermenter (fridge) was at 5 degrees while craftbeerpi reported the target temperature. I'm still testing the setup, so no beers were lost :).