Add support for MJGDYK01YL dimmer variation to miot_ylkg0xyl and miot_ylxx0xyl_pair #80
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
MJGDYK01YL is a dimmer that's shipped with Xiaomi Smart Monitor Light Bar 1S.
There're several instructions around to flash this device with Tasmota[1] or ESPHome, but none of them considers making a remote work. I decided I don't want to lose a remote, poked the device using your components, and turns out it's nearly identical to other Yeelight dimmers, only having a different
product_id
.Thus, with minimal changes to
miot_ylkg0xyl
I was able to make it work with my lamp. I have an end-to-end working ESPHome config that is currently targeting my fork: https://github.com/vanzi11a/esphome-xiaomi_monitor_light_bar_s1Using miot_ylxx0xyl_pair to extract bindkey also worked, but it took about three attempts to get past step 3.
Changes