Skip to content
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

Feature Request: Support for SwitchBot #1176

Closed
alfista2600 opened this issue Mar 4, 2022 · 4 comments
Closed

Feature Request: Support for SwitchBot #1176

alfista2600 opened this issue Mar 4, 2022 · 4 comments

Comments

@alfista2600
Copy link

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Support for SwitchBot mechanical button presser
https://www.switch-bot.com/products/switchbot-bot

Describe alternatives you've considered
Not automating the device in question

Additional context
I have a device and am happy to help however I can. Not really a developer, but a lifetime in technology.

@DigiH
Copy link
Collaborator

DigiH commented Mar 4, 2022

Hi @alfista2600, have a look at this work in progress pull request

#995

@alfista2600
Copy link
Author

closed per @DigiH's link. I need to remember to look for feature requests in the future. Now to try to figure out how to add this code to my build while I wait for it to be formally included!

@1technophile
Copy link
Owner

You can already trigger a switchbot without modifying the code, just replace the MAC Address below with the one of your switchbot:
home/OpenMQTTGateway/commands/MQTTtoBT/config

{
  "ble_write_address": "FF:AA:BB:FF:DD:EE",
  "ble_write_service": "cba20d00-224d-11e6-9fb8-0002a5d5c51b",
  "ble_write_char": "cba20002-224d-11e6-9fb8-0002a5d5c51b",
  "ble_write_value": "570100",
  "value_type": "HEX",
  "ttl": 4,
  "mac_type":1,
  "immediate": true
}

@alfista2600
Copy link
Author

Neat! Thanks! Got it working. I've gotta figure our more of this stuff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants