So, I have the virtual presence sensor setup as a widget w/ Sharptools, but the problem is, i need a seperate widget for present and away, is there anyway to code this as a toggle instead of like with light switch on/off function?
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
22
Yes see the code in the first post, that what it does, toogle presence with a switch like functionality.
@nomisr you could create a custom Device Type Handler (DTH) with a custom toggle() command, then change your existing simulated presence device to use the new DTH:
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
26
@joshua_lyon curious, I noticed youâve defined arrived and departed - are these ST required interfaces or custom interfaces?
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
27
Anyone noticed that the Simulated Presence Sensor code is no longer available in the sample codes or GitHub. @jody.albritton do you have any insight into why it was pulled?