How can Siri call up Hello Home Actions?

+1 to Tim on this one from earlier in the thread…

2 Likes

The SMS is sent from your phone (Siri) to ifttt. So it counts against the allowance for your phone, not against any allowance that smartthings might eventually impose. Then ifttt uses the smartthings official channel to actually flip the switch.

If you have an unlimited texting plan, doesn’t cost anything more.

If you have a jailbroken iPhone you can get a much better Siri integration with the help of a few Cydia plugins. Granted it’s a bit tedious to setup, but once the setup is done it works pretty flawlessly. I’m willing to attempt a step-by-step if anyone is interested.

1 Like

Assistant+ I think can handle it all on it’s own now.

It’s a big part of it, but as far as I know you also need Activator & Activate Command

The tweak was just updated with support for variables and terminal commands in the app!

Yes, you will need Activator (who doesn’t?), but you no longer need Activate Command. You can enter terminal commands & thus call endpoints directly.

1 Like

I completely glanced over the “Capture Group Commands” section in Assistant+ the first time configuring it, definitely makes Siri 1000x’s more useful!

Totally agree - I’ve already set up one group action that uses variables to call all of my various modes. I plan on creating another that uses two variables to set any individual light I have to any level I want.

@infofiend, just getting into this but where in Activator can I specify the terminal commands? Everything I have read says you need Activate Command.

Also can you give me a very brief example of how to setup and endpoint?

Ok so it looks like the terminal command is done thru Assistant+, right?

I am a visual person and need to see how someone else has it setup.

Would there be anyway for one of you to share a small example of what you have setup or if someone is willing to write a small tutorial, that would be fantastic.

I would love to set this up but am getting lost.

Thanks,
Scott

I set it all up in “Capture Group Commands”, which allows output directly to terminal.

Example :

Create 2 variables - one called Scene and another called Output

Set your trigger phrase to (without quotes): “scene is [Scene]”

Create conditional to when Scene is value: YOUR DESIRED SCENE NAME, Output is value: curl -k -s YOUR DESIRED ENDPOINT URL

I get the desired endpoint url by copying it from safari on ios. But Make sure your endpoint url calls https (not http).

Repeat with as many conditionals as you need.

Finally, set command to (without quotes): “[Output]”

I think I get all that but this:

This is where I am a little lost. How do I get that from Safari?

Thanks for helping me!

You need to set up and authorize endpoint url for your devices. An example of how to do this is found at How can Siri call up Hello Home Actions?

Once you do that, you can open the page containing the endpoints in safari and hold down the desired action to copy the url for that action. Then paste the url after "curl -k -s ". Again, remember to make certain that the url calls https not http.

Will give it a shot…thanks so much!

No problem. PM me if you have any addition questions.

Hi there, first, wanted to thank you guys for an awesome tutorial, I was able to setup the voice commands via assistant+ and toggle with my devices, my question is, how do I get to toggle through my modes? it looks like I only have access to devices. Thanks in advance!

For each mode that you want to control, set up a virtual switch (momentary works best here). Then have your modes trigger based on the switches being turned on.

would you happen to have a link for that virtual switch? I’ll keep looking. thanks

No - but here is what i use:

metadata {
	// Automatically generated. Make future change here.
	definition (name: "Non-Auto Momentary Button Tile", namespace: "info_fiend", author: "Anthony Pastor") {
		capability "Actuator"
		capability "Switch"
		capability "Momentary"
		capability "Sensor"
	}

	// simulator metadata
	simulator {
	}

	// UI tile definitions
	tiles {
		standardTile("switch", "device.switch", width: 2, height: 2, canChangeIcon: true, canChangeBackground: true) {
			state "off", label: 'OFF', action: "momentary.push", backgroundColor: "#FFEBD6", nextState: "on"
			state "on", label: 'ON', action: "momentary.push", backgroundColor: "#FF9933"
		}

		main "switch"
		details "switch"
	}
}

def parse(String description) {
}

def push() {
	sendEvent(name: "switch", value: "on", isStateChange: true, display: false)
	sendEvent(name: "switch", value: "off", isStateChange: true, display: false)
	sendEvent(name: "momentary", value: "pushed", isStateChange: true)
}

def on() {
	push()
}

def off() {
	push()
}