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

FlexSwich support #355

Closed
IhorSyerkov opened this issue Jun 3, 2021 · 5 comments
Closed

FlexSwich support #355

IhorSyerkov opened this issue Jun 3, 2021 · 5 comments
Labels
question Further information is requested

Comments

@IhorSyerkov
Copy link

IhorSyerkov commented Jun 3, 2021

New yeelight celling light and some of bulbs (YLDP26YL for-sure ) have FlexSwich support. It's quite cool, even your smart home is down you are able to turn on/off ligts :).

Would be cool to expose into HA swich for no/off Flex-mode .
Maybe somebody knows link to ble miio api, I searching on http://miot-spec.org/miot-spec-v2/instances?status=all , but looks like there only wifi devices.

@AlexxIT
Copy link
Owner

AlexxIT commented Jun 3, 2021

You can enable this mode with MiHome

@rezmus
Copy link

rezmus commented Jun 3, 2021

or miio, but it's not related to gw3

{"id":123,"method":"get_prop","params":["smart_switch"]}
{"id":124,"method":"set_ps","params":["cfg_smart_switch","1"]}

@IhorSyerkov
Copy link
Author

@rezmus where did you find those commands. Can you provide link to miio api.

@AlexxIT AlexxIT added the question Further information is requested label Jun 16, 2021
@AlexxIT
Copy link
Owner

AlexxIT commented Jun 16, 2021

You can change BLE Mesh devices properties by sending miot commands to gateway IP with gateway token.

@AlexxIT AlexxIT mentioned this issue Nov 24, 2021
27 tasks
AlexxIT added a commit that referenced this issue Nov 25, 2021
@AlexxIT
Copy link
Owner

AlexxIT commented Nov 25, 2021

Adds support. Will be in next beta/release version

@AlexxIT AlexxIT closed this as completed Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants