Space Geek

A small and easy project that’s therefore been lying around for a year or two (or more). This is not really a diy complete guide but more of an idea of what you can do and so simple you can probably figure it out.

I originally wanted to have a moon lamp to put on the wall in my office to show me the phases of the moon. I therefore enthusiastically ordered a cheap moon lamp from AliExpress (or whatever) for this and it arrived. It looked nice.

However, I didn’t think this thru entirely, how could this lamp show the real moon phases without a decent calendar or some other sort of other steering. It was dumb and just circled the moon phases around and around within one or two minutes :upside_down_face:

This was of course embarrassing and not what I wanted. So eventually (read the first sentence), the weekend project started, with the intervening thrown out of the lamp, and in with a ESP32 and Esphome that can control each led individually.

Added a new automation in HA that uses the moon.sensor to read the phases and light up each relevant led for the specific phase. So now the lamp behaves the way I originally anticipated.

It starts at sunset and shows the actual moon phase until the lights turn off in the evening.

So, now on to the next small and easy project that’s been lying around for a year or two … some weekend in the future … The Millenium Falcon with ESP32 and ”real” lasers.

5 Likes