Hi @Odianosen25!
Thanks a lot for your answer! I know this as well, sometimes projects start great, but while working on it, things change.
But, if you have already thought that through (at least a little), may I ask for your thoughts about the following idea(s)?
My setup (short version): we are living in a rented appartment, so it’s not that easy to get control over all things I’d like to have, like the main door. Next thing is the size of the appartment… I do get a BT signal from my beacons in front of the house, than loosing the signal in the elevator, to get it back immediately after stepping out of the elevator… Device tracker with WLAN works reliable, but in a wide area. Depending on the location outside the house, I sometimes get WLAN coverage around 100 meters away from the house… To sum it up, monitor, as well as your ADapp is a great start, but it needs to be a little different to work for me.
So I did setup a Pi (with monitor.sh
) near the entrance door to the appartment. I have a door contact sensor, and right in front of the door I managed to hide a motion sensor. The idea behind is to have two sensors, so I can try to guess the direction (arriving or leaving). For arriving it is: motion sensor -> door contact -> check WLAN and BT beacon -> start “arriving automations” (light on, things like that).
For departure I use the other way around: door contact -> motion sensor -> delay -> check departure.
So far so good. As I want to include the great ideas from Phil Hawthorne about beeing “not so binary”, I’m trying to set one of five different “residence states” (we_are_home, someone_is_home, no_one_is_home, on_vacation and alarm). And here comes the thing: if I could set up one device_tracker, that has the combined information in it, it would be way easier to set the states for persons and the residence.
For now I’m trying to re-write your app code to fit these needs (hope you don’t mind, but your code is great - structured, good to read and understandable). If you want, I can upload the file, if I ever get it running the way I want it to…
Thanks again, and if I may ask a few questions on the way, I’d very much appreciate it.