node-red-contrib-power-saver
node-red-contrib-power-saver copied to clipboard
Multiple nodes + manual override in HA
Hello and thanks for creating this! I'm using Powersaver node for controlling both water heater and a heat pump/inverter.
I've set up the node for the heat pump by splitting each day into 5 "time zones" and using a Lowest Price node for each time zone, like:
- 00.00 - 06.00, On for 3 hpurs
- 06.00 - 10.00, On for 2 h
- 10.00 - 14.00, On for 2 h
- 14.00 - 18.00, On for 2 h
- 18.00 - 00.00, On for 3 h
However, the nodes seem to interfere with each other, so the heat pump doesn't always turn on when it is supposed to.
Maybe my setup is wrong?

The other question (or request) is for a possibility to manually edit an automated schedule, from within Home Assistant I guess. Like maybe have a switch for each hour of the day, that individually get set to on/off when the new price from Nordpool is fetched, and then you could change those switches manually if you'd want . Any thoughts about this?
And the visualization:

This looks like a timing issue: The ON/OFF commands might not arrive in the correct order. Example: What if the OFF-command from the 00-06 node arrives after the potential ON-command from the 06-08 node?
Also: There's no need to convert true/false to 1/0 before sending the schedule to HA (at least if all you need it for is an Apex chart. That's what the transform-option is for:
https://github.com/RomRider/apexcharts-card#transform-option
@ozziemannen See also my response here on how I handle output from multiple schedulers running in parallel.
Thanks! I'll give it a try.
You should try the new Schedule Merger node to merge all the Lowest Price schedules into one. Also take a look at the Fixed Schedule node.
You should try the new Schedule Merger node to merge all the Lowest Price schedules into one. Also take a look at the Fixed Schedule node.
Thanks! Seems to be working fine:)