[Release] Virtual Presence Plus (presence controlled by a virtual switch)

dth_virtual
dth_presence
project_presence

(Gene Clark) #22

Like the handler but is there any way to remove control from the SmartThings app? I’m controlling mine using webCoRE and would like to remove ability to switch between away and present in SmartThings app so it doesn’t accidentally get changed. @RobinWinbourne


(Robin) #23

Just remove the action from the button tile, change:

	tiles {
		standardTile("button", "device.switch", width: 2, height: 2, canChangeIcon: false,  canChangeBackground: true) {
			state "off", label: 'Away', action: "switch.on", icon: "st.Kids.kid10", backgroundColor: "#ffffff", nextState: "on"
			state "on", label: 'Present', action: "switch.off", icon: "st.Kids.kid10", backgroundColor: "#53a7c0", nextState: "off"
		}

To:

	tiles {
		standardTile("button", "device.switch", width: 2, height: 2, canChangeIcon: false,  canChangeBackground: true) {
			state "off", label: 'Away', icon: "st.Kids.kid10", backgroundColor: "#ffffff", nextState: "on"
			state "on", label: 'Present', icon: "st.Kids.kid10", backgroundColor: "#53a7c0", nextState: "off"
		}

(Mike Kienzle) #24

Works perfectly with IFTTT. My wifes phone never seemed to update when used as a presence sensor. Now I have this tied into my Deco system, and it works like a charm.

Nice work.


#25

Does Mobile Presence Plus work with the new SmartThings? Where do I see it, add it?