node-red-contrib-bigtimer
Version:
The ultimate Node-Red Timer with dusk, dawn (and variations inc. sunrise, sunset, moonrise and moonset), months, days, manual override, schedule pause, random or fixed offsets, special days and much more. Using STOP now turns the output off.
240 lines • 5.25 kB
JSON
[
{
"id": "403d2aae837a4874",
"type": "tab",
"label": "bigtimer test",
"disabled": false,
"info": "",
"env": []
},
{
"id": "e0d69f6e49f8dfe8",
"type": "bigtimer",
"z": "403d2aae837a4874",
"outtopic": "mydevice",
"outpayload1": "1",
"outpayload2": "0",
"name": "Big Timer",
"comment": "",
"lat": 0,
"lon": 0,
"starttime": "120",
"endtime": "150",
"starttime2": 0,
"endtime2": 0,
"startoff": 0,
"endoff": 0,
"startoff2": 0,
"endoff2": 0,
"offs": 0,
"outtext1": "",
"outtext2": "",
"timeout": "1440",
"sun": true,
"mon": true,
"tue": true,
"wed": true,
"thu": true,
"fri": true,
"sat": true,
"jan": true,
"feb": true,
"mar": true,
"apr": true,
"may": true,
"jun": true,
"jul": true,
"aug": true,
"sep": true,
"oct": true,
"nov": true,
"dec": true,
"day1": 0,
"month1": 0,
"day2": 0,
"month2": 0,
"day3": 0,
"month3": 0,
"day4": 0,
"month4": 0,
"day5": 0,
"month5": 0,
"day6": 0,
"month6": 0,
"day7": 0,
"month7": 0,
"day8": 0,
"month8": 0,
"day9": 0,
"month9": 0,
"day10": 0,
"month10": 0,
"day11": 0,
"month11": 0,
"day12": 0,
"month12": 0,
"d1": 0,
"w1": 0,
"d2": 0,
"w2": 0,
"d3": 0,
"w3": 0,
"d4": 0,
"w4": 0,
"d5": 0,
"w5": 0,
"d6": 0,
"w6": 0,
"xday1": 0,
"xmonth1": 0,
"xday2": 0,
"xmonth2": 0,
"xday3": 0,
"xmonth3": 0,
"xday4": 0,
"xmonth4": 0,
"xday5": 0,
"xmonth5": 0,
"xday6": 0,
"xmonth6": 0,
"xday7": 0,
"xmonth7": 0,
"xday8": 0,
"xmonth8": 0,
"xday9": 0,
"xmonth9": 0,
"xday10": 0,
"xmonth10": 0,
"xday11": 0,
"xmonth11": 0,
"xday12": 0,
"xmonth12": 0,
"xd1": 0,
"xw1": 0,
"xd2": 0,
"xw2": 0,
"xd3": 0,
"xw3": 0,
"xd4": 0,
"xw4": 0,
"xd5": 0,
"xw5": 0,
"xd6": 0,
"xw6": 0,
"suspend": false,
"random": false,
"randon1": false,
"randoff1": false,
"randon2": false,
"randoff2": false,
"repeat": false,
"atstart": false,
"odd": false,
"even": false,
"x": 1520,
"y": 100,
"wires": [
[
"8d940836f54ffd0b"
],
[],
[]
]
},
{
"id": "33fe66595ed02387",
"type": "inject",
"z": "403d2aae837a4874",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "off",
"payloadType": "str",
"x": 1290,
"y": 100,
"wires": [
[
"e0d69f6e49f8dfe8"
]
]
},
{
"id": "8d940836f54ffd0b",
"type": "debug",
"z": "403d2aae837a4874",
"name": "debug 1",
"active": true,
"tosidebar": true,
"console": true,
"tostatus": true,
"complete": "true",
"targetType": "full",
"statusVal": "payload",
"statusType": "auto",
"x": 1710,
"y": 80,
"wires": []
},
{
"id": "25b843d6d46fde42",
"type": "inject",
"z": "403d2aae837a4874",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "auto",
"payloadType": "str",
"x": 1290,
"y": 180,
"wires": [
[
"e0d69f6e49f8dfe8"
]
]
},
{
"id": "5ba2c1a7eb6e0919",
"type": "inject",
"z": "403d2aae837a4874",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "on",
"payloadType": "str",
"x": 1290,
"y": 140,
"wires": [
[
"e0d69f6e49f8dfe8"
]
]
}
]