ble_monitor icon indicating copy to clipboard operation
ble_monitor copied to clipboard

setup fail on HA 2024.4.3

Open robertomontinaro80 opened this issue 2 months ago • 5 comments

What happened?

ble_monitor setup fails after updating HA from 2024.4.2 to 2024.4.3 Below the log Setup failed for custom integration 'ble_monitor': Requirements for ble_monitor not found: ['aioblescan>=0.2.14', 'janus>=1.0.0'].

Sensor type

No response

Relevant log output

Setup failed for custom integration 'ble_monitor': Requirements for ble_monitor not found: ['aioblescan>=0.2.14', 'janus>=1.0.0'].

robertomontinaro80 avatar Apr 19 '24 08:04 robertomontinaro80

Try a full system restart first.

Ernst79 avatar Apr 23 '24 16:04 Ernst79

Try a full system restart first.

Already tried. Nothing changed. I can assert that the issue is related to the new version of Home Assistant as I wrote in the issue description.

robertomontinaro80 avatar Apr 23 '24 17:04 robertomontinaro80

I don’t have this issue on my system, also running 2024.4.3.

Did you install BLE monitor after you installed HA 2024.4.3?

Ernst79 avatar Apr 23 '24 17:04 Ernst79

I don’t have this issue on my system, also running 2024.4.3.

Did you install BLE monitor after you installed HA 2024.4.3?

I use the BLE integration monitor since 2 years :) but ok, I can try again to reinstall the version 2024.4.3.

robertomontinaro80 avatar Apr 23 '24 17:04 robertomontinaro80

The thing is that the error says that it can't find aioblescan and janus (which are packages used by BLE monitor). These packages should already be on your system for a long time, as I haven't changed anything to these requirements. So, I'm a bit supprised that this error pops up on your system (and no one else complained so far). You can try to install them manually, if you are NOT running Home Assistant OS. Otherwise, try to reinstall BLE monitor.

Ernst79 avatar Apr 23 '24 17:04 Ernst79

just updated HA to the version 2024.5.3 and now the error appeared again and it does not want to go away :(

Requirements for ble_monitor not found: ['janus>=1.0.0', 'aioblescan>=0.2.14'

robertomontinaro80 avatar May 13 '24 11:05 robertomontinaro80

Can you install these packages manually on your system with pip install janus and pip install aioblescan

Ernst79 avatar May 13 '24 11:05 Ernst79

I use HA in docker installation and usually I don't need to install manually any package. I can try to reinstall HA but I'm not sure how useful could it be.

robertomontinaro80 avatar May 13 '24 12:05 robertomontinaro80

No, just try 'pip install janus' and 'pip install aioblescan' first (in the docker environment of course). The problem is that you seem to be the only one that is having this issue. Perhaps the above already solves it.

Ernst79 avatar May 13 '24 12:05 Ernst79

I don't know why but after restarting directly the O.S. of my raspberry - I'm using OMV 6 with portainer docker manager installed on it, in wich HA is running as container - ble integration started to work again. Thanks for your support anyway.

robertomontinaro80 avatar May 13 '24 12:05 robertomontinaro80