switch.sh
Thu Jan 9 17:15:07 CET 2025
QUERY_STRING: shelly=shelly-42&id=0&generation=1&action=status&postAction=html
shelly: shelly-42
action: status
generation: 1
id: 0
postAction: html
shType: SHDM-2

http://192.168.12.142/light/0
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0
http://192.168.12.142/status
  "wifi_sta": {
    "connected": true,
    "ssid": "viehai",
    "ip": "192.168.12.142",
    "rssi": -75
  },
  "cloud": {
    "enabled": false,
    "connected": false
  },
  "mqtt": {
    "connected": false
  },
  "time": "17:15",
  "unixtime": 1736439308,
  "serial": 990,
  "has_update": false,
  "mac": "34945471BCCF",
  "cfg_changed_cnt": 7,
  "actions_stats": {
    "skipped": 0
  },
  "lights": [
    {
      "ison": false,
      "source": "http",
      "has_timer": false,
      "timer_started": 0,
      "timer_duration": 0,
      "timer_remaining": 0,
      "mode": "white",
      "brightness": 50,
      "transition": 0
    }
  ],
  "meters": [
    {
      "power": 0,
      "overpower": 0,
      "is_valid": true,
      "timestamp": 1736442908,
      "counters": [
        0,
        0,
        0
      ],
      "total": 15120
    }
  ],
  "inputs": [
    {
      "input": 0,
      "event": "",
      "event_cnt": 50
    },
    {
      "input": 0,
      "event": "",
      "event_cnt": 0
    }
  ],
  "tmp": {
    "tC": 43.74,
    "tF": 110.74,
    "is_valid": true
  },
  "calibrated": true,
  "calib_progress": 100,
  "calib_status": 0,
  "calib_running": 0,
  "wire_mode": 1,
  "forced_neutral": false,
  "overtemperature": false,
  "loaderror": 0,
  "overpower": false,
  "debug": 0,
  "update": {
    "status": "idle",
    "has_update": false,
    "new_version": "20230913-114008/v1.14.0-gcb84623",
    "old_version": "20230913-114008/v1.14.0-gcb84623",
    "beta_version": "20231107-164738/v1.14.1-rc1-g0617c15"
  },
  "ram_total": 49672,
  "ram_free": 37260,
  "fs_size": 233681,
  "fs_free": 118472,
  "uptime": 16173461