Commit 8f8f29e
committed
Push circle clock synchronisation into circle.py
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 version1 parent 141df2d commit 8f8f29e
3 files changed
Lines changed: 172 additions & 264 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
601 | | - | |
602 | | - | |
603 | 601 | | |
604 | 602 | | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | 603 | | |
609 | 604 | | |
610 | 605 | | |
611 | 606 | | |
612 | 607 | | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
613 | 611 | | |
614 | 612 | | |
615 | 613 | | |
616 | 614 | | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | 615 | | |
626 | 616 | | |
627 | 617 | | |
| |||
0 commit comments