Skip to content

Time Config

Configures the device’s real‑time clock offset and time zone. The device does not use NTP; time must be set via MQTT using the devcfg.time parameters.

Key path: devcfg.time

{
"devcfg": {
"time": {
"deltaSecs": 3600,
"UTCSecs": 1718100000,
"tzOffsetMins": 120
}
}
}

Difference (in seconds) between the device’s internal uptime and UTC. Set automatically when you write UTCSecs; you normally don’t need to set this directly.

Configuration variables

  • Type: integer (seconds)
  • Default: none
{ "devcfg": { "time": { "deltaSecs": 7200 } } }

Current UTC time as a Unix timestamp (seconds since epoch). Writing this value recalculates deltaSecs and synchronises the device clock.

Configuration variables

  • Type: integer (Unix seconds)
  • Default: none
{ "devcfg": { "time": { "UTCSecs": 1718100000 } } }

Local timezone offset in minutes from UTC.

Configuration variables

  • Type: integer (minutes)
  • Default: 0
{ "devcfg": { "time": { "tzOffsetMins": -60 } } }

The devcfg.rtc section (NTP server) is not yet implemented.