Please be aware that this is a legacy version of the support site. If you have software version 3.1.30 or higher go to MODERN Home

(Classic) Light schedule

Define actions based on pre-defined schedules using the Light scheduler node. This functionality is useful when events on the site are recurrent e.g. workday in the office from 9 AM to 5 PM.

Flow

[{"id":"a8e88fabb382b989","type":"light-scheduler","z":"a4a230cc1709cfb6","settings":"b17a207d2a6309f3","events":"[{\"start\":{\"dow\":3,\"mod\":455},\"end\":{\"dow\":3,\"mod\":805}},{\"start\":{\"dow\":4,\"mod\":455},\"end\":{\"dow\":4,\"mod\":805}},{\"start\":{\"dow\":5,\"mod\":455},\"end\":{\"dow\":5,\"mod\":805}},{\"start\":{\"dow\":1,\"mod\":455},\"end\":{\"dow\":1,\"mod\":805}},{\"start\":{\"dow\":6,\"mod\":455},\"end\":{\"dow\":6,\"mod\":805}},{\"start\":{\"dow\":2,\"mod\":455},\"end\":{\"dow\":2,\"mod\":805}}]","topic":"","name":"","onPayload":"100","onPayloadType":"num","offPayload":"0","offPayloadType":"num","onlyWhenDark":false,"scheduleRndMax":"","sunElevationThreshold":6,"sunShowElevationInStatus":false,"outputfreq":"output.statechange.startup","x":500,"y":400,"wires":[["ae856ada9407eb5a"]]},{"id":"ae856ada9407eb5a","type":"vertex action","z":"a4a230cc1709cfb6","name":"","typeButton":"directv","bPayload":{"action":"setbrightness","group":"95c5b32707068e426c23abc3506faaaa","param":0,"priority":"254"},"bState":"","defaultpriority":true,"x":830,"y":400,"wires":[["c80dcab05580ca8d"]]},{"id":"c80dcab05580ca8d","type":"vertex cluster","z":"a4a230cc1709cfb6","rate":90,"x":1110,"y":400,"wires":[]},{"id":"bb4dc71145d97f52","type":"comment","z":"a4a230cc1709cfb6","name":"Setting your shedule","info":"","x":510,"y":360,"wires":[]},{"id":"9804f2ea10567ae1","type":"comment","z":"a4a230cc1709cfb6","name":"Direct value","info":"","x":830,"y":360,"wires":[]},{"id":"b17a207d2a6309f3","type":"light-scheduler-settings","name":"test","latitude":"50.049272","longitude":"19.957367"}]

Instructions

  1. Find the following nodes in the palette on the left side of the Node-RED:

  • Light Scheduler

  • vertex action

  • vertex cluster

2. Drag the nodes and drop them onto the workspace.

3. Go to the Light Scheduler node, in the section Globals, select the icon with a pen.

4. Set the name, longitude and latitude of your investment/building.

5. In the calendar, click on Monday’s 8 AM. Then you can expand the bar by dragging it down. In this way, you set time schedule, for example from 8 AM to 1 PM. In the Output section, mark fields as shown below.

6. Go to the vertex action node and choose direct value mode with action set brightness (scale percent).

7. Link all the nodes and select the Deploy button.