-
Notifications
You must be signed in to change notification settings - Fork 9
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
USB energy refactor #124
USB energy refactor #124
Conversation
brefra
commented
Jan 20, 2022
- Improved timeout message handling based on response messages of USB-stick
- More frequent energy monitoring polling when Stick is idle
- Full rewrite of energy collection code. No dependency to fixed log interval. This should fix
- [BUG] Problems with Plugwise beta plugwise_usb-beta#5
- [BUG] Not all entities of a Circle seem to have valid values yet. plugwise_usb-beta#7
- Added ability to change energy log interval
- Better support for energy production #39
based on NodeResponse or NodeAckResponse messages
To support restructure of StickMessageController class
Don't rely on predicted seq_id but on actual response of stick
- move energy related code to energy.py - make energy not depended to fixed (hour) log interval - allow changing of log interval - make energy collection more flexible to use
Codecov Report
@@ Coverage Diff @@
## main plugwise/python-plugwise#124 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 6 6
Lines 2079 2057 -22
=========================================
- Hits 2079 2057 -22
Continue to review full report at Codecov.
|
Closing PR as it will eventually be succeeded by the full rewrite of the USB-stick into an async version in async_stick branch |