iOS shortcuts: voice control your house Topic is solved

Moderator: leecollings

Post Reply
u01pei

iOS shortcuts: voice control your house

Post by u01pei »

Hi Everyone,

I just played with the new iOS feature called shortcuts (NL: Opdrachten) and it is an easy way to control switches and scenes with Siri, without the need to install any software on your pi.
What you need to do is use authorization as written in https://www.domoticz.com/wiki/Domoticz_ ... horization
I used https://webnet77.net/cgi-bin/helpers/base-64.pl to convert my login credentials.
then use any kind of command from the same page and place it all in a new shortcut like this:
Image
When entering the authorization in the header part (NL: Kopteksten), don't forget to place the text "Basic" in front

After this press the slider symbol on the rh top of the window and add the shortcut to Siri. All done and from now on you can say "hey Siri YOURCOMMAND"

Works like a charm, only downside is you have to share the created shortcut with any family member if they want to use it on their own iOS device, but airdrop makes this quite easy.

I used some of the most used commands like living room lights, sunscreen etc. if you have your iOS device setup to listen for hey Siri you can control your house without moving a muscle (apart from the ones used for speech :D )

edit:
For the non dutch users: the lower part of the shortcut, with the green arrow is called something like "get url contents".
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: iOS shortcuts: voice control your house

Post by blauwebuis »

Very clever!
patoo77
Posts: 296
Joined: Thursday 17 July 2014 18:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Paris, France
Contact:

Re: iOS shortcuts: voice control your house

Post by patoo77 »

Nice use of the api indeed :)

You might be interested in my app, which was updated a few days ago with full support with Siri shortcuts!
That way you can simply trigger a device once from the app, then reuse it as a shortcut with Siri.

You can find me app here : https://pilot.patrickferreira.com/home- ... on-client/
And there's also a thread in this forum: https://domoticz.com/forum/viewtopic.php?f=36&t=3056

Give it a try, it's free :D
u01pei

Re: iOS shortcuts: voice control your house

Post by u01pei »

patoo77 wrote: Tuesday 25 September 2018 1:06 Nice use of the api indeed :)

You might be interested in my app, which was updated a few days ago with full support with Siri shortcuts!
That way you can simply trigger a device once from the app, then reuse it as a shortcut with Siri.
I already tried the app, but didn't really feel the need for it, as I have arranged much of the features in a different way.
As for Siri, I use the shortcuts app for other things as well, so no need to install another app that does the same. But that's just my opinion, I guess a bunch of other users could benefit from the app.
Give it a try, it's free :D
It's free to give it a try, but not so free if you want to use it to the full extend of possibilities! So I'll just keep that money in my pocket to be used at another time. And also I think you should not advertise your app every chance you get. I created this thread simply to share some information, so anybody who wants to do something similar has a place to start. As you already stated, there is already a different thread about your app, so no need to advertise in every other thread that talks about a feature your app happens to have. Again just my opinion ;)
mary
Posts: 1
Joined: Saturday 08 June 2019 13:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: iOS shortcuts: voice control your house

Post by mary »

Without getting too into it, the features you're looking for (Siri shortcuts, HomeKit, HealthKit) would be far easier to take advantage of in Xcode and Swift.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests