Desk Lamp LAN control broken


I’m working on scripts to integrate Yeelights in some applications, on the recent firmware versions there seems to be an issue with sending commands to the Mi Desk Lamp. The lamp only takes maybe 1 out of 10 commands, otherwise it closes or refuses the connection.

Any idea about that? My current firmware is 1.3.7_058, users reported the bugs from firmware 1.3.0 on.

1 Like

Same problem here since 1.3.x I use external systems to control my lights (Domoticz, Homeassistant). I have several Yeelights that works flawless. Also Mi Desk Lamp was working fine with LAN Control On. But since the last firmwares i got “Connection refused”.

Please enable again LAN Control for this Lamp!

Anything else is working fine with Mi Home app or Google Home.

Mi Desk Lamp: China continental server and firmware 1.3.7_058

(If I check LAN Control with the Yeelight App it’s enabled, but it can’t be disabled-enabled the Lamp freeze for several seconds).

We will take a look at the issue.

1 Like


@dingyichen any news about this issue?

Any new firmware (current 1.3.7_058)?


I got a new firmware 1.3.9_0061.
I reset the Desklamp and remove it from Domoticz.
I re-add it and now it’s working again with LAN Control.

LAN Control is working for me on my 3 MJTD01YL. It does not work on my MJTD01SYL… There is no option for LAN control in either the Mi Home or Yeelight app. Is this a feature that will be implemented or will I need to open up my lamp to flash the ESP to be able to use it locally?