switch.sh
Tue Jan 21 14:25:39 CET 2025
QUERY_STRING: shelly=shelly-41&id=0&generation=1&action=status&postAction=html
shelly: shelly-41
action: status
generation: 1
id: 0
postAction: html
shType: SHDM-2

http://192.168.12.141/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.141/status
  "wifi_sta": {
    "connected": true,
    "ssid": "viehai",
    "ip": "192.168.12.141",
    "rssi": -44
  },
  "cloud": {
    "enabled": false,
    "connected": false
  },
  "mqtt": {
    "connected": true
  },
  "time": "14:25",
  "unixtime": 1737465940,
  "serial": 1,
  "has_update": false,
  "mac": "349454723B21",
  "cfg_changed_cnt": 0,
  "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": 1737469540,
      "counters": [
        0,
        0,
        0
      ],
      "total": 0
    }
  ],
  "inputs": [
    {
      "input": 0,
      "event": "",
      "event_cnt": 0
    },
    {
      "input": 0,
      "event": "",
      "event_cnt": 0
    }
  ],
  "tmp": {
    "tC": 37.44,
    "tF": 99.4,
    "is_valid": true
  },
  "calibrated": true,
  "calib_progress": 0,
  "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": 36900,
  "fs_size": 233681,
  "fs_free": 118221,
  "uptime": 5266577