mikey0000 / HA-Luba

Home Assistant integration for Luba lawn mower
56 stars 7 forks source link

BLE RSSI reading 0 #15

Open romeoechovictor opened 1 week ago

romeoechovictor commented 1 week ago

Absolutely amazing so far, thank you so much.

Just one thing I noticed was the BLE RSSI is mainly reading zero. Sometimes it does read correctly, but overall it reads zero. I'll attach a screenshot of the wifi & bt history graph. There is data being sent all the time through the BT proxies (you can see the wi-fi rssi data on the graph is consistent).

Any other information I can supply please let me know.

image

jLynx commented 4 days ago

How many BT Proxies are you using?

romeoechovictor commented 4 days ago

How many BT Proxies are you using?

3, if you like I can drop to just 1 but it will only then receive bluetooth when the luba is near the docking station.

jLynx commented 3 days ago

How often does it drop, does it do it while docked? My thought is if it does do it while docked, drop it to one proxy and see if it still does it or not as it's possible it could be the switch between the proxies causing the issue

romeoechovictor commented 3 days ago

You can see the graph here showing the wifi rssi and BT rssi while it's docked. It hasn't moved and would be only coming through on a single proxy at this time. The BT RSSI only intermittently outputs an actual value (circled in red) the majority of the time it's sending 0. The purple graph shows the wifi rssi

It doesn't drop per say, it sends a zero as the BT rssi.

image

jLynx commented 3 days ago

That's really interesting, not sure what is going on there, but we could add a check where if the value is 0 then we don't update it with that value as it's incorrect. Cc @mikey0000

romeoechovictor commented 3 days ago

That might work, but so long as it doesn't join up the values on the HA graphs?
Unless it only transmits then if the rssi level changes? (but the levels don't seem that consistent)

This evening the only captured ble_rssi were at:

22:58, 22:47, 22:37, 21:27, 21:12, 21:01, 20:30, 19:52, 19:07, 18:34, 18:27

I don't see much of a pattern. How often is it updating for the rest of you? The other data seems to update itself at differing intervals depending on the frequency of changing.

So the most updates are coming from WiFi RSSI, Satellites and L2 & L1 Satellites (Co-Viewing)