switch.sh
Tue Mar 25 13:22:40 CET 2025
QUERY_STRING: shelly=shelly-08&id=0&generation=1&action=toggle&postAction=html
shelly: shelly-08
action: toggle
generation: 1
id: 0
postAction: html
shType: SHSW-1

http://192.168.12.108/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"
http://192.168.12.108/status
  "wifi_sta": {
    "connected": true,
    "ssid": "viehai",
    "ip": "192.168.12.108",
    "rssi": -49
  },
  "cloud": {
    "enabled": false,
    "connected": false
  },
  "mqtt": {
    "connected": true
  },
  "time": "13:22",
  "unixtime": 1742905361,
  "serial": 1,
  "has_update": false,
  "mac": "8CAAB56203DF",
  "cfg_changed_cnt": 0,
  "actions_stats": {
    "skipped": 0
  },
  "relays": [
    {
      "ison": false,
      "has_timer": false,
      "timer_started": 0,
      "timer_duration": 0,
      "timer_remaining": 0,
      "source": "http"
    }
  ],
  "meters": [
    {
      "power": 0,
      "is_valid": true
    }
  ],
  "inputs": [
    {
      "input": 0,
      "event": "",
      "event_cnt": 0
    }
  ],
  "ext_sensors": {},
  "ext_temperature": {},
  "ext_humidity": {},
  "update": {
    "status": "idle",
    "has_update": false,
    "new_version": "20230913-112003/v1.14.0-gcb84623",
    "old_version": "20230913-112003/v1.14.0-gcb84623",
    "beta_version": "20231107-162940/v1.14.1-rc1-g0617c15"
  },
  "ram_total": 51688,
  "ram_free": 39780,
  "fs_size": 233681,
  "fs_free": 149345,
  "uptime": 25752975