Beiträge von Winni66

    Same Situation

    Code
    {"isok":true,"data":{"devices_status":{"60a42399349e":{"fw_info":{"device":"shellymotionsensor-60A42399349E","fw":"20220811-152232\/v2.1.8@5afc928c"},"has_update":false,"charger":false,"ps_mode":0,"time":"13:32","lux":{"value":167,"illumination":"twilight","is_valid":true},"update":{"status":"unknown","has_update":false,"new_version":"20220811-152232\/v2.1.8@5afc928c","old_version":"20220811-152232\/v2.1.8@5afc928c","beta_version":null},"cfg_changed_cnt":0,"fs_size":65536,"fs_free":58932,"sensor":{"vibration":false,"motion":true,"timestamp":1691753575,"active":true,"is_valid":true},"unixtime":1691753576,"serial":447,"ram_total":97280,"getinfo":{"fw_info":{"device":"shellymotionsensor-60A42399349E","fw":"20220811-152232\/v2.1.8@5afc928c"}},"wifi_sta":{"connected":true,"ssid":"WLAN-MWHOME2","ip":"192.168.1.130","rssi":-58},"bat":{"value":33,"voltage":3.417},"_updated":"2023-08-11 11:32:58","cloud":{"enabled":true,"connected":true},"mac":"60A42399349E","mqtt":{"connected":false},"uptime":358148,"dbg_flags":0,"actions_stats":{"skipped":0},"sleep_time":0,"ram_free":22648},"349454794e74":{"has_update":false,"time":"04:22","update":{"status":"unknown","has_update":false,"new_version":"","old_version":"20230503-100249\/v1.13.0-g9aed950"},"cfg_changed_cnt":0,"flood":false,"fs_size":233681,"act_reasons":["periodic"],"fs_free":145580,"unixtime":1691720553,"rain_sensor":false,"serial":2,"ram_total":52400,"tmp":{"value":20.88,"units":"C","tC":20.88,"tF":69.57,"is_valid":true},"getinfo":{"fw_info":{"device":"shellyflood-349454794E74","fw":"20230503-100249\/v1.13.0-g9aed950"}},"wifi_sta":{"connected":true,"ssid":"HACKERBOX-CAM","ip":"192.168.3.30","rssi":-73},"bat":{"value":100,"voltage":3.01},"_updated":"2023-08-11 02:22:32","sensor_error":0,"cloud":{"enabled":true,"connected":true},"mac":"3.49454794E+82","mqtt":{"connected":false},"uptime":15,"actions_stats":{"skipped":0},"ram_free":41700,"is_valid":true,"_sleeping":true}},"pending_notifications":{}}}

    Hello SebMai,

    I do a request in php on https://shelly-26-eu.shelly.cloud/device/Status&…id=349454794e74.

    I'm using file_get_contents().

    Answer looks like this:
    {"isok":true,"data":{"online":true,"device_status":{"has_update":false,"wifi_sta":{"connected":true,"ssid":"HACKERBOX-CAM","ip":"192.168.3.30","rssi":-77},"bat":{"value":100,"voltage":2.99},"_updated":"2023-08-10 03:26:15","time":"05:26","sensor_error":0,"update":{"status":"unknown","has_update":false,"new_version":"","old_version":"20230503-100249\/v1.13.0-g9aed950"},"cfg_changed_cnt":0,"cloud":{"enabled":true,"connected":true},"flood":false,"mac":3.49454794e+82,"uptime":15,"mqtt":{"connected":false},"fs_size":233681,"fs_free":145580,"act_reasons":["periodic"],"unixtime":1691637975,"actions_stats":{"skipped":0},"rain_sensor":false,"ram_free":41692,"serial":2,"ram_total":52400,"is_valid":true,"getinfo":{"fw_info":{"device":"shellyflood-349454794E74","fw":"20230503-100249\/v1.13.0-g9aed950"}},"tmp":{"value":20.88,"units":"C","tC":20.88,"tF":69.57,"is_valid":true},"_sleeping":true}}}
    It's the same when I run the requst in a browser. For sure you have to test with a MAC address like mine, only digits at the beginning and E for exponent inside ;-)

    best regards