Add a flag to AllowNegativeRates only during the day #1707
Replies: 2 comments
-
I think this better should be solved in a homeautomation system! Eg. Homeassistant has sensors which allows to do actions based on the current sunrise/fall |
Beta Was this translation helpful? Give feedback.
-
Hello @caco3 |
Beta Was this translation helpful? Give feedback.
-
The Feature
In the power metering measurement usecase, I would like to limit the negative rates when it's needed.
For instance between sunrise and sunset ( + add an offset of xx min ) where solar panels injection is possible.
Then I will not get any negative rate and limit the possibility of errors.
I see an code example that may help:
https://github.com/Aircoookie/WLED/blob/main/wled00/ntp.cpp
Beta Was this translation helpful? Give feedback.
All reactions