• Device state
    • Path: /state

    • data
      • format: json
      • fields:
        • hardware_ok: boolean, true: if the hardware is working (read-only)
        • hardware_failure_reason: nullable string, if hardware_ok is false, it tells what went wrong (read-only)
        • hardware_failure_time: nullable unsigned integer (epoch), e.g.: 1344175072 (read-only)
        • uptime: seconds as unsigned integer, e.g.: 13472 (read-only)
        • daemon_revision: string (read-only)
        • pic_firmware_version: nullable string (read-only),
        • hardware_version: nullable string (read-only),
        • software_version: nullable string (read-only),
    • Methods:
      • GET: for access
    • Example:

      {
      "hardware_ok": true,
      "hardware_failure_reason": null,
      "hardware_failure_time": null,
      "uptime": 605371,
      "daemon_revision": "1",
      "pic_firmware_version": "7",
      "hardware_version": "1",
      "software_version": "1.4"
      }

      Back to index