Retrieve HTTP GET data
Posted: Saturday 16 October 2021 19:25
Hello
I'm using among others Shelly Door/2 device. In device setup there is room for an URL that will "Report as GET parameters to HTTP url".
The parameters are described in the documentation
https://shelly-api-docs.shelly.cloud/ge ... gs-actions
The device beeing in sleep mode, there is no way to send a request to the device. I have to let it send the URL when a wake up condition arises.
There is no way to pass value as we would normaly do and then trigger a custom event. There is no way to wake it up be sending a kind of wake up command.
Here below is an example of the HTTP GET when sending http://ip_of_shelly/status after wake-up (hardware action)
How could I in Domoticz environment retreive all the data described in the documentation? (I hope I make myself understandable). Thanks a lot in advance for any idea that will steer me in the right direction.
I'm using among others Shelly Door/2 device. In device setup there is room for an URL that will "Report as GET parameters to HTTP url".
The parameters are described in the documentation
https://shelly-api-docs.shelly.cloud/ge ... gs-actions
The device beeing in sleep mode, there is no way to send a request to the device. I have to let it send the URL when a wake up condition arises.
There is no way to pass value as we would normaly do and then trigger a custom event. There is no way to wake it up be sending a kind of wake up command.
Here below is an example of the HTTP GET when sending http://ip_of_shelly/status after wake-up (hardware action)
Code: Select all
{"wifi_sta":{"connected":true,"ssid":"saintpierre","ip":"192.168.21.218","rssi":-67},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"","unixtime":0,"serial":1,"has_update":false,"mac":"483FDA824BFB","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"is_valid":true,"tmp":{"value":21.70,"units":"C","tC":21.70,"tF":71.06, "is_valid":true},"lux":{"value":0, "illumination": "dark", "is_valid":true},"accel":{"tilt":-1, "vibration":-1},"sensor":{"state":"open", "is_valid":true},"bat":{"value":93,"voltage":5.72},"act_reasons":["poweron"],"update":{"status":"idle","has_update":false,"new_version":"20211004-121334/v1.11.5-gdedfb52","old_version":"20211004-121334/v1.11.5-gdedfb52"},"ram_total":51360,"ram_free":38444,"fs_size":233681,"fs_free":149847,"uptime":127}