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 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…
1. Open the Shelly app.
2. Select your Shelly device.
3. Select the “Settings” icon.
4. Now select “Device information”.
5. Make a note of the “Device IP” address.
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
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…
1. Open the Shortcuts app.
2. Tap on the “+” in the top right corner.
3. Tap “New Shortcut” and then “Rename”.
4. Name your “Shortcut” and tap “done”.
5. Tap “Add Action”.
6. Search for ‘URL” and select “Expand URL”.
7. Paste the Shelly URL we created earlier.
8. Select “Done” in the top right corner.
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