@Leonardo_Del_Vecchio wrote:
Hello. I have my home assistant running in a raspberry pi connected to a cell phone battery. The battery works great for keeping the pi alive, but sometimes when the power outage is too long the home assistant is shut down incorrectly and the sd card is corrupted. I want to add a voltage sensor to the pi connected to the power cord and initiate an appropriate shut down if no power is detected. Any ideas?
Posts: 2
Participants: 2