I too was hit by the broken LAN control, and have been working on a different solution. Based on the ESPHome framework, I have created my own firmware to control the Bedside Lamp 2.
As of today, I have flagged the code as an alpha release version. All required components are available and I have two lamps that are now happily connected to my Home Assistant.
The tag “alpha” mainly indicates that there might still be backward-incompatible changes coming up.
One thing that I love, is that I can use ESPHome to define how the various components interact with each other and with my Home Assistant environment. The front panel light that represents the brightness could easily be used to represent the battery level of your phone, when using the slider, you might as well control your music player’s volume, holding the power button could initiate a shutdown operation for your house when going to bed, etc. etc.
Another thing that I am looking forward to, is to add extra sensors to the lamp. There are some free pins available on the ESP32 that is inside, and I think it should be doable to add for example a temperature/humidity sensor, or maybe a microwave-based presence detection sensor. There’s enough room in the lamp to stow these away.
You want to use this firmware?
If you aren’t afraid of soldering three wires to some debug pads on the lamp’s main board, and know how to flash devices using ESPHome, then this might be the solution for you.
There’s a long thread on the Home Assitant community about the reverse engineering process.
Here’s a link to a message in which the current firmware version options are demonstrated in a video.
Hi, thanks for the recommendation, I’m going to try ESPHome soon.
Xiaomi/Yeelight should f*ck each other. I promise, I’ll NEVER buy anything what contains Xiaomi or Yeelight on its box. I don’t care, what company is the responsible for LAN control removal. I’m the customer, who paid money for a device, not my job to find out, which co-company is responsible for what feature.
You, Xiaomi, Yeelight screwed up your customers what will impact back on a nice day. You’ll get what you deserve.
Never Xiaomi, never Yeelight.
The problem is NOT the LAN control removal. The main problem is you removed it without any notification: “hey customer, we’ll remove it, please do not update in the future if you’re using it”. This step would be fair.
This is truly great work, mmakaay! I have been following your work for a while now, and I will definitely use your firmware for the bslamp2!
@everyone that wants LAN control back forever;
-Buy yourself a usb to ttl converter. They’re cheap and available everywhere.
-The soldering bit isn’t hard and is only necessary to get mmakaay’s firmware on the esp chip. From there you will only use OTA.
Hey guys, please let me introduce an idea. Since this is an international community, for seeing everything clear, I suggest all of you, post your thoughts in english and ignore chinese, russian, french and other non-english languages, please.
English is understable for everybody and it is cohesive. Using other languages is segregational for the others.
@chyhaiyuan Hi. My ID is 6211458320 with Europe server. I’ve been whitelisted already and it seemed to work but the option has disappeared again recently. I assume it’s been automatically upgraded to version 43 for some reason. Could you please whitelist me again so I can get LAN Control back please?