I need to be able to have a virtual switch flip when it see’s 2 presence sensors leave so i can use IFTTT based on those 2 presence sensors.
Also anyone know of a way to get nest OR
IFTTT.com to activate Hello, Home?
Check out the two threads below. If you create a virtual switch, then install the “Big Switch App” you can create a virtual switch to call Hello, Home phases. Then through the ST app you can have it trigger the virtual switch when both presence sensors leave. I believe you can do it through IFTTT as well, but I’ve never messed around with it.
Virtual / Simulated Device Types are functional “Things” but are not physical devices you have. Installing them allows you to control them via SmartApp’s just as you would a physical smart device. Creating Virtual Devices - On/Off Switches There are many reasons you’d have the need for a virtual switch. You want one switch to control multiple other switches and/or commands. You have a multi relay device and want to control the relays individually. (currently ST doesn’t support this) You could use virtual switches the same way you’d use Hello Home Actions, to take care of multiple actions or state changes with the change of your virtual switch state. To create a Virtual Switch Login to the IDE @
https://graph.api.smartthings.com/ Click “My Devices” Click the “New Device” Button …
Ok, here is a tested and verified app. Does excatly what you want it to do. When a switch turns off it runs XYS hello home phrase, when a switch turns on it runs XYZ hello home phrase. copy and past all of it into your app and publish it for yourself and you will be able to install it from your apps on your mobile device. I will also publish it to the shared apps. /** * Big Switch for Hello Home Phrases * * Copyright 2014 Tim Slagle * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at: * *
http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under the License is distrib…