Skip to content

Commit 25ced1f

Browse files
authored
Merge pull request #1336 from custom-components/Ernst79-patch-1
Add new method to get encryption key for yeelight dimmer
2 parents d029548 + bd6108b commit 25ced1f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/faq.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,11 @@ python3 get_beacon_key.py AB:CD:EF:12:34:56 950
359359

360360
This will return the beaconkey from your device.
361361

362-
**6. miiocli tool**
362+
**6. Python Yeelight YLKG07YL/YLKG08YL dimmer handler**
363+
364+
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.
365+
366+
**7. miiocli tool**
363367

364368
You can get the encryption key with the [miiocli tool (python-miio)](https://github.com/rytilahti/python-miio).
365369

@@ -380,7 +384,7 @@ Running command raw_command
380384

381385
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.
382386

383-
**7. MiHome mod (Android only)**
387+
**8. MiHome mod (Android only)**
384388

385389
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.
386390

0 commit comments

Comments
 (0)