Activating relay on Shelly1 via IFTTT and Cloud

  • I am trying to use IFTTT to turn on the relay on a Shelly1 via a webhook integration through the cloud connection. The trigger is from a satellite issued text message, but that's another story!!

    The Shelly is registered, works locally, and remotely via the IOS app.

    I have the auth key and the URL. I can trigger the IFTTT applet without problem, but I cannot get it to turn on the Shelly. Depending on what params I use, I either get a 404, a 400, or the applet runs apparently successfully, but nothing happens.

    I have tried many combinations, combed the web and used the documentation, but nothing works.

    My questions are:

    Is the URL:

    https://<specific server>.shelly.cloud/

    or

    https://<specific server>.shelly.cloud/device/relay/control/

    In the body of the webhook, I am using:

    turn=on&id=<full OID>&auth_key=<long auth key from settings>

    Do I need to add 'channel=x' If so, what channel do I use? Do I need to configure the channel name on the Shelly or does it default to '0'?

    For the ID, so I use the full 48 bit OID in hex, or do I use the last 6 hex chars? (I assume I use hex and not the decimal equivalent?)

    Am I missing any other detail? I have tried many combinations, but nothing has worked. I will put a trace on the LAN to at least see if a packet is arriving, but since it's all SSL encrypted, I won't be able to decode.

    Any help much appreciated!!!

  • In case anyone finds this useful, I have managed to get it working using:

    URL: https://<specific server>.shelly.cloud/device/relay/control/

    Body: turn=on&channel=0&id=<OID>&auth_key=<long key>


    I can now turn on distant navigation lights via a satellite text message! Very happy!