Real-time Clock (clock)
The device keeps wall-clock time, used to timestamp sensor-history records and alarm events. It syncs automatically from the network on join (LoRaWAN DeviceTimeReq) and can also be set from a phone over NFC. The clock command reads and sets it over the developer shell (see Firmware Setup for opening the console).
| Command | Description |
|---|---|
clock get | Print the current RTC time. |
clock set <unix> | Set the RTC manually from a Unix timestamp. |
clock sync | Request a network time sync. |