node-red-contrib-power-saver
Version:
A module for Node-RED that you can use to turn on and off a switch based on power prices
30 lines (29 loc) • 1.03 kB
JSON
{
"schedule": [
{ "time": "2021-10-11T00:00:00.000+02:00", "value": false, "countMinutes": 660 },
{ "time": "2021-10-11T11:00:00.000+02:00", "value": true, "countMinutes": 240 },
{ "time": "2021-10-11T15:00:00.000+02:00", "value": false, "countMinutes": 1260 },
{ "time": "2021-10-12T12:00:00.000+02:00", "value": true, "countMinutes": 240 },
{ "time": "2021-10-12T16:00:00.000+02:00", "value": false, "countMinutes": 480 },
{ "time": "2021-10-13T00:00:00.000+02:00", "value": true, "countMinutes": null }
],
"config": {
"hasChanged": false,
"contextStorage": "default",
"doNotSplit": true,
"fromHour": "10",
"fromMinute": 0,
"minutesOn": 240,
"maxPrice": null,
"outputIfNoSchedule": true,
"outputOutsidePeriod": false,
"outputValueForOff": false,
"outputValueForOfftype": "bool",
"outputValueForOn": true,
"outputValueForOntype": "bool",
"override": "auto",
"sendCurrentValueWhenRescheduling": true,
"toHour": "20",
"toMinute": 0
}
}