Open D3nkNugZ opened 2 years ago
Experiencing the same thing. Followed the instructions to a T, added the known_static_device of my phone. It works, although the confidence will switch between 0 and 100 sitting 5 feet away from my RPI4.
Following the advice of the tuning, I run monitor.sh
and I expect to see something like as documented.
0.1.xxx 03:25:39 pm [CMD-RAND] [passed filter] data: 00:11:22:33:44:55 pdu: ADV_NONCONN_IND rssi: -73 dBm flags: 0x1b man: Apple, Inc. delay: 4
I don't see ANY pass/failure RAND lines being output. I only see DEL-RAND expired after x seconds messages.
Similarly, I get the same mkfifo and broken pipe errors mentioned above.
Would love for this to work.
Im trying to setup a picroft/presence detection combo and have installed everything as per instructions, added my phones MAC address to the known addresses file, connected up to my MQTT broker and listened in home assistant and sent another test MAC address to confirm that all worked.
when running monitor.sh I'm met with:
then it proceeds to cycle those with the odd random mac addresses timing out as it goes along.
The thing that confuses me about this is when running monitor.sh with -a -b arguments I can see other bluetooth devices around the house. For a test I added one of the detected 100 confidence device's MAC address to the known_static_addresses list and fired up monitor.sh.... It just joined the list with my phone and tablet and sat there on 0. I even saw it pop up with 100% confidence directly before it came back to 0 and stayed there.
Inspection of the logs says basically the same as the script output except with these 2 lines scattered amongst the log
and while I'm having a wahh it might be worth to know everything seems to be happening quite slow, however I could just be an impatient bugger and I could understand it being a series of timeouts.
I'm using the default behaviour file and everything else is as default as default can be. So I'm basically stumped at this stage. let me know if there's anything I missed information-wise :)
System information: