switch.sh
Fri Nov 22 13:17:25 CET 2024
QUERY_STRING: shelly=shelly-09&id=0&generation=1&action=toggle&postAction=html
shelly: shelly-09
action: toggle
generation: 1
id: 0
postAction: html
shType: SHSW-L

http://192.168.12.109/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"
http://192.168.12.109/status
  "wifi_sta": {
    "connected": true,
    "ssid": "viehai",
    "ip": "192.168.12.109",
    "rssi": -71
  },
  "cloud": {
    "enabled": false,
    "connected": false
  },
  "mqtt": {
    "connected": true
  },
  "time": "13:17",
  "unixtime": 1732277846,
  "serial": 652,
  "has_update": false,
  "mac": "98CDAC2F688B",
  "cfg_changed_cnt": 1,
  "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": false,
      "timestamp": 1732281446,
      "counters": [
        0,
        0,
        0
      ],
      "total": 0
    }
  ],
  "inputs": [
    {
      "input": 0,
      "event": "",
      "event_cnt": 397
    },
    {
      "input": 0,
      "event": "",
      "event_cnt": 0
    }
  ],
  "temperature": 45.62,
  "overtemperature": false,
  "tmp": {
    "tC": 45.62,
    "tF": 114.12,
    "is_valid": true
  },
  "update": {
    "status": "idle",
    "has_update": false,
    "new_version": "20230913-112054/v1.14.0-gcb84623",
    "old_version": "20230913-112054/v1.14.0-gcb84623",
    "beta_version": "20231107-163031/v1.14.1-rc1-g0617c15"
  },
  "ram_total": 51912,
  "ram_free": 38828,
  "fs_size": 233681,
  "fs_free": 163150,
  "uptime": 15125681