olehs / PZEM004T

Arduino communication library for Peacefair PZEM-004T Energy monitor
MIT License
225 stars 114 forks source link

Can Energy be set to Zero in software? #23

Closed pieman64 closed 7 years ago

pieman64 commented 7 years ago

I know the Energy can be set to zero with the key in the LCD display or pressing the reset button on the board but I wondered if there was also a software hack?

If the Pzem is used for remote monitoring there will be nobody around to reset the Energy when each electric bill arrives and is validated as OK.

I have sent a message to Peacefair but just wondered of anyone had found a hack?

pieman64 commented 7 years ago

Peacefair have replied and said there is no software hack to reset Energy, shame.

vortigont commented 7 years ago

I think this could be done with a help of one more optocoupler connected to the button and any mcu pin controlled via software.

olehs commented 7 years ago

@pieman64 I guess we can close the issue?

pieman64 commented 7 years ago

Yes @olehs ok to close.