Skip to content
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

Bi-Directional power measurement. Code cleanup and bug changes #1211

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

2Fblob
Copy link

@2Fblob 2Fblob commented May 5, 2024

Bi-Directional power measurement. Code cleanup and bug changes

2Fblob added 15 commits May 5, 2024 13:04
Added variable to print generation for bi-directional energy metering devices
Update to avoid the possibility of overflow (only gather the energy value since last read, instead of since start)
Programmed minimun energy register to avoid noise
Added detection of energy direction (Consumption / Generation)
Added 'CMD_EVENT_CHANGE_CONSUMPTION_TOTAL' for bi-directional energy measurements
Added variable for OBK_GENERATION_TOTAL 
defined OBK__NUM_MEASUREMENTS = OBK_GENERATION_TOTAL,

For bi-directional power support
Support for bi-directional energy measurement. 
Some aditional debugging information shown directly on webpage
Added new variable to save energy generation on devices that support bi-directional measurements
Fixed energy today not working.
Assigned energy today to consumption counter.
Added new_cfg.h to resolve compilation errors on BL602
#include <new_cfg.h>
Included new_cfg.h to resolve compilation issues with BL602
Added control to remote plug
Added reporting of net energy
Revert back to public version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant