@jbudd showed you how to get the day of the week using getDate() (value 0-6, sun to sat). here
You can use that outptut in a msg property, then use a switch node to direct, where rules would be -
Property would be value you save the 0-6 in
Rule 1 == (number) 0
Rule 2 == (number) 1
etc.
E1cid
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Switch Node where cond. with more values | 5 | 277 | 2 November 2020 | |
| Switch Node with time | 33 | 11869 | 17 November 2018 | |
| Inputing data in to different gauges on for each day of the week | 8 | 154 | 5 October 2024 | |
| Time Range for the weekend | 12 | 1840 | 11 February 2022 | |
| Payload to trigger a day | 1 | 201 | 28 September 2021 |