Hi! I use this without a problem even if I am a newbi.
I have one question.
I use three PiW. The third is setup at our gate. We have a very big plot, about 8500 sqm so when someone connects to this third one the other two is not in reach. Would it be possible to make an automation using only this third sensor. F.ex starting the lights on the driveway after sun is down. Just an example
Anyone fancy posting their working config for presence detection cos I’m now getting in a bit of a loop.
I’ll post what I have below though basically I believe I have all working correctly using motion until I need to restart the HA.
Once I do this the config seems not to reset & I have to reboot both rasp pi w’s to get the ‘Jaz BT’ to show ‘home’ when we are at home at the time of the HA restart.
Hi @LarsAC
Giving a try of the presence script on an intel NUC (ubuntu VM)
I have installed all the packages in the presence.sh docs but I get an error
Scan result: [Invalid device: No such device]
I’m struggling with bluetooth configuration, but no results…
Did you succeed setting up the bluetooth on the NUC?
Solved, bluetooth interface working on the NUC, just had to share it to the VM.
I will use the integrated bluetooth interface with the presence script to detect the BT devices. If coverage is limited I’ll add a rpi zero w as suggested by the author.
Now I’m experimenting with the reliability of the bluetooth detector, and trying to integrate with my existing home/away automations. Will report results soon
Great work on this
I have a android mobile phone that this woks very well for, but I also have a Nut BTLE tag that this doesn’t work at all for as it always comes up with confidence 0, does anyone have any suggestions or is it not supposed to work with tags?
presence/owner/keith/xx:xx:xx:1B:6D:28 { version : 0.1.481, confidence : 0, name : Nut, timestamp : Wed Aug 15 2018 11:40:58 GMT+0100 (BST), manufacturer : Unknown , type : Known Static MAC ,“type”:“Known Static MAC” }
BTW I also have some MiFlora plant monitors that come up 100% and some LED BTLE lights that come up 100%
The device should report as a beacon. Enable the -b flag, and remove the MAC address from known_static_addresses. You’ll see the beacon address in the logs.
Andrew, i’m running precense on one PI Zero right now, with plans on using 6 to cover house plus garage. But with just one running, my wife complained that her BT keyboard was acting strange and those problems dissapeared when I shutdown the Pi.
To make things worse, her office is just next to the entry door to the house, so cant avoid covering that area for precense detection.
How would you solve that issue if you had the same prob?
Is it possible for one to estimate the distance of the Bluetooth presence system, from the Bluetooth device based on the confidence?
If it is, could you kindly share some data on your finding? I know it depends on several things like walls in between and type of Bluetooth device, but I just need any little data you might have worked out already if you had considered it before.
Hey @Odianosen25 - I’m sure you don’'t want to read what is nearly 500 posts now, but Andrew did mention up here that he has not had very much luck at all with this.
Hey @andrewjfreyer (and any Appdaemon users) - if you haven’t been watching it, you might like to have a look over in the Appdaemon section here at some wonderful coding that @Odianosen25 has just put together for monitor
Oh thanks bro, yeah you right, wasn’t really in the mode of reading via the entire threads .
I was looking at doing some triangulation, but even at that, i think it I will still look at it later to I could at least allow for possible location of which floor a device is.
Like interfacing it with Snips and asking “where is my phone?”. It could give a possible location based on the different readings, even if its not so accurate.
I’d make the switch to the monitor script. With low interval values, the presence script has the tendency to interfere with 2.4 GHz devices, including Bluetooth and Wi-Fi.