2.0.2 • Published 1 year ago
node-red-contrib-redplc-ntptime v2.0.2
node-red-contrib-redplc-ntptime
Node Features
- Reads time from NTP server and stores in variable as number array
- Update on cycle time interval
- Input payload changes ntp-server name
!! Warning !!
A very quick query of the NTP server can lead to blocking of the IP.
Install
Install with Node-Red Palette Manager or npm command:
npm install node-red-contrib-redplc-ntptime
Time/Date Elements (Variable IA):
Element | Value | Array-Index |
---|---|---|
Seconds | 0 .. 59 | 0 |
Minutes | 0 .. 59 | 1 |
Hours | 0 .. 12/23 | 2 |
AM/PM | 0=AM, 1=PM | 3 |
Weekday | 0 .. 7, 0=Sunday | 4 |
Day | 1 .. 31 | 5 |
Month | 1 .. 12 | 6 |
Year | YYYY | 7 |