Hi,
I'm using the Shelly Cloud to control (turn on and turn off) two Shelly devices from an Android application that i'm writing.
I've two Shelly 1.
I'm using this server "https://shelly-41-eu.shelly.cloud".
In my request i'm sending :
Code
HashMap<String, String> params = new HashMap<String, String>();
params.put("auth_key", auth_key);
params.put("turn", turn);
params.put("channel", channel);
params.put("id", id);
When the WiFi network that gives connectivity to the Shelly devices is ON all works fine.
If the WiFi network (that gives connectivity to the Shelly devices) is OFF I get this response from the Cloud:
{"isok":true,"data":{"device_id":"3494546a9___"}}
The parameter isok has the value set to TRUE! Why?
The Shellys (without a Wifi) are unreachable, the response (isok) should be return false as value.
Also after 30 minutes of Wifi absence, the response is always true.
I'm doing something wrong?