I’m not sure I completely understand but let me take a stab at this:
In the Harmony app you have an activity called “Floor Fan” this activity can be turned on and off within the Harmony app.
One limitation in Harmony is that only one entertainment activity can be operating at a given time per Harmony Hub.
In the SmartThings ecosystem Harmony Activities show up as a switch (with a few extra options)
To access a Harmony activity in Alexa you would need to add it under “Switches”:
As an example Basement Apple TV is a Harmony Activity.
By checking the box above in the SmartThings integration Alexa will see that activity as a switch and I can say “Alexa, Turn on Basement Apple TV” to turn it on and can say “Alexa, Turn off Basement Apple TV”
This doesn’t work quite the same as the Harmony <> Alexa direct integration however it does allow you to directly control the Floor Fan via “Alexa, turn on” & “Alexa, turn off”
I personally have found that passing Alexa through SmartThings to Harmony was a little buggy. I ended up taking Harmony out of SmartThings completely and enabling the Harmony skill within Alexa. Things like “Turn on the TV” and “Turn off the TV” work every time now. Can also do “Alexa tell Harmony to pause” or volume up, down, etc and it seems to respond and work better. Then for home automation stuff I just give her another command. Rather have two commands that both work 100% then one that was buggy.
I agree with however as of yet the Alexa <> Harmony direct integration only works with a single hub and alas I have more than one so if I want to control multiple hubs it requires a secondary integration (such as SmartThings).
I’m really hoping that Harmony will sooner or later get on board and or somehow incorporate room control.
I can already control individual Fire TV devices using specific Echo devices (such as on a main floor and/or in a bedroom.) and after a few hick-ups early in the adoption of the room specific light control I find that it works quite well and greatly simplifies controlling lights in a single room (such as a bedroom).
I will say that I also don’t generally use Alexa --> SmartThings --> Harmony interaction for voice control but do use the SmartThings --> Harmony interaction in automation (such as turning on the TV in the morning or ensuring that the TV is shut off when leaving to go to work.
I find that in that use case the SmartThings <> Harmony integration works great.
I almost forgot: there is an easy way to do this although it’s weird.
For some reason, the Harmony app IFTTT channel will let you “turn off” a harmony activity. I don’t know why, since none of the other control methods do, but it does seem to work.
You still need a second command to trigger the off, but you would create a virtual switch in SmartThings and have that virtual switch turning off be the “if” in the IFTTT applet and the “end Harmony activity” be the “that.”
Then just turn that virtual switch on in your original fan activity so it will be on and waiting when you want to turn it off.
I can’t figure out a way to create an activity that sends only an “off” command when starting the activity.
When I create an activity within harmony, it looks like it automatically has a startup and shutdown routine and there is not a way to remove “power on” from the startup nor “power down” from the shutdown.
Where do you find the switches menu? I am using the iOS app and I can’t find a menu that has switches as the header. All I find in the Logitech smart app for SmartThings is a list of activities that it let’s me import, and then when I get to Alexa, it has imported them as scenes.
Since the fan is an IR device, it will be classified as an entertainment device, not a smart home devices. That’s just Harmony does it.
With entertainment devices, switching to any activity which doesn’t require that device will turn that device off unless you gave it a special power options to stay on.
So if you didn’t use the special power options, you just need to change to any other activity that doesn’t include the fan. And the fan should turn off.
I have a Harmony activity which includes my fire TV, but does not include my television. All that activity does is turn on the fire TV. However, because it is not turning on my TV, my fire TV actually won’t come on.
So I can just turn on that scene and Alexa and any scene that was previously running that didn’t include the fire TV will turn off.
So that’s one way to do it.
But mostly I use IFTTT because it’s just more logical. I set it up in the echo IFTTT channel so when I say " echo, trigger shut down" it triggers the power off sequence in Harmony, the same thing that pressing the power off button on the button remote would do.
I don’t know why “power off” isn’t exposed in other ways, you would think it would be. But it does work through IFTTT.
Beautiful!! Now I’m on the same page with you. So I can create an activity that doesn’t include the fan and essentially put a single ghosts device in that activity and when I switch to that activity, it will turn the fan off.
You can get around that by having a virtual switch coming on in SmartThings be the “if” in the IFTTT applet with the Harmony power off as the “that.” Then you can include that virtual switch in the echo routine. So that’s a workaround for getting to IFTTT from an echo routine.
And if you use the power allowance feature in smart lighting to have your virtual switch always turn itself off after one minute it will be ready to turn on again the next time.
So it’s just an alternative method, if you’d rather use your ghost device harmony activity that will work too.