-
Hello. First of all I want to thank you for this great library. I am using it here https://github.com/kennywest/mkrwifi to connect my mkrwifi arduino board with home assistant. Every now and then (I have a status led for this), I can see the board has lost the connection with the MQTT broker.
I am not a C/C++ programmer so I was wondering if someone could share some code to let the HAMqtt reconnect. Many thanks in advance and thank you again for all the great work you put in this library. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi all. Did some further investigation in the HA integration and it seems the WiFi connection was the culprit. I implemented something similar to what is described here: https://forum.arduino.cc/t/arduino-uno-wifi-rev-2-wifinina-restart-after-network-connection-loss/576092 |
Beta Was this translation helpful? Give feedback.
Hi all.
Did some further investigation in the HA integration and it seems the WiFi connection was the culprit. I implemented something similar to what is described here: https://forum.arduino.cc/t/arduino-uno-wifi-rev-2-wifinina-restart-after-network-connection-loss/576092
and now everything works.