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

Add new method to get encryption key for yeelight dimmer #1336

Merged
merged 2 commits into from
Mar 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,11 @@ python3 get_beacon_key.py AB:CD:EF:12:34:56 950

This will return the beaconkey from your device.

**6. miiocli tool**
**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 retrieve the token is given on the linked repository.

**7. miiocli tool**

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

Expand All @@ -380,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.

Expand Down
Loading