/images/avatar.png

Installing Tasmota on the Xiaomi Desk Lamp

MJGJD02YL vs MUGJD01YL
There are at least two versions of this lamp. Thanks to @htvekov for confirming that the MUGJD01YL variant does not contain an ESP32. It contains a TLSR8368. Some photos of the MUGJD01YL internals are provided below.

If you’re here just for “how do I flash tasmota” bit, skip to the Tasmota section below.

Now with ESPHome
ESPHome support for the single-core ESP32 chip in the lamp has come a long way. You can find the ESPHome configuration that I used with this lamp below.

I was looking for a way to light my desk my desk without screen glare. The easiest way to prevent glare on a screen is to change the orientation of the light relative to the screen either from under or behind the screen. This is not practical for ceiling mounted lights or for any floor lamps.

Using Home Assistant to dynamically layout openHasp widgets

Background

This is one of those posts that sat in the Drafts folder for way too long. Just before release, I’d discover something new that would warrant substantial rewrites. After several delays, false starts and re-writes, I finally have something that is mostly new and worth sharing with the world.

Like with the past few teardown posts, this one also started off as a ‘cart-stuffer’ item so I could unlock a more generous discount on the total purchase. The listing that caught my eye had the generic title: