From df0b848b274c2db41e12499c44f095364bb11145 Mon Sep 17 00:00:00 2001 From: Ernst Klamer Date: Tue, 19 Mar 2024 13:25:11 +0100 Subject: [PATCH 1/2] Add new method to get encryption key for yeelight dimmer Add new method to get encryption key for yeelight dimmer --- docs/faq.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index 70c5fdcf..0984de6b 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -359,6 +359,10 @@ python3 get_beacon_key.py AB:CD:EF:12:34:56 950 This will return the beaconkey from your device. +**6. Python Yeelight YLKG07YL/YLKG08YL dimmer handler** + +Another script to get the encryption key is developed as [Python Yeelight YLKG07YL//YLKG08YL dimmer handler](https://github.com/psylity/yeelight-dimmer-python). Explanation on how to retreive the token is given on the linked repository. + **6. miiocli tool** You can get the encryption key with the [miiocli tool (python-miio)](https://github.com/rytilahti/python-miio). From bd6108b5dc565cca660f4f9af63106b9ca742b57 Mon Sep 17 00:00:00 2001 From: Ernst Klamer Date: Tue, 19 Mar 2024 13:27:05 +0100 Subject: [PATCH 2/2] Update faq.md --- docs/faq.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 0984de6b..4361d7c3 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -361,9 +361,9 @@ This will return the beaconkey from your device. **6. Python Yeelight YLKG07YL/YLKG08YL dimmer handler** -Another script to get the encryption key is developed as [Python Yeelight YLKG07YL//YLKG08YL dimmer handler](https://github.com/psylity/yeelight-dimmer-python). Explanation on how to retreive the token is given on the linked repository. +Another script to get the encryption key is developed as [Python Yeelight YLKG07YL//YLKG08YL dimmer handler](https://github.com/psylity/yeelight-dimmer-python). Explanation on how to retrieve the token is given on the linked repository. -**6. miiocli tool** +**7. miiocli tool** You can get the encryption key with the [miiocli tool (python-miio)](https://github.com/rytilahti/python-miio). @@ -384,7 +384,7 @@ Running command raw_command Make a note of the `mac` and `beaconkey`. The beaconkey is the encryption key you will need. `'pid'` corresponds to the PRODUCT_ID as mentioned in method 5. **The mac is reversed per two**, so in the example above, the MAC of the remote is E4:24:43:C5:48:3B. -**7. MiHome mod (Android only)** +**8. MiHome mod (Android only)** If you don't have a device (ceiling light) to pair your remote/dimmer with, you can get the key with the customized [MiHome mod](https://mi.vevs.me/mihome/files/public/others/MiHome_6.5.700_63911_vevs_dimmer.apk) with the following steps.