Switchbot detection not working

Hi all,
I’m using a Raspberry PI4 with home assistant and I want to add switchbot devices to it (one hub mini and one Meter Plus).
I’m using the official Switchbot integration, but every time that I run it it say “No devices found”.
Both devices work fine in the app.
I’m not understanding why it’s not working, can you please help me?

1 Like

Your bluetooth module might be offline for some reason – you could try shutting down your raspi (settings > system > hardware > three dot menu in the upper right > SHUTDOWN host) and then unplugging it and re-plug it back in.

I just got a new switchbot button pusher yesterday, and this is what I had to do to get it to connect to the integration. I also reset the device password in the switchbot app (device > password).

You could also try adding the device to your configuration.yaml manually and restarting home assistant to see if it picks it up. Depending on your component, your integration might look something like:

switch:
- platform: switchbot
  mac: 'mac_addr_from_switchbot_app'
  name: "My Device"
  password: 'password_from_switchbot_app'

I also am having the same trouble when installing the official Switchbot integration.

I’ve tried the workaround described by [morganrae], but it did not work for me. I also didn’t see any errors that might help me troubleshoot.

I have plenty of Bluethooth devices that are working well, so I’m pretty sure it’s not my Bluetooth integration.

I’m running Home Assistant Core 2023.3.6 in VMware ESXi. Does anyone have any more ideas on how to proceed?

Did you manage to resolve this? I am currently having this issue

same here… i have a switchbot lock which works perfectly fine via bluetooth, but the switchbot bot i have isn’t being recognized at all

i have just found the issue for me, Switchbot - v0.18.10 - No unconfigured devices found. · Issue #77179 · home-assistant/core · GitHub

there was an entry in .storage/core.config_entries from some previous installation (i am guessing via the mqtt bridge? not sure honestly), but after deleting the bot entries in there by hand it gets recognized again!

how did you find the file .storage/core.config_entries

I am showing all the hidden files and still can’t find .storage.

found it here:

  1. install the ssh from hacs
  2. open the ui.
    still not sure how to ssh directly from my terminal

you can use the file editor add-on from hacs. maybe you need to enable it to see invisible files: go to settings → editor settings → show invisibles

alternatively, use for example putty to log into your HA instance via ssh

Did anyone get this working? It’s been over a month so I hope so!

I have a switchbot bot that works perfeclty but I bought a new one that works in the app but HA can’t find it. The other bot works with HA and in Iphone but I can’t get the new one to work with HA

Any help would great!

I’m in a similar situation. I found out that if you turn off “passive mode” in the bluetooth device in the integrations. The device will show up eventually. You can toggle the device in the app.

My current issue is that the device isn’t responding to on or off commands from HA. I think it might be related with bluetooth.

1 Like

I use ESPHome as a bluetooth proxy, but it fails to detect my switchbot indoor outdoor meter which is perfectly read by the switchbot app. But it once worked intermittendently and shortly quitted at all. Distance is about 2,5m.
Also the BT proxy works with my Govee Thermo-Hygrometer. So what can I do about the Switchbot? I read about the active and passive mode, but couldn’t find any toggle for that in any HA integration.

Did you solve the issue?
On the integration page for your Bluetooth proxy ESPHome device, is there a “Configure” option? For some Bluetooth integrations/devices you’ll get a popup dialog that offers option to enable passive/active scanning.

I don’t have an ESPHome Bluetooth proxy device yet so apologies if my info is not of help.

This actually solved it for me. After deactivation “passive scanning” the switchbot lock immediately was found!

thx for that hint @paulo-graca

Same issue with SwitchBot Contact Sensor - turned out I had to physically power cycle my pi. Bluetooth adapter would fall back to passive scanning even after disabling passive scan.