I thought i would do a post as well, to show how in my house I use a virtual device to determine the House's Occupancy.
This is slightly convoluted, as I do not use motion sensors but rather use PHLocation, however the concept will be the same regardless of what you use provided it has a status change when you are home, then not at home (e.g. Bluetooth or so on).
The principle is this, when someone is home the House becomes Occupied, if more people come home, since the house is already "Occupied" it does not change state.
When someone leaves the house, it checks the individual users to see if they are still home, and if they are not home, and the house is marked as occupied then it becomes Unoccupied.
Take example 1, a Guest arrives home and the Guest Occupancy virtual device changes and becomes ON, if no one is home, and the house has a value of Not-Occupied then the house status is set to Occupied.
In another Example, LH Not near home, her PHLocation Near to home device changes and becomes Not Near (or could be OFF with another system), this checks to see if the house is Occupied, and checks to see that no guests are home, the override is not enabled, and that I am not near home as well and if all of those conditions are met, then it marks the house as Not-Occupied.
The same thing essentially happens with me leaving home, or a guest leaving home.
So in summary the person coming home is the easiest, when that persons near home device becomes ON it checks to see if the house is Not-Occupied, and if so then the house becomes OCCUPIED.
When someone leaves, it does abit more and checks to see if the other users are not there, and the house is OCCUPIED and that person was the only one left at home it marks as UN-Occupied.
Why do this you may ask, well this is where I love homeseer, I can then trigger a whole range of events based on the house becoming Not-Occupied. In my case this shuts down the PC's around the house (using Jon00's RCCNM), turns off all the lights, starts up a robotic vacuum using IR, turns off the Air Conditioners, and also lets me know as we leave if a window is still open.
The power of virtual devices is nearly unlimited, I use it for determining the occupancy of our house, but you could do the same thing for a room (e.g. no guests are around, so shut down the guest room) and beyond.
This is slightly convoluted, as I do not use motion sensors but rather use PHLocation, however the concept will be the same regardless of what you use provided it has a status change when you are home, then not at home (e.g. Bluetooth or so on).
The principle is this, when someone is home the House becomes Occupied, if more people come home, since the house is already "Occupied" it does not change state.
When someone leaves the house, it checks the individual users to see if they are still home, and if they are not home, and the house is marked as occupied then it becomes Unoccupied.
Take example 1, a Guest arrives home and the Guest Occupancy virtual device changes and becomes ON, if no one is home, and the house has a value of Not-Occupied then the house status is set to Occupied.
In another Example, LH Not near home, her PHLocation Near to home device changes and becomes Not Near (or could be OFF with another system), this checks to see if the house is Occupied, and checks to see that no guests are home, the override is not enabled, and that I am not near home as well and if all of those conditions are met, then it marks the house as Not-Occupied.
The same thing essentially happens with me leaving home, or a guest leaving home.
So in summary the person coming home is the easiest, when that persons near home device becomes ON it checks to see if the house is Not-Occupied, and if so then the house becomes OCCUPIED.
When someone leaves, it does abit more and checks to see if the other users are not there, and the house is OCCUPIED and that person was the only one left at home it marks as UN-Occupied.
Why do this you may ask, well this is where I love homeseer, I can then trigger a whole range of events based on the house becoming Not-Occupied. In my case this shuts down the PC's around the house (using Jon00's RCCNM), turns off all the lights, starts up a robotic vacuum using IR, turns off the Air Conditioners, and also lets me know as we leave if a window is still open.
The power of virtual devices is nearly unlimited, I use it for determining the occupancy of our house, but you could do the same thing for a room (e.g. no guests are around, so shut down the guest room) and beyond.
Comment