devWaves / SwitchBot-MQTT-BLE-ESP32

Allows for multiple SwitchBot bots and curtains to be controlled via MQTT sent to ESP32. ESP32 will send BLE commands to switchbots and return MQTT responses to the broker. Also supports Temperature, Motion, Contact sensors
MIT License
549 stars 68 forks source link

Enhancement: Switchbot bluetooth remote support #103

Closed TTLucian closed 2 years ago

TTLucian commented 2 years ago

https://eu.switch-bot.com/products/switchbot-remote

devWaves commented 2 years ago

only battery level can be supported unless switchbot changed something last time I checked. The remote link directly with a switchbot mac and send BLE commands

already requested here:

https://github.com/devWaves/SwitchBot-MQTT-BLE-ESP32/issues/41 and https://github.com/devWaves/SwitchBot-MQTT-BLE-ESP32/issues/38 and https://github.com/devWaves/SwitchBot-MQTT-BLE-ESP32/issues/34

TTLucian commented 2 years ago

Got it. Thanks! Made several requests to SwitchBot dev team to extend the remote functionality with the promise that they'll look into it. Here's hoping! The device has so much potential....

devWaves commented 2 years ago

basically they just need to add a button push counter for up and down to the advertised data, the same way the contact sensor does it. Then it could be supported

you technically wouldnt want it linked to a device in that case though

evlo commented 1 year ago

I think it needs firmware change as no packets seem to be sent on button press, but there is packet from the device, probably just saying it exist and battery is 0% or something like that image

TTLucian commented 1 year ago

Hi. New firmware was released for the remote some time ago. It seems to be cloud enabled now (through the Hub Mini) as it can be used to trigger scenes in the SwitchBot app and it no longer needs to be paired to only one device. Maybe it can be used now with your project.