Skip to main content

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).

CommandDescription
clock getPrint the current RTC time.
clock set <unix>Set the RTC manually from a Unix timestamp.
clock syncRequest a network time sync.