switch.sh
Wed Dec 4 07:17:10 CET 2024
QUERY_STRING: shelly=shelly-23&id=0&generation=1&action=toggle&postAction=html
shelly: shelly-23
action: toggle
generation: 1
id: 0
postAction: html
shType: SHSW-1

http://192.168.12.123/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"
http://192.168.12.123/status
  "wifi_sta": {
    "connected": true,
    "ssid": "viehai",
    "ip": "192.168.12.123",
    "rssi": -68
  },
  "cloud": {
    "enabled": false,
    "connected": false
  },
  "mqtt": {
    "connected": true
  },
  "time": "07:17",
  "unixtime": 1733293031,
  "serial": 1,
  "has_update": false,
  "mac": "3083988C059D",
  "cfg_changed_cnt": 0,
  "actions_stats": {
    "skipped": 0
  },
  "relays": [
    {
      "ison": true,
      "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": 662
    }
  ],
  "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": 39700,
  "fs_size": 233681,
  "fs_free": 150098,
  "uptime": 16106999