Ok, I have looked through many blogs and community posts, and I don’t see this out there.
I have 4 different Smart Things Presence Sensor V2, and when the battery is getting low, it shows leaving, and arriving at random times.
When it happened in the middle of the night, and lights began to come on, and off while I was trying to sleep, it makes this more necessary.
Now, I need some help.
I would like a simple Smartapp to be able to disable and enable the presence sensors.
First, for the setup, I want to create this:
1 x Virtual Presence sensor for every Actual Presence sensor.
1 x Virtual Switch for every actual Presence sensor
Next - I will changed all of my triggers from my actual presence sensor, to work off of the virtual presence sensor.
It would be a simple setup, one presence sensor, one virtual presence sensor, one virtual switch.
Here is the logic:
If the virtual switch is off, don’t update the virtual presence when the actual presence arrives, or leaves.
If the virtual switch is on, update the virtual presence when the actual presence arrives, or leaves.
Then on my bed time routine, I would turn the virtual switches off.
When my alarm triggers in the morning, I would turn the switches on.
This could also be used, if you have a house sitter, dog walker, non living member of the house, someone watching the house while on vacation, ect… that has a presence sensor and you only want to allow that sensor to be manually turn on.
Other options could be to not allow that teenager to get into the house if they are out past curfew.
Let me know what you think.