bermuda icon indicating copy to clipboard operation
bermuda copied to clipboard

Wifi disconnected, bug in Bermuda state?

Open TioBundy opened this issue 6 months ago • 3 comments

Configuration

Describe the bug

When the Wi-Fi connection is lost, in my case it is stable, but I restart the routers once a week on Wednesday mornings, Bermuda reports the state of the beacon/s scanned "out of home"

It's only a few minutes, but if you use Bermuda to launch some autos it can be a problem, although you can easily exclude that time inside the autos, it would be preferable to correct Or understand this failure, if it is, and if possible correct it.

My routers restart at 3:33am on Wednesdays:

Image

Diagnostics

In HA, Settings, Devices and Services, Bermuda, click the three-dots and choose "Download Diagnostics. This will chug away for a bit then present you with a json file that you can upload here.

Attach your "Download Diagnostics" result by clicking the paperclip above: image

If Bermuda has been running a long time (several days) the diagnostics might take a long time to generate. You can try reloading Bermuda first (HA, Settings, Devices and Services, Bermuda, three-dots-menu, Reload), then wait a few minutes, then try the download diagnostics.

TioBundy avatar Jun 25 '25 16:06 TioBundy

Today the internet connection failed, due to the ONT that communicates with the central office, and the same thing happened. Bermuda displays "away" when the internet fails. I think we should review this. In fact, I think even the geofence was displaying "away." Is the problem escalatable to HAOS, or is it directly coming from here? @agittins

Configuration

Describe the bug

When the Wi-Fi connection is lost, in my case it is stable, but I restart the routers once a week on Wednesday mornings, Bermuda reports the state of the beacon/s scanned "out of home"

It's only a few minutes, but if you use Bermuda to launch some autos it can be a problem, although you can easily exclude that time inside the autos, it would be preferable to correct Or understand this failure, if it is, and if possible correct it.

My routers restart at 3:33am on Wednesdays:

Image

Diagnostics

In HA, Settings, Devices and Services, Bermuda, click the three-dots and choose "Download Diagnostics. This will chug away for a bit then present you with a json file that you can upload here.

Attach your "Download Diagnostics" result by clicking the paperclip above: image

If Bermuda has been running a long time (several days) the diagnostics might take a long time to generate. You can try reloading Bermuda first (HA, Settings, Devices and Services, Bermuda, three-dots-menu, Reload), then wait a few minutes, then try the download diagnostics.

TioBundy avatar Jun 26 '25 22:06 TioBundy

Hi @TioBundy , sorry for the long delay in getting back to you, I've been abroad.

I don't think I'll be able to make a suitable solution for this. The biggest problem will be that when the routers go down, it will take some time for HA to notice that the proxies are offline. This time could be longer than the normal timeout for the devices in Bermuda, so they might show "away" even before HA can tell that the proxies have gone offline. Even if I did find a way to do it promptly, the best Bermuda could do is show the devices as "unavailable" instead of "away", which would be more correct, but might not be very useful.

I think the best option would be to set up an automation that disables your bermuda-related automations before restarting the routers, and turns them back on when it sees some or all the proxies come back online.

agittins avatar Aug 05 '25 21:08 agittins

Hi @TioBundy , sorry for the long delay in getting back to you, I've been abroad.

I don't think I'll be able to make a suitable solution for this. The biggest problem will be that when the routers go down, it will take some time for HA to notice that the proxies are offline. This time could be longer than the normal timeout for the devices in Bermuda, so they might show "away" even before HA can tell that the proxies have gone offline. Even if I did find a way to do it promptly, the best Bermuda could do is show the devices as "unavailable" instead of "away", which would be more correct, but might not be very useful.

I think the best option would be to set up an automation that disables your bermuda-related automations before restarting the routers, and turns them back on when it sees some or all the proxies come back online.

Thanks for replying. Yes, I was doing different tests in my environment and I can't get a stability with short times with Bermuda. I still think it's a bluetooth thing for my Pixel 7, maybe In a year or so I changed my phone and we'll see if the problem persists or not.

For now I have focused on making other optimizations that came to me due to one of the esphome boards involved and a switchbot lock, but I don't know how the command works:

on_ble_advertise:
  - mac_adress:
  then:
    - logger.log:

I try to isolate other devices connected to the proxy to ensure that only the Smart Lock uses said board, the only thing I learned is that Bermuda continues to use it as an active scan.

If I solve this, maybe I'll give it one more turn to stability with Bermuda, for now I fixed those disconnection problems through a combination of Tracker + Wi-Fi connection active. This may also solve the problem of said change of state by which I opened this post.

Thank you for your interest.

TioBundy avatar Aug 06 '25 15:08 TioBundy