I created this for my needs, but decided I should share it as others may be interested in it.
With the new app I was not able to easily see who was present at my home, and who was away (with the classic app I was able to do this easily). With the new app, I was originally using a virtual switch with automations to track everyone’s mobile device, but I never did like how it appeared (I may be a little OCD…).
So, I created a new virtual presence sensor device handler:
Once installed in the groovy IDE, you can create a new device. To track a person’s mobile device, setup an automation to turn on or off the device with a mobile device being present or away. You should also be able to use it in webCore, but I have not tested it out.
Have you tried this lately? I can get the virtual presence device to show up when configuring the automation, but after I save it and then open it back up, those devices just disappear from the IF condition section.
This is a known problem that started happening in late January or early February. #2 on the “broken features“ list. It doesn’t matter which DTH you use, they are all broken in this way, although it may depend on which operating system your phone uses and on exactly how you are using it.
This is the sort of thing we really need to know more about to allow ourselves to avoid the problem.
The descriptions we’ve had of Automations and Rules make it sound like Automations are saved as Rules and then mapped back. That sounds like an unnecessary complication to me. Doing it one way sounds fiddly enough but at least it can be a one to one mapping. Backwards it can be many to one. Hopefully I’ve got the wrong end of the stick.
Thanks jkp. How exactly do I invoke the Edge Driver for the Presence Sensor? I afraid that I am not to versed in doing this.
As far as whether my hub supports Edge Drivers, based on reading the Q&A concerning the first rollout of drivers, it need to be above a specified firmware version. My firmware version is 000.042.00007
When I tap on the ellipsis on my hub, the dropdown menu lists “Driver”. When I click on “driver” it list several drivers which appear to be installed on my hub. Included in the list is Zigbee Presence Sensor, 5 other Zigbee sensors, 5 Z-Wave sensors, - Virtual Devices. It also states that my hub is registered to the channel “TAustin Shared Projects” and "SmartThings Drivers (Beta) is also listed.
No you don’t need the location-mode to use the virtual presence sensor.
What it does though, is give you a tile in SmartThings that shows what location state SmartThings is in, such as Away, Home, Sleep, etc.
Hi there - You’ll need to go to the channel invite for my channel (which sounds like you are already enrolled in) and chose to install the Virtual Devices V2 driver to your hub. It may take a little time to get installed, but once it is, the next time you perform an Add-device / Scan nearby devices from your mobile app, you’ll get a new device added in your ‘No room assigned’ room called vEdge Creator. You can then use this new creator device to create whatever types of virtual devices you are interested in.