Shelly

How to control Shelly devices with Siri voice control

How to control Shelly devices with Siri voice control

Shelly voice control

Shelly devices will work with Amazon Alexa and the Google Assistant out of the box for convenient voice control – but do Shelly devices work with Siri? In short, no. But there is a way… and best of all, it’s actually not too difficult to control your Shelly devices using Siri. Let me show you how…

shelly-smart-control-app

Shelly device IP address

In this example, I am going to control a Shelly 1 Plus that is connected to my office lights. The first thing I need to do is find the IP address of the Shelly device…

Shelly App

1. Open the Shelly app.

shelly-app-siri-iphone-02

2. Select your Shelly device.

shelly-app-siri-iphone-03

3. Select the “Settings” icon.

shelly-app-siri-iphone-04

4. Now select “Device information”.

shelly-app-siri-iphone-05

5. Make a note of the “Device IP” address.

SmartHome Blog

Shelly HTTP API

Now that we have the Shelly device IP address, we need to create an HTTP command that will control the Shelly device over the local network via the embedded Shelly API. This sounds technical and difficult… but don’t worry, we have you covered. You can use our exclusive Shelly HTTP API Command Control Tool to auto-magically create the command we need. 

So, how does the above tool work? Let’s go through it step-by-step…

  • Enter your Shelly device IP address (the one we gathered from Shelly app).
  • Select the type of Shelly device (in this case, a Shelly On/Off Relay).
  • Select the control channel - in most cases, this will be 0 (the first control channel).
  • Now select what you would like the Shelly device to do - in this example, I am selecting "Toggle" which will toggle the connected light on/off.
  • Now we have our Shelly API Control URL (copy this, we will need it below). You can click on this link to test that everything is working.

Now we are ready to have Siri obey our command…

apple-shortcuts-app

Apple Shortcuts

If you have not discovered Apple Shortcuts yet… then you are in for a treat.  If you are already familiar with Shortcuts, then I think you know where this is going…

We can create a “Shortcut” that will allow Siri to control Shelly devices. You should already have the Shortcuts app as it is shipped pre-installed on iPhones (if you deleted it, simply download it again from the Apple App store).

Let’s create a “Shortcut” using the Shelly HTTP API URL we created above…

apple-shortcuts-app-01

1. Open the Shortcuts app.

apple-shortcuts-app-02

2. Tap on the “+” in the top right corner.

apple-shortcuts-app-03

3. Tap “New Shortcut” and then “Rename”.

apple-shortcuts-app-04

4. Name your “Shortcut” and tap “done”.

apple-shortcuts-app-05

5. Tap “Add Action”.

apple-shortcuts-app-06

6. Search for ‘URL” and select “Expand URL”.

apple-shortcuts-app-07

7. Paste the Shelly URL we created earlier.

apple-shortcuts-app-08

8. Select “Done” in the top right corner.

apple-shortcuts-app-09

9. Congratulations… you are done!

Now when I say “Hey Siri, office lights”, my office lights will toggle on/off. Keep in mind that whatever you name your Shortcut will be what you need to say to Siri to trigger it.

Final thoughts

It’s worth noting that this will only work when you are on your local Wi-Fi network – it will not work when you are away from home (not a big deal in my opinion). You can create as many Shortcuts as you like to voice control your Shelly devices using Siri… dim lights, open curtains or turn your heater on / off. You can basically control anything via Siri that is connected to a Shelly device.

Have fun 🙂

All the best,

Brad

Leave a Reply

Your email address will not be published. Required fields are marked *

3 + 18 =