-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Energy Meter - No Button to Reset Energy Readings #21
Comments
You can try this first. I think it is not enough. You should also reset the energy on the metering chip register.
|
Where / how can one access those registers 'on the chip'? Looking at your code, it appears to be the same operations as I've got (resetting the global), but just formatted a different way. |
Just got a moment to try the above code and whilst the log shows it triggered, it actually does nothing. Readings for Energy remain as they are (don't even momentarily change to zero and then back). |
@tarontop @athom-tech
Could you PLEASE add in a button that allows resetting ALL the Energy sensors back to 0 ?
All the usual methods I'm used to fail to work with the logs showing them reset, and then a second later the 'Energy_#_Internal' sensors then push their data back into the energy senors and restore the previous data that was wiped from them.
Try adding this and see for yourself.
LOGS:
Edit: Just even tried chaing the 'persist' Globals to 'restore_value: no'. Flashed it, hit the reset and the value STILL get restored.
The text was updated successfully, but these errors were encountered: