-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add support to change demand control parameters #269
base: master
Are you sure you want to change the base?
Conversation
de86a12
to
fddae79
Compare
@Matze2 Please rebase after merge of the read PR |
Will do tonight. |
fddae79
to
3012752
Compare
Hi @Apollon77, as requested, I rebased this PR against master. Some notes on the implementation: Most of the code is copied from setACControlInfo and adjusted. Based on the minimal set_demand_control API (without program schedules support) the following fields must exist:
This means, the following parameters can be changed with this PR:
|
3012752
to
5314e0f
Compare
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.
just a snmall thing ... wdyt?
... and round it to the nearest multiple of 5 for API call.
This PR is on top of #268.
It is already functional. I change the maxPower percentage change in my iobroker scripts.