Where did you find out the methods arrived() and departed()? I’d like to use some of the other simulated sensors, but I don’t see their code available in the templates, so I’m not sure how to use them.
@Kristopher which functionality are you referring to that may have been unintentionally deprecated? I just tried an existing Simulated Presence Sensor and created a new Simulated Presence Sensor and they both seem to work fine using the arrived and departed commands.
I got a notification from SmartThings that some users are experiencing issues connecting and controlling their devices - might your concern be related to that?
20150317 - Device Control
Incident Report for SmartThings
New Incident Status: Identified
Some users may be experiencing issues connecting and controlling their devices. We have identified the issue and will update when it is resolved.
Mar 17, 08:29 EDT
This virtual presence sensor is perfect for the nanny/guest in the house scenario. My mom was visiting and when my wife and i left the house it went dark instead of creating new modes just toggle the presence sensor and i’m done.
I’ve successfully installed the built-in ST Simulated Presence Sensor. It is currently attached to no other Things or SmartApps; also, for the record, using Android.
The Simulated Presence Sensor thing does NOT appear to be firing the DEPARTED command…
From the Live log:
11bf6995-86a1-44fa-bff0-b430b8253343 10:49:14 AM: trace Executing ‘arrived’ -> Manually set to Not Present, ie. I clicked the button/tile for the 2nd time
11bf6995-86a1-44fa-bff0-b430b8253343 10:49:06 AM: trace Executing ‘arrived’ -> Manually set to Present, ie. I clicked the button/tile for the 1st time.
I tried this with a second instance of another Simulated Presence Sensor, and again, for both the present (on) and not present (off) button press it fires the “arrived” method. It is never firing “departed”…
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?
(www.rboyapps.com - Making SmartThings Easy!)
Yes see the code in the first post, that what it does, toogle presence with a switch like functionality.