Intent
To be able to use the dimmer switch with other smart home devices and applications eg. home-assistant
Setup Required
- YLXD02YL - Yeelight Ceiling Light [Yeelight 650]
- YLKG08YL- Yeelight Smart Dimmer Switch [Paste Version]
- Rooted Android Phone with developer options enabled
- Bluetooh HCI snoop log enabled
- BLE Scanner App
- nrf Connect App
Hardware
Protocol Reverse Engineering Open Issue
Software Tools
References
- https://github.com/MiEcosystem
[referrer @saeugetier]
Amazing repo by @0xabadc0fe 谢谢 detailing mijia iot protocol - ble, wifi - https://github.com/leopck/Yee-Light-Blue
- https://github.com/rytilahti/python-yeelightbt
- https://github.com/Marcocanc/mi-lamp-re
- https://medium.com/machine-learning-world/how-i-hacked-xiaomi-miband-2-to-control-it-from-linux-a5bd2f36d3ad
- http://nilhcem.com/iot/reverse-engineering-simple-bluetooth-devices
- https://blog.attify.com/the-practical-guide-to-hacking-bluetooth-low-energy/
- https://github.com/oliexdev/openScale/wiki/How-to-reverse-engineer-a-Bluetooth-4.x-scale
Other Solution
- ESP32 based new pcb which can fit in the same plastic housing
- Deep Sleep
- LiPo battery
- HTTP programmable actions