-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid handle on all commands #43
Comments
Not sure if this helps at all with troubleshooting:
|
Let's write in here @dcarrion87 Edit : |
@BroZer8360 I don't have python2 on this system no error message for the switchbot_py2topy3.py converted one but doubt it would show an error as it's just firing the command and not listening for a response. Nothing happening on the bot.
Not showing mac address for identification reasons. |
I was able to get this working with this project https://github.com/Danielhiversen/pySwitchbot E.g.:
Looks like there's differences in how it handles. |
same problem with fireware 6.3. OS is ubuntu 20.04
|
@dcarrion87 This is all very strange and almost looks like either the BLE API is abandoned in favour of the Hub or the documentation is totally out of date regarding newer Bots. As it seems newer Bots can't be controlled anymore using just BLE and instead require the App or a Hub. See my issue here OpenWonderLabs/SwitchBotAPI-BLE#25 (comment) |
Based on replies on that other thread, does this seem to address the problem above? |
I ran into the same issue using the switchbot_py3.py file. Interestingly using the switchbot_py2topy3.py file worked for me.
I spent quite some hours searching for a package that works, hopefully this information is of use to someone. |
Running on a Raspberry Pi 4 using the inbuilt BT adapter
I've attempted to use the switchbot_py3.py as well as doing this myself and get the following when sending the handles which it should be sending:
E.g.
Is there a change to the commands/handles with Switchbot Bot version 5?
The text was updated successfully, but these errors were encountered: