I’m trying to figure out the options to have the Switchbot Bot get triggered. Any thoughts around this? I have the same HA setup in a VM with no Bluetooth.
I do have a spare Pi lying around that I could setup to script, but would like it controllable eventually in HA even if it went over MQTT.
@ damonizer
Hi. I am using node.js to control the bot. You can find some info here and how I set it up. You will need an extra rpi at the least for this. I used a rpi zero w.
I have also 2 ps of switchbot. I have those intergrated in my Home assistant an i can see the status of my curtains off the are open or closed. So i also intergrated mij BLT MAC in my config, but i stil cant controll mij curtains. When i press open or closed there is nothing happend. Is here somebody how knows what it can be?
Is there any way to still make use of the Hubs Minis to get the data from the Meters or should I just see buying those as a mistake? Do people also sell those ESP32s in some kind of case that doesn’t scare normal people?
The bot has easily been detected with the official integration without the need of an hub.
Because my door lock is only bluetooth I have sticked the bot into it to run operations through HA to open the door from outiside.
I have also configured an automation to run directly from telegram so that other people can also open the door lock. İt works perfectly fine. You just have to enter their telegram id into configuration.yaml.
The integration lets you to use on - off and - toggle switchbot bot commands.
As seen in my automation for the action part whenever /door command written to telegram as an action switchbot activates. But with one slight problem. The bot keeps opening unless I give another action to close as you can see in automation.
That is not a big problem because it closes with the second “Turn off” command but I would like to know if there is a way to let the bot run only once in HA ?
The commands are manually inputted and the id is the mac address you can find in the switchbot app under that switchbot device. So for the switchbot bot you will need to add the scan command and have it scan xx minutes. That would keep it awake.