Userguide
7
After installing the software, you can address the watchdog with the command "wdt". The watchdog will
respond with a list of available commands. Any command send to the watchdog will reload the
watchdog timer.
wdt -r[eload]: reload watchdog timer, prevent Raspberry power cycle.
wdt - d[efault]: set the default watchdog timeout (seconds). The watchdog loads this value after
a power cycle. This value needs to be long enough for the boot process to complete.
wdt - p[eriod]: set the current watchdog period (seconds). Raspberry must address the
watchdog faster than this value to prevent a power cycle. The period will be overwritten after a
Raspberry power cycle with the default value.
wdt -c[clear]: clear the number of power cycles performed by the watchdog.
wdt -off[interval]: set the time the watchdog will keep the Raspberry power off (seconds). The
default value is 10 seconds. After each power cycle, the off interval is reset to 10 seconds. Set this
parameter to a large value to power down Raspberry Pi for a specific time interval.
wdt -g[et] d[efault]: get watchdog default parameter.
wdt -g[et] p[eriod]: get the watchdog period parameter.
wdt -g[et] r[esets]: get the number of power cycles performed by the watchdog.
wdt -g[et] v[in]: get the input voltage (mV).
wdt -g[et] off[interval]: get the current off interval (seconds).
wdt -g[et] vr[asp]: get the voltage applied to Raspberry Pi (mV).
wdt -g[et] vb[at]: get the battery voltage (mV).
wdt -g[et] c[harge]: read the battery charging status (0=off, 1=charged, 2=charging, 3=fault).
wdt -g[et] t[emp]: get the watchdog processor temperature.