Hi
I have raspberry pi 4 and I use it for home automation
Raspberry pi power supply connected to power bank via Type-C
I need to definitely detect blackout
Can I use GPIO pins (2 and 4) to measure input voltage (5V), throw its value to home assistant considering that raspberry is getting power via usual type-c port ?
I have raspberry pi 4 and I use it for home automation
Raspberry pi power supply connected to power bank via Type-C
I need to definitely detect blackout
Can I use GPIO pins (2 and 4) to measure input voltage (5V), throw its value to home assistant considering that raspberry is getting power via usual type-c port ?
Statistics: Posted by ecp — Mon Jul 29, 2024 2:34 pm