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

Remote support #14

Open
evlo opened this issue Nov 30, 2022 · 4 comments
Open

Remote support #14

evlo opened this issue Nov 30, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request pinned

Comments

@evlo
Copy link

evlo commented Nov 30, 2022

Current Situation

Remote does pair with another switchbot device or hub.

Proposed Change

Support for getting events of remote ( https://eu.switch-bot.com/products/switchbot-remote ) buttons being pressed.

Additional Context

It kinda seems like there is no ble packet sent on button press on the remote, but I might be wrong as I do not understand bluetooth, or ble, almost at all.

@evlo
Copy link
Author

evlo commented Feb 6, 2023

Maybe and option would be to add option for advertise mode in the next firmware?

@evlo
Copy link
Author

evlo commented Apr 9, 2023

Can you please provide some feedback whether Wonder labs are considering adding advertise option to firmware or not at all?

@evlo
Copy link
Author

evlo commented Oct 4, 2023

I do not really understand BT/BLE, but I kinda guess the issue is that device does not advertise the button press, but acts as client to the server that receives notifications that button was pressed.

However contact sensor does have button and that does advertise button press as changing number when it is pressed. https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md#contact-sensor-broadcast-message byte:8 Button push counter Each time the button is pressed, the Counter value increases by 1 (1~15)cycle,16 Value changes after overflow 1

I will leave few screenshots here for me if me if I look for this inteo future or so maybe someone smarter
who maybe can do implementation for this device as it is still very rare to have this kind of device that does not wait for double click etc.








From the contact switch

image




remote

before pressing and after
image

advertised data NOT changed

Can you make the remote buttons behave same way as button on the contact sensor?

Also as it is based on RLT8762C custom community made firmware would be quite difficult to make and fix this
image

@flavio-fernandes
Copy link

/cc @flavio-fernandes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pinned
Projects
None yet
Development

No branches or pull requests

8 participants