node-red-contrib-power-saver
node-red-contrib-power-saver copied to clipboard
Feature request: On / Off (Away) / Auto functionality for the schedulers?
In most cases where it's nice to use these schedulers, I also have the need to sometimes manually override the automatic scheduler. Examples:
- If I'm on vacation, I want the water boiler to be off and heating setpoints to be set to some low temperature.
- If I use a lot of hotwater (filling a bathtub, etc.), and need more as soon as possible, I want the water boiler to just be "On" for a while, no matter what the electricity price is.
Currently, I have implemented such logic by using an input_selector in HA, and writing to / checking a flow-variable to figure out what mode we're in. But I think it would be much more elegant (and easier for beginners) if this type of logic could be built right into the schedulers themselves. The mode could be received as a dynamic config, and the behaviour could be:
Mode "On":
- best-save and lowest-price just outputs "On"
- heat-capacitor outputs the constant value of the fixed setpoint
Mode "Off" (or "Away"):
- best-save and lowest-price just outputs "Off"
- heat-capacitor outputs a constant away-setpoint-value (to prevent freezing)
Mode "Auto":
- As today for all schedulers.
What do you think?
This is pretty much exactly what I have been thinking myself, and it is on my list :-)
I'm not a Javascript developer, but I cloned the repository yesterday and got it running in Node-RED via the debugger in VS Code 😊
I've been asking for many new features, so I'll have a look and see if I can contribute with some PRs myself... 😉
PRs are welcome :-) It may be a good idea to start by describing and discussing the feature before coding it. A github issue is a good place to do this. Alternatively FB Messenger.
I tried contacting you on FB messenger.
If you sent me anything important on FB Messenger before I contacted you, you need to resend it, as I didn't get anything.
Take a look at the new override function in version 4.1. If it solves your need, please close the issue.