question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

2.16.0 detects BLE phones only for several minutes, than marks as Away

See original GitHub issue

Describe the bug I am using Room Assistant to track two iPhones using BLE. I useone Raspberry Pi Zero W and one Raspberry Pi 3B with internal Bluetooth adapters. After updating Room Assistant on both PIs to 2.16.0 I noticed that Room Assistant no longer have stable tracking of phones when they are at home. Here how it looks in Home Assistant: Graph History

The problem occurs with two phones and on two PIs. I tried to restart Room Assistant service, PIs, MQTT Broker, HA, iPhones, Room Assistant companion apps.

I have relatively small apartment, before 99% of time both PIs tracked the phones when they were at home.

The only thing that changed (apart from updating to 2.16.0) is that I started to use ids under the tagOverrides elements in the config.

Relevant configuration On both PIs I have the same configuration, except for names and ids under the tagOverrides element.

global:
  integrations:
    - homeAssistant
    - bluetoothLowEnergy
cluster:
  autoDiscovery: false
homeAssistant:
  sendAttributes: true
  mqttUrl: 'mqtt://192.168.1.178:1883'
  mqttOptions:
    username: %username%
    password: %password%
bluetoothLowEnergy:
  timeout: 120
  updateFrequency: 1
  allowlist:
    - '%uid-for-first-phone%'
    - '%uid-for-second-phone%'
  tagOverrides:
    '%uid-for-first-phone%':
      name: BLE Kitchen Andrey iPhone 11 Pro Max
      id: kitchen_andrey_iphone_11_pro_max
    '%uid-for-second-phone%':
      name: BLE Kitchen Katya iPhone 12 Pro Max
      id: kitchen_katya_iphone_12_pro_max

Environment

  • room-assistant version: 2.16.0
  • installation type: NodeJS
  • hardware: Raspberry Pi Zero W, Raspberry Pi 3B
  • OS: Raspbian GNU/Linux 10 (buster)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mKeRixcommented, Apr 15, 2021

There seems to be a bug with the id overrides for BLE then. I’ll put this to the top of the roadmap so that I take a look at fixing it soon-ish.

0reactions
gaseckicommented, Jan 13, 2022

Is there any chance that similar behavior may be existing in 2.19? I cannot get my RA stable on BLE / RPiZero2W.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Bluetooth Pairing Problems - Techlicious
Keep in mind your phone or your car may only stay in discoverable mode for a few minutes; if you take too long,...
Read more >
Smartphone-Based Detection of Malicious Bluetooth Trackers
We present an open- source, general method for detecting maliciously deployed BLE trackers. Our algorithm detects malicious devices in just a few minutes, ......
Read more >
Screen time stats: How your phone impacts your workday
Despite being incredible tools for keeping us connected, our screen time can have a pretty negative impact on our focus.
Read more >
Find & set up devices near you - Android Help - Google Support
Open your phone's Settings app. · Tap Google and then Devices & sharing and then Devices. · Turn Scan for nearby devices on...
Read more >
T-Mobile REVVL V Plus 5G User Guide English
When wireless devices are used near hearing devices (such as hearing aids and cochlear implants), users may detect a buzzing, humming, or whining...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found