Device frequently go to unkown state
Closed this issue · 4 comments
i have searched the forum over at homeassistant, looked into het trouble shouting seqtion but can't find a solution for my problem.
The problem i have is that my iphone is very often go to unkown state, even if the phone isn't moved.
it looks like it goes to that state after 30 till 60 seconds.
i'm using ESP32S3
################################################################################
# Bluethooth tracker
################################################################################
bluetooth_proxy:
esp32_ble_tracker:
scan_parameters:
active: True
these are the config settings from within Bermuda
and ofcourse the diagnostics
config_entry-bermuda-01J4RYA69YPY6SS69ASGG9NBND.json
Hi Arnold, sorry for the delay - been a bit swamped lately!
Taking a look at your diagnostics:
I see "Iphone Arnold" (and another) that you have set up using Private BLE Device, that's good.
It seems the other iPhone isn't visible to any scanners, so I'll just look at yours.
Only two scanners seem to be reporting your phone's presence:
- testesp32s3zero shows fairly variable packet intervals between 2 and 15 seconds. Ideally we want to see between 1 and 2 seconds:
"hist_interval": [
7.0670095779933035,
9.539012952940539,
1.9320026260102168,
1.9320026299683377,
1.884002564009279,
15.360020947060548,
7.345010043005459,
5.103006985038519,
9.569013126892969,
5.120007035089657
],
The distance reliably reports around 1.5m (-75dbm) so it doesn't seem to be a signal issue. My guess is esphome firmware settings.
- proxy named "wekker" doesn't have an area defined, which means Bermuda can't utilise it for area determination. It's reading a solid 2.5m distance, but again the intervals are quite sporadic:
"hist_interval": [
15.976021704962477,
21.35102913097944,
3.584004902979359,
56.15707740804646,
2.8760039940243587,
185.34526461793575,
606884.638292892
],
With only two proxies receiving data, and only one of those assigned to an area this will probably be a major cause for Bermuda going to an unknown state quite often.
Have you enabled the BLE iBeacon transmitter in the HA companion app on your phone? You don't need to, but it should help to ensure the phone is always transmitting something - it seems that iPhones will often go into low-power modes and not send adverts, so the more things trying to send adverts on the phone the better.
Could you post the yaml you are using for those two proxies (assuming they are esphome devices)?
After turning on location always on in the settings menu off my iphone it seems to solve the problem .
Now only occasionaly the iphone keeps nagging that this setting is on.
but for now i'm happy.
Great!
Now only occasionaly the iphone keeps nagging that this setting is on.
sigh they just can't let us win, can they? 😅
for me not a real problem, but there are more people in the house that will not hit always in the phone.
but that is my problem and not a software problem :-)