forked from tbnobody/OpenDTU
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DPL: consider the system stable when reusing the old limit
a new status is needed to communicate that no update was sent to the inverter because its power limit is still valid. in this case, calculating a new power limit is delayed by an exponentially increasing backoff. the maximum backoff time is ~1s, which is still plenty fast. the backoff is actually necessary for another reason: at least currently, a lot of debug messages are printed to the console. printing all that information in every DPL loop() is too much.
- Loading branch information
1 parent
461fce8
commit 9aeb158
Showing
2 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters