BLE Beacon: Home Assistant Constantly Listing Different Rooms and Distances Despite Being Stationary
See original GitHub issueDescribe the bug Distance constantly jumping even though tracker is stationary and RA keeps bouncing me between rooms despite not moving
Relevant logs
Log output that correlates to the bug. You can get debug output with room-assistant -v
.
Relevant configuration
all:
hosts:
'master-bedroom.local':
room_assistant_config:
global:
instanceName: Master Bedroom
'levi-office.local':
room_assistant_config:
global:
instanceName: Levi's Office
'192.168.11.15':
room_assistant_config:
global:
instanceName: Garage
vars:
room_assistant_global_config:
global:
entities:
behaviors:
cc6ed3c0477e417b81e10a62d6504061-2-9999:
rollingAverage:
window: 30
debounce:
wait: 1
integrations:
- homeAssistant
- bluetoothLowEnergy
homeAssistant:
mqttUrl: mqtt://192.168.11.38:1883
mqttOptions:
username: <username>
password: <password
bluetoothLowEnergy:
whitelist:
- cc6ed3c0477e417b81e10a62d6504061-2-9999
tagOverrides:
- cc6ed3c0477e417b81e10a62d6504061-2-9999:
name: Levi's Tracker
global:
entities:
behaviors:
cc6ed3c0477e417b81e10a62d6504061-2-9999:
rollingAverage:
window: 30
debounce:
wait: 1
instanceName: Living Room
integrations:
- homeAssistant
- bluetoothLowEnergy
bluetoothLowEnergy:
tagOverrides:
- cc6ed3c0477e417b81e10a62d6504061-2-9999:
name: Levi's Tracker
whitelist:
- cc6ed3c0477e417b81e10a62d6504061-2-9999
homeAssistant:
mqttOptions:
password: <username>
username: <password
mqttUrl: 'mqtt://192.168.11.38:1883'
Expected behavior Home assistant lists my room and distance consistently when I’m stationary
Environment
- room-assistant version:
latest
- installation type: NodeJS + Home Assistant
- hardware: Raspberry Pi, Zero W,
- OS: Linux
Additional context
Here’s what the issue looks like in HA. Occasionally, it will correctly list my distance of 0 (I’m inches from the Pi Zero W) but put me in the living room instead of the office.
I’ve checked the logs in the levi's-office
Pi Zero W and consistently lists my distance as 0. So, I don’t know where the other distance updates are coming from. I’ve tried updating the entity behaviors but nothing seems to work. I’m using Ansible for my deploys, except on the Living Room Instance because that’s running on the same Raspberry Pi as my Home Assistant Instance. Additionally, I tried setting the weight
of each node and the quorum
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (6 by maintainers)
Top GitHub Comments
Cool. That seemed to do it. God, I hate YAML.
Thanks for all the help. The Living Room can now see the office.
The
cluster
block needs to be on top level, try it like this: