rtwl
Dauer-User
- 1.519
ich möchte von einem Shelly den aktuellen Zustand abrufen. Hab es auch geschafft, nur wollte ich fragen, ob das auch eleganter geht? Ziel ist es den im Spoiler rot markierten Wert in eine Variable zu setzen.
{"wifi_sta":{"connected":true,"ssid":"Wlanzuhause","ip":"192.168.0.60","rssi":-63},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"19:49","unixtime":1707158953,"serial":325,"has_update":true,"mac":"E89F6M867F1G","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.00,"is_valid":true}],"inputs":[{"input":1,"event":"","event_cnt":0}],"ext_sensors":{},"ext_temperature":{},"ext_humidity":{},"update":{"status":"pending","has_update":true,"new_version":"20230913-112003/v1.14.0-gcb84623","old_version":"20221027-091427/v1.12.1-ga9117d3","beta_version":"20231107-162940/v1.14.1-rc1-g0617c15"},"ram_total":51688,"ram_free":39080,"fs_size":233681,"fs_free":150851,"uptime":4405756}