jeffvb9
(Jeff)
August 12, 2016, 3:01pm
1
I have searched for days to try and answer this and I cant believe no one has explained it or I am not finding what I need.
I have created a virtual (on/off) switch. I can see this under My Home and “things”.
How do I set that switch to be able to turn off and on my three hallway lights?
Am so stumped.
I’ve also set this up in IFTTT to allow Alexa to do this. If I ask Alexa to say “Alexa trigger hall lights on” I want them to turn on.
Any help is much appreciated.
ero4444
(Eric)
August 12, 2016, 3:20pm
2
If and only if the cloud is up.
For the virtual switch, in your phone app, you install smartapp named “Smart Lighting”. That can use your virtual switch as input.
For Alexa, in your phone app, you must install smartapp “Amazon Echo”, AND configure the smartapp, then go to Alexa and say “discover devices” .
brumster
(Paul)
August 12, 2016, 3:30pm
3
I use Dim With Me. Written by @twack
This allows me to use a virtual dimmer and control multiple lights. Should work for you unless I’ve missed something:
All,
I have updated the “Dim With Me” app. Please get the latest code from below. The update fixes a problem with some dimmer devices only setting the “level” event. Dim with me was subscribing to “setLevel” event only. It now subscribes to both. Make sure to cut and past from github using the “raw” screen. Past it to your IDE, save and publish.
I’ll submit “Dim with Me” to ST soon so we can stop cut and pasting for future updates.
I don’t know why SmartThings doesn’t provide any instruction for this. It’s very doable, but it’s not at all intuitive. Fortunately, the community-created wiki has an article on how to group lights that should help.
http://thingsthataresmart.wiki/index.php?title=How_to_Group_Lights_Together
3 Likes
Give this a read too, it creates a group of lights that you can share with Alexa and control directly instead of through a virtual switch.
Trend Setter - A SmartApp for grouping devices
Read First
I am not usually one for releasing stuff I write because I am my own worst critic and usually self destruct before putting anything out into the general public (I’ve revised this post more times than I’d like to count). I am trying to change that behaviour…
Although I am a software engineer by trade, I am not a Java/Groovy developer so I may not have written some of the code in the most efficient way. I expect this to change from feedback and as my knowledge grows.
I tend to find I use the app to control a lot of things more than anything else so this is useful for that. I have only used this on an Android phone and can’t be sure how it’ll behave on an iOS device due to the parity issues between Android and iOS apps so give no g…