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.

Beacon monitor remembers values from when it was disabled

See original GitHub issue

Home Assistant Android version: beta-2762-93844ffe-full

Android version: 11 Phone model: Motorola G9 play Home Assistant version: 2022.10.0 Last working Home Assistant release (if known):

Description of problem: I use the beacon monitor sensor to detect when we get home and open the door. I also have an automation that detects when my spouse parks her car in the garage about 200 m from home (far from reachable with the beacon). I heard the announcement that she had parked the car and that also enables the sensor using:

          - service: notify.mobile_app_petra
            data:
              message: command_beacon_monitor
              data:
                command: turn_on
                channel: beacon
                importance: high

This means her phone now listens for the beacon at home and when her phone sees it another automation will run that will open the door, this automation was triggered at the same time as the previous automation. I opened the developer tools and had a look at her sensor and managed to get a screenshot of the issue

image

Here she is at least 200 m away with houses blocking and the sensor reports the state it was in when the sensor was turned off as she left home. Because I turn on and off the sensors since it’s not needed and to make sure it does not wrongfully open the door (ironic).

I have managed to replicate the issue that when you enable the sensor and stand close to a beacon, turn it off and move away then turn on again, then the sensor will report the old state for a few seconds before it realizes it’s not there.

Because of this bug the sensor and/or the command to turn it on/off is more or less useless.

Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):


Screenshot of problem:

Additional information:

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Hellis81commented, Nov 1, 2022

Here is a video of the issue. In my opinion it seems as it’s the app that sends the data.

https://www.youtube.com/watch?v=bLUBbh3HgVw

0reactions
Hellis81commented, Nov 12, 2022

It seems like a bug for sure.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Monitor Page – Cards | Need Help? - BEACON® AMA
Cards display crucial meter information: consumption data, Location ID, ... TIP: BEACON remembers the last Sort By selection on a per-user basis.
Read more >
IT Visibility Beacon Properties
Disabled at server—The inventory beacon is reporting its status, but showing that it has been disabled on the inventory beacon itself. To re-enable,...
Read more >
Android Beacon Library restart monitoring, dynamic regions
One of the changes in 2.8 is that the library remembers the state of monitored regions across app restarts. So if you stop...
Read more >
Bluetooth beacons: Everything you need to know - Pointr
Remember that this processing would have to be done by the app as a beacon only transmits data and cannot receive a signal...
Read more >
Boosting Wi-Fi Performance with Beacon and Beacon Interval
It's important to remember that each SSID sends its own Wi-Fi beacon, at the same defined interval. If you have five SSIDs, five...
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