esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
413 stars 26 forks source link

pzem-004t v3 (pzemac) timeout option #1694

Open paulreichart opened 2 years ago

paulreichart commented 2 years ago

When the PZEM-004T V3 loses AC power it stops responding to esphome due to it requiring AC power. It would be handy to have a timeout option that either zeros out all the sensor values or sets them to unavailable if the sensor does not respond.

This would be very useful to detect AC power failures without adding additional components. Especially when the ESP has its own power source.

SeByDocKy commented 2 years ago

There is an electronic hack for your problem : https://www.youtube.com/watch?v=qRsjsenvlJA