Counting sump pump cycles

I’m still running that code. It’s running on the ESP32 itself. Here’s the whole build if you’re interested:
https://community.home-assistant.io/t/monitor-for-sump-pump-with-battery-backup/

edit: this is the code I’m using, with the specific code highlighted:

1 Like