Open clemente3905 opened 7 months ago
Just to complete: if I connect to arduino with laptop I can see via serial monitor that it is working as expected (wifi connected, analog read correctly performed, automatic action correctly performed). But it is offline in home assistant and will not come back online...
Did you check if the values arrive in the MQTT broker (e.g. with MQTT explorer)? If yes, the problem is on HA side.
Hi, I have a device that use an arduino to create a switch and 2 number sensor to home assistant.
After first connection everything was fine.
Then I had a power cutoff and when power come back to the arduino, home assistant was unable to see it available again.
How can I make this problem away?
Following is the code in arduino sketch (full code)