Skip to content

Core Config

Configures system‑level behaviour such as data update intervals, USB state, and communication timeouts.

Key path: devcfg.core

{
"devcfg": {
"core": {
"update_period_mins": 10,
"usb_enabled": true,
"app_timeout_secs": 30
}
}
}
  • Type: number
  • Default: 0 (periodic updates disabled)

Sets how often (in minutes) the device automatically sends its devdata values. If set to 0, the device only sends data on state change or when polled with a null request.

{ "devcfg": { "core": { "update_period_mins": 10 } } }
  • Type: boolean
  • Default: true

When true, the device contacts the IES (Infrafon Entity Server) via HTTP each time charging starts or stops, to check for allocation / return transitions.

{ "devcfg": { "core": { "iescheck": false } } }
  • Type: boolean
  • Default: false

Enables or disables the USB file‑system interface. Changes take effect only after the next reboot. Holding the BLUE button during boot toggles the current value.

{ "devcfg": { "core": { "usb_enabled": true } } }
  • Type: number
  • Default: 0 (disabled)

Timeout in seconds for detecting loss of communication with the backend. When no MQTT messages are received within this period, the device sets devdata.core.comm_ok to false. If the timeout is 0, the feature is disabled.

{ "devcfg": { "core": { "app_timeout_secs": 60 } } }