-
Notifications
You must be signed in to change notification settings - Fork 2
Update to get network more stable (at startup and looping) #136
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
Conversation
dirixmjm
commented
Jan 13, 2024
- Push circle clock synchronisation into circle.py
- Change available/unavailable to info message making it easier to trace
- Add workaround to circle _last_log_address out of sync
- In logging self.mac => str(self.mac) otherwise sometimes we got a Python error
- Simplify synchronisation of PowerUpdate and EnergyCounters by changing calling structure _update_energy_today_now+
- Simplify history collection and network occupation on PlugWise startup by calculating missing addresses and calling off one address per PowerUpdate loop
- Calculate historal addresses based on know combination of address+timestamp+slot.
- Only call off PowerUpdate if NodePing was successful.
- temporary patchwork to keep sequence_id synced*
- Bump beta version
- Needs some more testing, but seems stable for now.
- The patchwork is not a final solution, but in favour of continuing work on the asnyc version, this will have to do for now.
add workaround to circle _last_log_address out of sync In logging self.mac => str(self.mac) otherwise sometimes we got a Python error Simplify synchronisation of PowerUpdate and EnergyCounters by changing calling structure _update_energy_today_now Simplify history collection and network occupation on PlugWise startup by calculating missing addresses and calling off one address per PowerUpdate loop Calculate historal addresses based on know combination of address+timestamp+slot. Only call off PowerUpdate if NodePing was successful. Bump beta version
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #136 +/- ##
==========================================
+ Coverage 34.80% 35.25% +0.44%
==========================================
Files 21 21
Lines 2428 2400 -28
==========================================
+ Hits 845 846 +1
+ Misses 1583 1554 -29 ☔ View full report in Codecov by Sentry. |
|
bouwew
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, let's try this 👍
