Hi. I want to control my UNI relay using the cloud API (HTTP GET) and I can't work out the syntax.
I get the device status to work OK with this: -
https://shelly-31-eu.shelly.cloud/device/status?auth_key=<SECRET>&id=<SECRET>
But I thought this would work to fire up one of the relays: -
https://shelly-31-eu.shelly.cloud/device/relay/control/status?auth_key=<SECRET>&id=<SECRET>&turn=on&channel=0
BUT I get: -
{"isok":false,"errors":{"wrong_channel":"Could not control this relay channel!"}}
The documentation that I have found so far is pretty weak so maybe there is better documentation that I haven't found yet?
Help!