Hi,
I use the following code to control a device. response = requests.post(“http://10.11.0.18/toggle”, json={ “password”: data, “action”: “0”, “relayNumber”: “2” }) And it works fine. Similarly, which topic should I use to get the device’s status??
Thanks, Sathish Jayavel.
Hi Sathish,
I dont think we have local API for device status. You have to rely on cloud API to get the current state.
Omkar
How were you able to get the password data. I see that this password changes with every request. Is there a way to generate password?
Thanks, Nikhil