ble_monitor
ble_monitor copied to clipboard
[Bug]: Installation fails with "config flow" error
What happened?
Installed via HACS and did a restart. Attempted to install via "Add integration" - found this integration and clicked install.
The installation shows spinning icon for over a minute and then show the error message: Config flow could not be loaded: undefined
.
Nothing appears in my log. I'm running Home Assistant Supervised
(2022.05.3) with latest version of HA (2022.6.5).
Sensor type
No response
Relevant log output
No response
Try to hit F5 a couple of times or clear your browser cache.
Thanks for the suggestion - clearing cache did not fix it. I also tried another browser as well as using incognito mode (fresh login no shared cache, cookies, etc.) and all failed with the same error. Still nothing in logs.
hmm, I'll try to test it later this week on my development system.
Just tested it, but I don't see any errors during installation. I'm running HA Os myself, don't have a supervisor installation. Perhaps try to remove it from HACS and reinstall it again? other thing you can try is to enable debug logging for BLE monitor, this might give me additional hints what is wrong (and what not).
Could be a strange artifact of my system, so if no one else reports this, just file it under "one off". I'm currently using an ESP32 to communicate with my BLE sensor so I'm not desperate to get this component working - was more of an interest in comparing it to the ESP32, for better long term reliability.
On the ha forum, there is a user with a similar issue, but he gets a message about pyric not being available. ~~Not sure why, as we don’t use pyric as far as I know.~~
2022-06-14 19:56:43 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration ble_monitor: No module named ‘pyric’
@nickdos I think I'm experiencing the same issue, or at least a symptom of the same issue. I have had passive BLE monitor working in the past. It's been removed for a minute. I just tried to re-add it and it does not find passive BLE in the integrations list after restart. I've tried multiple times and it's just not there. The custom component folders are definitely in my system and I know the screens that are supposed to come next, something is just blocking it.
Did you clear the cache and hit F5 a couple of times.
lol, I can't believe that just worked. thanks
@nickdos the issue that was reported on the HA forum was caused by the Snap version of HA. After installing the HA in a docker container. Are you using a "Snap version of HA".
@nickdos the issue that was reported on the HA forum was caused by the Snap version of HA. After installing the HA in a docker container. Are you using a "Snap version of HA".
No, I'm using a normal supervised version. Host OS is slightly out of date though (reports its now unsupported - Debian Buster). Architecture is x86_64
.
Also having this problem. There's a long delay with the spinner that says "Please wait while Passive BLE monitor is being setup," and then after about one or two minutes I get the "Config flow could not be loaded: undefined" error. I am running on Home Assistant Blue/Odroid-N2+.
Update: I just removed and reinstalled the integration (all via HACS GUI) and for some reason it worked the second time around.
Most of the times, it is a browser cache issue, which can be solved by hitting F5 a couple of times.
Hello, I got this issue too, and using a brand new browser does not help.
Try to remove and reinstall it, restart HA and hit F5 a couple of times
I had this issue also with HACS installation. Remove and reinstalling fixed the issue.
Indeed, it fixed it for me too. weird.