At home / away?
-
You could interface the security alarm system to your controller - you only set the full alarm state when out of the house, no?
Alternatively you could add an extra bolt on the door which you can only operate from inside and have that press a microswitch or break a light beam. You always have to undo that to leave so it will know when you are out.
Another solution might be to have a a simple 2 button panel by the door with 'in' and 'out' on it - you simply press it as you leave or enter the building - that would be easy with mysensors and ofc you could replace the buttons with a rfid tag reader if you like. Maybe you ocould also have a place where you keep your keys that can sense if they are there or not - advantage with this is you always put your keys in that place and never loose them (in theory at least) ;)
-
That only detects if your car is there or not.. If you take your bike, or just walk to a bus stop, then it won't detect your presence :)
@tbowmo said in At home / away?:
That only detects if your car is there or not.. If you take your bike, or just walk to a bus stop, then it won't detect your presence :)
That's not a problem for me (I rarely ride my bike, and there's nowhere close by to walk to). Also, I rarely go anywhere in someone else's car.
But, for those instances, I figure that a simple solution would be a special event that I run from the HA app. -
How about having several of these ble nodes around the house scanning for bluetooth of your cellphone and sending the rssi over mysensors to the controller. This way you can do a crude indoor positioning (witch node is closest, so phone is in that room). And if you leave the home (with cellphone) the controller can detect no node sees the phone anymore, so no presence is detected.
-
I have been using this BLE method (python script) with Domoticz and a couple of raspberry pi zero W.
https://www.domoticz.com/wiki/Presence_detection_(Bluetooth_4.0_Low_energy_Beacon)
One pi is near my driveway, and one on the other side of the house. I have an old Tile tag in one car and a Nut in the other. Both work fine for detecting when my cars leave and return. It also detects my Fitbit, an old one of the original type. I have that with me most of the time, so it acts like a tag for my presence.
I haven't done much with it so far except to turn on the porch light when the cars pull into the driveway at night.