Yup! That’s it.
I was trying to monitor RSSI of my phone and every time after several minutes it has -99 value even though confidence is 100. It doesn’t matter whether phone is used or in doze mode (sleeping). I’m using HTC U11 with Android 8.0. I’ve tried to turn off battery optimisation for Bluetooth but it didn’t help. Does anyone know how to fix it?
RSSI measurements require a connection, whereas confidence does not. This means that confidence measurements will have a larger “radius” of operation.
To test, you can open a shell session and type:
hcitool cc MAC_ADDRESS && hcitool rssi MAC_ADDRESS
great tool, have switched to running my server back on a pi 3 from a linux ubuntu server just so I can use this.
It seems to work ok but id like quicker scans, its currently setup on a single pi 3, and I’d like it to only scan on MQTT triggers from door sensors which are setup and work, this is just -t flag?
What’s the restart MQTT command?, I checked the readme on the git and I didn’t see anything there. Do I send something to monitor/btsensor/restart? I also need a way to restart the monitor upon HA restart
-tad
Will scan only on mqtt triggers for both arrive and depart.
I get RSSI return value: 0
even though MQTT.fx shows message -69.
Quick question, I’m setting up another node as I find that if I go out back to hang out the washing or whatever, I get marked as away by my current node as it doesn’t reach far enough.
I’m just editing the mqtt_preferences file for the second node, should I enter the mqtt broker address of the first node? I assume so, just checking.
In fact, I assume the second node is an exact replica of the first node (all files taken from the first node and copied to the second)? The only difference would be the command to start monitor on the second node?
Does this work with most cars Bluetooth radios? I’m more interested in detecting car arrivals/departures that don’t require a phone to be present.
Not sure if it works with BT in your car, but you can just leave Nut mini inside and track it.
Hi, noob alert.
I want to put this presence detection but also octoprint with my ender 3. Can I combine both on the same rpi? Is It enough with the rpi zero w or is it better 3 b+?
Pd. I live in a flat (90 m2)
I have this working very stably using NUT mini beacons. On thing that bugs me is that I cannot track the battery level of my NUT, so only know that it is dead when it dissapears for a day or more.
Is there any way of reporting the battery level of a BLE beacon in HA?
May I know how you integrate them? I tried in the past and did not succeed
I just run it with the -b flags, and it detects any BLE beacons nearby. Then just monitor the MQTT topic for your beacon MAC.
like
sudo bash monitor.sh -b
I forgot how to make this permanent when service restarts.
EDIT and it crashed
monitor.sh: line 1536: 11aa4eGol: value too great for base (error token is “11aa4eGol”)
Not sure about the crash, but I think to make it permanent you pass the -u flag.
I am running this on an old RPiv2 with a USB bluetooth adapter (Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)).
I’m getting a lot of hardware cycling msgs:
cycling bluetooth hardware on hci0. please wait a moment...
I understand from the FAQ this could be because another service is utilising the bluetooth module. What is the best wayt o determine what else is using the module?
I am running a lite install of Raspbian Jessie so there is not much on it…
Thanks!
I’m running monitor on a rPI Model 3+, running on wireless. Occasionally the rPI will hang and the only way to fix it is by unplugging the power. I don’t know why it hangs, or if this has anything to do with monitor itself.
It seems like someone here is saying it works better on ethernet, so I will probably have to try that, but that involves figuring out a proper location for the rPI in the house. (I’ll look into that later)
So, today I think will start scheduling a reboot of the rPI. Has anyone had any experience with doing that, and if it mitigates the problem of the rPI hanging?
Well it isn’t a cure for hanging, but it is easy enough to do via cron.