Skip to content
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

Control option to adjust setpoint relative to default #161

Open
mnblonsky opened this issue Dec 12, 2024 · 0 comments
Open

Control option to adjust setpoint relative to default #161

mnblonsky opened this issue Dec 12, 2024 · 0 comments

Comments

@mnblonsky
Copy link
Collaborator

Right now it's easy to control HVAC and WH setpoints to an absolute value, e.g.:

wh.update({"Setpoint": 50})

It's a lot harder to control to a relative value (relative to the default). I think this is the best way to do it now (this varies slightly if the setpoint is defaulted or if it's specified in the schedule):

t = wh.current_time
setpoint = wh.schedule[t, "Water Heating Setpoint (C)"]
wh.update({"Setpoint": setpoint - 5})

Maybe it's worth adding a new control option so that we can do this in 1 line? Maybe "Setpoint Change" or something like that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant