Skip to content

Shelly 1PM mini Gen4 Bluetooth scanner script exception #148945

Description

@aviadra

The problem

I am using a Shelly 1PM mini Gen4. I have switched the firmware to be the Zigbee one. However I also wanted to use the "Bluetooth scanner". At first i got the message that the BT scanner cannot be used with Zigbee turned on from HA (as i should have in accordance with #143824). However I then disabled the Zigbee from the devices web interface). Then when I activated the BT scanner from HA, it successfully completed the action. I noticed that the BT device was added to the Shelly on HA and was showing on the BT map, but not picking up any BLE devices.
I when into the devices web interface and found that the BLE script "aioshelly_ble_integration" was installed but also that it is in an error state with the message of:
Uncaught Error: Cannot read property 'isRunning' of undefined
at if (!BLE.Scanner.isRunning()) {
^
This was done using firmware version 20250520-083659/1.6.2-gc8a76e2.

For now I simply used another device that is in the "matter" mode, and it doesn't have this issue.
Willing to share any information that might help and thank you for any reply.

What version of Home Assistant Core has the issue?

2025.7.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Shelly

Link to integration documentation on our website

https://www.home-assistant.io/integrations/shelly/

Diagnostics information

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Type

No type

Fields

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions