Select Page
Build a Lithophane Frame That Lights Up Only When You Walk Into the Room (~$70)

Build a Lithophane Frame That Lights Up Only When You Walk Into the Room (~$70)

For all of the Lithophane enthusiasts out there, you might find this publication useful and worth your time. If you are familiar with Lithophane printing, then you have probably wondererd what the best way would be to control the light of that picture frame.

Instead of plugging and un-plugging the USB-C cable from the frame or using a USB-C adapter with a power on/off switch or even fancier using a smart plug you can control via voice or home assistant, you can now simply walk in front of it and even sit in front of it and it will stay lit until you walk away. 

This publication is about using the official Bambu Labs Lithophane frame which you can get with any Lithophane picture you create under https://makerworld.com/en/makerlab/makeMyLithophane/ and the instead of using their official picture frame, you use this modified frame and a few electrical components. 

There are 2 versions of this modification. One without soldering (it will not look as good and neat but fully functional) and a second version, which will require soldering of 5 cables and splicing a USB-C cable. 

 

Let;’s start first with what a Lithophane is for people who don’t know. From Wikipedia: 

“A lithophane is a thin plaque of translucent material, normally porcelain, which has been moulded to varying thickness, such that when lit from behind the different thicknesses show as different shades, forming an image. Only when lit from behind does the image display properly”

 “Modern consumer 3D printing primarily employs two technologies for lithophanes: fused deposition modeling (FDM), which uses standard thermoplastic filaments like white polylactic acid (PLA) extruded layer-by-layer to control light transmission through varying thickness via multi-material 3D printing, which layers translucent cyan, magenta, yellow, and black (CMYK) plastics to mix colors when backlit.”

Next you will see an exampe of a Lithophane without light shining through and then with. Credits for those pictures go to:

 

By Elke Wetzig (Elya) – Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=3280948

 

By Elke Wetzig (Elya) – Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=3280948

As you can see, the picture without light is barely recognizable while the one with the light shining through becomes very recognizable. 

Modern technology is allowing us now to print with our 3D Printers either black and white, gray shades or even color lithophane pictures. 

This project can cover all of the above as it only helps you with the automatic light enablement behind that picture. 

Each picture frame requires a LED matrix, which you can buy from various sources including Bambu Labs themselves for about $10 US dollars. 

You can buy the same LED matrix boards from overseas but you need to make sure that the size and thickness matches and if they come in one piece or 2 pieces. Some of them come with an inline adapter to turn the light on or off and even adjust the brightness but it is all manual. 

 

My first iteration of this was not adjusting the picture frame at all but instead using a C3 Super Mini ESP board with an LD2410c presence sensor and a USB3 Hub with on/off capability for power through mode. 

In theory great, but it resulted in having to custom make a 3D printed case, which was not too bad, but then having to purchase a USB-splitter cable going from USB-A to USB-A and at the same time to USB-C (or use an adapter) and then going out again via USB-A to the USB-C power connector of the LED matrix of the Lithophane frame. 

Then you have to position the sensor at the right angle somewhere else next to the frame or above or below it to be able to detect motion. Some might say that this is a benefit as you can decouple the sensor from the actual lithophane frame itself, but I can say that it was a cable disaster and unless you secure that case, it will move from all the cables being attached. 

This is why I redesigned this from scratch and came up with a better solution embedding the sensor into the frame itself and only requiring one USB-C cable to power that whole solution as long as you can provide at least 2A or more, but more about this later. 

 

As mentioned earlier, you can download 2 versions of the frame. A portrait mode and a landscape mode frame and for both you can chose between plug&play or soldered version. 

I am providing you the Fusion 360 (.f3d) files in case you want to modify the files and simply provide credit to my work when you publish a remix or a fork. 

You will find the detailed components required below and a lot of testing has gone into this ranging from what ESP board to use, which provides 1A output to the LED matrix as normal ESP32 modules only provide 500mA output at 5V and can’t be switched hence picking up the a 3.3V presence sensor, but more about this later. 

I researched almost all the presence sensors out there and I physically tested LC2410b, LD2140c, LD2410s, C4001 aka SEN0609 from Dfrobot, LD2420, LD2450, XIAO 101010001 and Waveshare S3KM1110.

Given that this picture frame is not about multi-person tracking and/or zones and simply to turn the light on/off for the frame the Dfrobot C4001 with 25 meters running at 3.3V is the best option. 

Being able to use a single ESP32 board supplying 5V with 1A to the LED matrix and running a 24Ghz mmWave presence sensor at the same time has resulted in limiting my options to only the 3.3V presence sensors and continuously running without power fluctuations. At the time of this publication you can buy one of those sensors for $13.90 US dollars.

Sensor 3.3V supply 5V supply
LD2410B No Yes
LD2410C No Yes
LD2410S Yes No
DFRobot C4001 / SEN0609 Yes Yes
LD2420 Yes No
LD2450 No Yes
Seeed mmWave for XIAO — 101010001 Yes No
Waveshare HMMD — S3KM1110 Yes No

The other major component was to find an ESP board, which power the LED matrix and at the same time power the mmWave sensor reliably. I have all kind of ESP boards I have tested and used over time and I was not able to find one until I started thinking outside the box. 

There is one product called Dig2Go, which you can find here https://quinled.info/quinled-dig2go/ which is usually used for very different use cases or applications mostly with wearables. Looking into the details of this solution, it has GPIO connections but also a 3.3V and a 5V power supply line. The bad news is because the 5V line is switched, turning off the matrix also turns off anything on that line, including the sensor. 

As a result, only the 3.3V option remained hence the C4001 aka SEN0609 sensor being used here. 

 

I would strongly recommend to purchase the D2G kit with the USB-Cable and the Power supply. This will save you a lot of headaches later. 

You will require 2A to power this whole solution and this bundle comes with the USB cable and a 5V 3A power supply, which is more than enough for an additional $8.00 US dollars for both. Hard to beat that price. The complete bundle comes with the Dig2Go + USB cable + 3A power supply for $36.00 US dollars + shipping. 

The other key part is the XH2.54 3Pin connector cable. This is usually attached to LED strips, but in this case to our LED matrix. 

After relentless searching, there is no XH2.54 3Pin to USB-C on the market I could find. You can find XH2.54 4Pin and XH2.54 2Pin to USB-C cables, but not for XH2.54 3Pin. 

This is where I mentioned before the USB-C cable splicing comes in. You have two options here. You either buy a terminal block USB-C cable and connect that to a XH2.54 3Pin female to XH2.54 3Pin male cable which has two additional wires sticking out for additional power injection, which is exactly what you can use to power the LED matrix. This is the path if you don’t want to or you don’t know how to solder and/or splice cables. It will not look as good, but it will be fully functional. 

 

You can see in this picture the terminal block connected to the LED matrix and the 2 wires usually used for power injection into the LED strip to power the LED matrix. 

This way you don’t have to cut any wires, solder anything or splice wires. Quick and easy hack.

You also can see on this picture a 90 degree angled USB-C connector to power the Dig2Go board. I would highly recommend that as most USB-C cable connectors are fairly long and it will lift your whole lithophane frame off the ground. 

You could use a left or right angled USB-C cable connector, but this is really up to you, but I would refrain from using a right angled one as it might clash with your terminal block USB-C connector. 

As I mentioned, this is the solder free version and you can see the complete solution on the right. You can see the USB-C terminal block connector, the Dig2Go with the 5 cables, which are dupont cables you can buy anywhere and you will need female to male cables to connect the Dig2Go to the C4001 sensor tucked away on top behind the sensor lid. 

This is truly plug&play. The ONLY hard part for you will be to open the original Dig2Go case without breaking it in case you want to keep that case. I broke the fins of 2 of those cases trying to open them and each has 4 fins. They still work with 3 fins each. 

Once you open the case, you have to decide if you want to use the plug&play method or if you want to make it really look neat and professional. 

In case you want to make it look clean, then you will need to pull the 2 white blocks below carefully out. They should come off easily as long as you pull straight without bending while pulling.

 

This picture shows you the soldered version and you will also notice that there are 2 STL files you can download. The portrait mode and landscape mode lithophane frame. 

In this landscape version I connected 5 dupont cables to the C4001 sensor, which is simply push on but then I soldered the other side of each cable onto the metal clamps, which became visible pulling off the 2 white blocks shown earlier. Those Y shaped metal clamps are easier to solder on, but I do recommend to clip them a little bit as they are very long and with the wires, they might prevent your case from closing properly. 

This also means, that you will find 2 STL files for the Dig2Go lid. One STL file without the 2 holes for the 2 white blocks and one version where those 2 blocks are closed and instead you have a side hole to route the wires out to the sensor. 

You can see this additional hole in this picture allowing you to neatly route those 5 wires out to the sensor chamber. 

 The pinout guide below shows you the GPIO headers on the left and the power and ground headers on the right. 

In my picture the purple dupont cable is my 3.3V power going to the very right side of the C4001 (labeled VIN) and the blue wire going to the ground (second from top) to the second from the right on the C4001 (labeled GND). 

The white wire on the top left labeled IO25 going to RX (middle connector on the C4001). 

The black wire on the left (second from top) labeled IO23 going to TX on the C4001 (4th from the right). 

The brown wire on the left (4th from the top) labeled IO21 going to the OUT on the C4001 (5th from the right or very first from the left). 

The cover was designed after the original Dig2Go cover and that means that I kept the power on/off button on the case functional. As a result, you can simply push this button and the lithophane frame will simply stay off or if turned on, it will react to your presence. 

You will also notice the USB-C cable connecting to the LED out port of the Dig2Go. This is where I used a simple cheap USB-C cable, cut it off and connected it to the cable, which came with the Dig2Go. I will wrap that with white tape later to make it really look nice. You can however, how the USB-C cable connects to the LED out port of the Dig2Go here.

The Dig2Go case is held in place using simple filament. You will find 2 holes in the two rail tracks, where you slide on the case. At the bottom of that track there is a hole on each side. Simply slide in filament to hold the case in place. 

 

This is how it would look like with the LED matrix board inserted for a portrait mode lithophane frame. 

The sensor is embedded right behind that motion sensor sign and if you print in white PLA, you will see a blue shimmer coming through from the C4001 when presence/motion detected and a green slow blinking light when no presence is detected. You can improve that if you change your 3D printer settings to use 100% infill for the presence sensor section. 

If you don’t know how to do that, research for your 3D printer (Bambu, Snapmaker, etc) how to adjust infill for sections of your print. It is not difficult and studies have shown that using 100% infill for the wall in front of presence sensors actually increase the accuracy due to less bouncing of the radar signals. 

Again, if you don’t like the look and feel and you want to change the sensor cap shape, feel free to use the Fusion 360 file and create your own sensor cap design, just reference my original design for your remix or forked design.

Before you ask the question, I did run a full 36h non-stop power-on test and I actually measured the temperature of the actually picture itself embedded in the frame and more importantly the actual C4001 sensor for various reasons. 

1. to ensure the PLA does not warp or melt

2. The C4001 chamber has enough air flow without overheating (29C or 84F was the average temperature). 

Here is the side by side view of the final portrait mode and landscape mode with 2 lithophane pictures and you will notice the blue shimmer of the sensor on top.

If you print in a darker PLA color and you go from the default of 15% infill to 100% infill for just that part in front of the sensor, that blue shimmer will no longer be visible. 

Personally, I don’t care about that and it is good to see if the sensor is actually working or not. Your call. 

 

Now, let’s talk about the software part as hardware and 3D printing is only half the story.

The Dig2Go comes pre-installed with the WLED software, which is great software but not useful for our use case. 

You will have to visit https://web.esphome.io/ and connect your Dig2Go via USB-C cable to your computer (I used my Windows PC and I haven’t tried my Mac yet but they support both). Then you select your COM port and then you press on prepare for first use. 

This will wipe the WLED software from the Dig2Go device and install ESPHome. From here you have 2 options. 

1. Non Home Assistant users: If you don’t have Home assistant installed, you can still proceed and use this https://homeautomation.expert/wp-content/uploads/2026/11/lithophane-frame-firmware.factory.zip file. You have to unzip the file and then use this file after you have prepared the Dig2Go for first use. The screen shows you when you click on install that you have to select a file to flash. Flash the .bin file from the extracted zip file. This will install ESPHome with the default settings on the Dig2Go.

2. Home Assistant users: After prepare for first use, you go into your Home Assistant and click on ESPHome Builder (install/enable if necessary) and then click on New Device, select or enter ESP32dev as the board and click create. Then click on edit and cut and paste the following YAML file stored in the ZIP file below. https://homeautomation.expert/wp-content/uploads/2026/11/lithophane-frame-public-yaml.zip

 

For Home assistant users: To remind you that all ESPHome devices require an API encryption key for security reasons. You need to copy that API key BEFORE you overwrite the YAML configuration. Store that key somewhere safe.

Then download the YAML file from here. https://homeautomation.expert/wp-content/uploads/2026/11/lithophane-frame-public-yaml.zip Download this zip file and extract the .yaml file. Cut and paste this YAML config into the device you just created.

Then copy back in the API key you saved away earlier. You will need this key after the reboot of the ESP device when you try to add this newly detected ESPHome device in your Home Assistant Settings – Devices. It will ask you for that key!

 

The controls in Home Assistant under ESP Home allow you to control settings like clearance delay, detection delay, frame on/off including presence control. 

You can also adjust the sensitivity of the C4001 sensor based on your liking for motion and/or presence. 

I should point out that the physical button on the Dig2Go itself acts as the general On/Off button for that Lithophane frame meaning if you turn it off, the frame will stay off regardless of any motion or presence detection. 

I specifically left that button intact and compiled it into the code giving you physical control in case you want to manually turn off the frame and keep it off.

You can also schedule the On/Off with a Home assistant automation meaning that the frame will only turn on after sunset until sunrise or whatever schedule you chose. The possibilities are endless. 

You could also use this sensor as a presence detector for your room and trigger other Home Assistant automations. 

 

Landscape mode: Download the complete package of all STL files and the Fusion .f3d file and all screenshots compressed into this one zip File https://homeautomation.expert/wp-content/uploads/2026/11/Lithophane_Landscape_frame.zip

Portrait mode: Download the complete package of all STL files and the Fusion .f3d file and all screenshots compressed into this one zip File https://homeautomation.expert/wp-content/uploads/2026/11/Lithophane_portrait_frame.zip

In summary you could create a presence sensing lithophane frame with your 3D printer and now you will ask, but what’s the cost:

1. Dig2Go + USB Cable + Power supply = $36.00 + shipping

2. C4001 aka SEN0609 sensor Dfrobot = $13.90 + shipping

3. LED matrix from Bambu labs shop   = $9.99 + shipping

4. USB angled adapter optional             = $2.90 + shipping

5. Dupont cables                                       = $5.00 + shipping

6. Terminal block USB-C connector       = $2.50 + shipping

7. LED female to LED male with power = $2.50 + shipping

* excluding PLA for printing your lithophane picture and also excluding the PLA to print your frame. 

Total cost for neat & professional or plug&play will come to a total cost between $65.00 to $70.00 US dollars + shipping.*

 

Switchbot vision pro lock setup

Switchbot vision pro lock setup

Switchbot lock vision pro setup

I recently installed the SwitchBot Lock Vision Pro at my home. As with any smart home addition, the goal was seamless integration into my existing ecosystem, specifically Home Assistant. The physical installation was straightforward, but the digital onboarding presented a specific hurdle that I want to detail here to save others the same confusion. This is not a review of the hardware’s features, but a report on the setup process, specifically the transition from a standalone device to a fully integrated Matter node.

Before diving into the steps, it is worth noting that I have covered various lock integrations in the past, such as my experience with the Yale door lock. Each manufacturer approaches connectivity differently, and SwitchBot’s approach via the app-first model has its own quirks. If you are following this guide, assume you have already purchased the device and completed the physical mounting. The focus here is the software handshake between the lock, your phone, and your hub.

Physical Fitment and Installation

The installation process began with the physical components. The Lock Vision Pro comes with several parts, including the main lock body, the keypad, and a specific plastic piece designed to interface with the outer door frame. This is where I encountered the only friction during the physical setup. The plastic piece that goes into the outer door frame was way too big to fit into the hole that was already there. It is a physical fit issue, not a manufacturing defect in the traditional sense, but a compatibility gap between the provided hardware and the existing door structure.

Once I resolved the fitment issue by adjusting the mounting point, the rest of the physical installation proceeded as expected. The alignment of the deadbolt mechanism and the keypad panel is standard. However, it is worth mentioning that if your door frame has a pre-existing cutout, you should measure the SwitchBot plastic insert before you start drilling or modifying the frame. I did not need to drill new holes, but the size mismatch required a different approach than the standard tutorial videos suggest.

Physical installation is only half the job. The lock is not smart until it is paired. I wanted to highlight this step because many users move straight to the app, assuming the physical mount guarantees functionality. In my case, the physical fit was the variable, not the procedure.

Initial Pairing via Bluetooth

After securing the lock to the door, I opened the SwitchBot app on my phone to initialize the device. The first step is always Bluetooth pairing. I held the pairing button on the lock until it entered discovery mode, then selected it in the app. This process is standard for most Bluetooth Low Energy (BLE) devices and did not present any issues. The connection was stable, and the app recognized the lock immediately.

At this stage, the lock is fully functional within the SwitchBot ecosystem. You can lock and unlock it, and trigger events. However, it is not yet integrated with other platforms. I have found that many users, including myself, overlook the next step.

My next step was to pair the lock with Home Assistant. I navigated to the Matter integration in Home Assistant and initiated the pairing process. I waited. Nothing happened. The lock was not showing up in the list of available Matter devices. I checked my Wi-Fi signal, my Matter bridge, and the lock’s power. Everything seemed correct, yet the device remained invisible to the hub.

I realized that I had assumed the lock was automatically broadcasting its Matter identity after the initial Bluetooth setup. This is a common misconception. Many manufacturers assume that once a device is set up in their app, it is discoverable by other platforms. In reality, the SwitchBot Lock Vision Pro requires you to explicitly enable pairing mode for Matter discovery from within the SwitchBot app. Nobody told me this. The onboarding guide in the app does not clearly state that you must return to the app to initiate this specific state before another platform can find the device.

I found this step online, in community forums and support documents that were not part of SwitchBot’s own onboarding flow. The solution was simple once I knew it existed. I had to open the SwitchBot app, navigate to the lock’s settings, and find the option to put the device into pairing mode for new controllers. This is distinct from the initial Bluetooth pairing mode. It is a specific state that tells the device, “I am ready to be discovered by a Matter controller.”

This is a critical detail. If you are following this guide, do not skip the Bluetooth setup. You must complete the initial configuration in the SwitchBot app. Then, to make it discoverable to Home Assistant (or any other Matter controller), you must go back into that same app and trigger the Matter pairing mode. The device acts as a Matter bridge, and the pairing mode allows the external hub to discover it on the local network.

Once I initiated this pairing mode from the SwitchBot app, I returned to Home Assistant and retried the discovery. This time, the lock appeared. The difference was not in my Home Assistant configuration, but in the state of the lock itself. It was waiting for a signal that it was authorized to be discovered by a new controller.

Switchbot lock vision pro setup
Switchbot lock vision pro setup

Joining via Matter over Wi-Fi

With the lock in pairing mode, I was able to use my cell phone and the Home Assistant companion app to join the lock to Home Assistant via the Matter over Wi-Fi protocol. The companion app is useful here because it allows you to manage the Matter pairing process directly from a mobile device, which can be more convenient if your main hub is running on a headless server or a device without a touchscreen.

The process of adding the device via Matter over Wi-Fi involved entering the Wi-Fi credentials for the lock. This is a crucial step. The lock needs to connect directly to your Wi-Fi network to function as a Matter node. It does not rely on the phone’s internet connection for this. You are essentially telling the lock, “Here are the network credentials, and here is the Matter commissioning payload. Connect and register.”

Once the lock connected to Wi-Fi and completed the Matter commissioning, it was visible in Home Assistant. The integration was clean. I could see the lock state, lock it, unlock it, and trigger events. The latency was comparable to other Wi-Fi-enabled devices, and the reliability has been consistent in my testing.

It is important to note that this setup allows the lock to be controlled locally through Home Assistant’s Matter integration. While the initial setup required the cloud (the SwitchBot app) to put the device in pairing mode, the ongoing operation is handled through the Matter protocol on your local network. This provides a level of privacy and speed that is often lacking in purely cloud-dependent devices.

Practical Insights and Next Steps

The key takeaway from this process is the importance of the “pairing mode” step in the SwitchBot app. If you find that Home Assistant cannot see your SwitchBot lock, this is the most likely culprit. The device is not broken, and your Matter configuration is likely correct. The lock is simply not broadcasting its presence to new controllers.

I have integrated other devices that require similar steps, such as the Z-Wave doorbell integration, where the pairing process is distinct from the initial setup. The principle is similar: the device must be in a specific state to be discovered. For the SwitchBot Lock Vision Pro, that state is managed within the proprietary app.

For those considering this lock for their own setup, I would recommend verifying that your Wi-Fi network is robust. Matter over Wi-Fi devices can be sensitive to signal strength. Since the lock is on a door, the distance to your router might be significant. I placed my router in a central location, but I would advise testing the signal strength at the door location before finalizing the installation.

In summary, the physical fitment of the outer frame piece was a minor hiccup, but the software setup required a specific, non-obvious step in the SwitchBot app to enable Matter discovery. Once that was done, the integration with Home Assistant via Matter over Wi-Fi was smooth. If you are looking for a lock that can fit into a modern, Matter-based smart home ecosystem, the SwitchBot Lock Vision Pro is a viable option, provided you are willing to navigate the initial app-based configuration. I hope this helps clarify the process. 

Visual Print Status – Color cues with Home Assistant

Visual Print Status – Color cues with Home Assistant

Many people are using 3D printed modifications for adding LED lights to their Bambu X1C printer. 

You can see the riser with a 45 degree angled LED below from the riser featured on printables. Credits to https://www.printables.com/model/365027-bambulab-top-glass-riser-4-cob-led-remix-with-led- 

This setup has a separate power supply. The normal people would simply power that on e.g. white LEDs, when they power on their 3D printer. Not was not ideal and not what most people actually want. 

 

The choice to better control the lights and also add color was using an ESP32 micro controller running WLED. If you are not familiar with this, I would suggest to check it out. There are numerous postings and instructions online on how to control all kind of LED lights with ESP micro controllers or others using the WLED software.

 Check out the WLED software here https://kno.wled.ge/ and you can find all the instructions on how to create a functional LED controller. 

For my setup I used 144 LEDs / Meter for better coverage and not having to install any kind of diffuser.

The power supply will depend on what LEDs you chose as you can buy them with 5V, 12V or 24V. As a thumbnail people usually use 0.3 Watt / LED meaning if you have 144 x 0.3 = 43.2 Watt. For safety the recommendation is a 20% buffer resulting in a 50 Watt power supply for my case. Again, make your own choices depending on which LEDs, voltage and length you want. 

 

Using WLED to control the LEDs is great, but you want this to be automated. You can use many automations to drive light and color control. 

In my case I am using Home Assistant https://www.home-assistant.io/ and there is an integration for WLED you can install to detect and control WLED instances. 

Once you control the WLED instance of the 3D Printer lights using Home Assistant, you can automate this by installing the Bambu printer integration in Home Assistant as well. 

That integration provides you a lot of printer information, but more important status information enabling you to drive automations like this. 

As a result you can get visual cues covering the print process in white for power on or during printing by coupling the LED lights to the status of the chamber light of the Bambu X1C printer. 

When a print failed, you can trigger the red light and after the printer finished successfully, you can enable the green light. 

You can reset the light status to white when a print starts. Of course, you can implement your own logic as I am only exposing here what is possible and what I implemented for my 3D printer setup at home.  

 

You can implement a single automation to drive all LED status cues, but this can become really complex really quickly.

It is much easier to implement one automation for each color or cue, as you can see in the screenshot of the Home Assistant automation page. 

 

 Once the automations are setup, Home Assistant will drive the color cues automatically.

When you power on the printer, it starts with white based on the chamber light being turned on. 

When you start a print, it enables the white color, which is also used to reset the color after it has turned green or red. 

You can also run automations to notify your cell phone when a print is finished or failed.

Yes, you could use the Bambu lab app on your phone, but having to open the app and loggin in and then clicking on the live stream when you only want to know if it succeeded or not is overkill. 

WLED is so powerful, you could run animations as well like a specific pattern of lights in repetition or just once before turning on a specific color. The possibilities are endless here. 

You could also turn off the lights after a certain period including the chamber light if power consumption is a concern. 

You could replace the chamber light as well to match the LEDs, but that would require modifications of the existing wiring and I wanted to keep my adjustments reversable.  

In summary, you can 3D print the riser from printables, purchase an ESP32 controller and install WLED on it, purchase LED lights of your choice and make sure they fit into the riser channel.

You install the WLED and the Bambu lab printer Add-ons in Home Assistant and discover the WLED controller and call those “Printer lights”, which is also nice to be able to voice control those via voice e.g. Alexa or Google Home or Nabu from Home Assistant. 

This proejct took me two weekends once all parts arrived including printing time. 

One weekend spent on the hardware and one weekend spent on the software and integration and automation. 

I can truly say, coming down in the morning into my office and just looking at my 3D printer and seeing a green color is telling me already that it succeeded. 

Is there a chance that you could have a failed print and it shows green? Yes, but the AI of the Bambu printer is pretty good in detecting issues. 

I hope you found this helpful. Feel free to reach out with questions. Happy to answer and if you other ideas like this please share. 

Thanks. 

 

Motion activated LED stairs lights with voice control

Motion activated LED stairs lights with voice control

Walking up or down the stairs at night can be made to an experience by using LED lights. Being able to have different animations or LED patterns makes this even more exciting. How do you achieve such a thing?

By using motion activated LED stairs lighting integrated into Alexa and Home Assistant based on Dig-Quad LED Controller using ESP32 with HC-SR04 ultrasonic distance sensors and UHP-350-12 Mean Well power supply. 

This project can be completed in many ways from just buying the components or going the extra mile and buying LED channels, diffusers and 3D printing the casings for the distance sensors. 

Let’s start with the core, which is the Dig-Quad LED controller from Dr ZZs https://www.drzzs.com/shop/ 

This controller comes with an ESP32 board already, fuses for extra protection and pre-flashed with WLED. 

You could build this yourself with an ESP32 Dev board but the ease of install and the additional protection including Youtube videos on how to install, makes this a no-brainer.

 

Which power supply to use will depend on the LEDs you chose e.g. 5V vs 12V vs 24V and how long and how many LED strips you want to install. There are plenty of websites and calculators out there to enable you to make the math how much WATT you need for what length and voltage. 

In my case, I went with 12V LEDs and given my length, I went with the 350W power supply. Another important aspect is the cooling method of the power supply. Having deployed various solutions like this, I can only recommend to avoid any fan based solution.

Those can be very loud and mechanical fans will fail. So the question is not if but when they will fail. This model here with the Mean Well UHP-350-12 is fanless and zero noise.

The fanless models might be a little bit more expensive but having a higher MTBF (meantime before failure) and no noise is certainly worth this price.

 

The type of motion sensor is important from a distance, false positive, price and reliability perspective. 

You could go overboard with mmwave doppler motion sensor like the LD2410 in which case you have to ensure the proper voltage, etc or simply go with the HC-SR04 ultrasonic sensor.

This sensor is extremely affordable and you can actually specify the distance parameters in the WLED UI to fine tune your detection radius. 

I did try the HC-SR501 motion sensor as well, but the detection reliability was not even close compared to the ultrasonic sensor, so I opted for the HC-SR04 module for the top and the bottom of the stairs.

The home assistant integration is extremely easy by installing the WLED integration. Once you enable this integration it will auto-discover all your WLED instances in your home.

As you can see in this screenshot, you can conduct firmware updates, control the intensity of the lights, you can define the segments, etc. 

You could go as far as having an ESPhome Bluetooth tracker mapped to your Samsung or Apple watch and create conditions to show different patterns depending on who is going up or down the stairs. 

I opted for the stairs integration natively within WLED as this integration, while being outside of home assistant, allows you to fine tune your motion sensor parameters and set the pins for the upstairs and downstairs motion sensors via the UI. 

I should point out though, that this stairs integration is NOT natively in WLED. There are some binaries out there which include that integration or you can compile your own WLED binary with Visual Studio, which is what I did. 

Again, you don’t have to go down that route. You can simply use home assistant to do the animations for you and you could use your own motion sensors based on Zigbee or Z-wave to trigger the lights. The possibilities are endless.

Within the WLED settings in the UI, you can specify if you want that device to be discoverable by Alexa or you can use home assistant and go into the device settings and click on voice assistant and you can decide there, if you want to expose this device to Alexa and/or Google. 

A very interesting question to ask is what wins if you turn on those lights via voice and then walk up or down the stairs with the motion sensors. Will they turn off based on your timer of the motion sensors or will they stay on?

I will give you a hint… if you just use home assistant you control and decide the behavior, while using the stairs integration of WLED will do its own thing. 

 

Unleash your full Unify Dream machine Wifi 6 Speeds

Unleash your full Unify Dream machine Wifi 6 Speeds

With Wifi 6 and Wifi 6e and the just announced Wifi 7 standards rolling out, you want to ensure that you have the latest and greatest speeds at your home. 

There are some gotchas on the path to achieve the highest performance and I will also address the most economical vs the “Unify ONLY” method.

With the release of the Wifi 6 Access Points of Ubiquity you will notice the speed requirements of 2.5Gb/E POE to ensure the optimal performance for your network.

 

 

The UDM-Pro Dream Machine is a great device but if you look closely you will find 2 x 10G SFP+ ports, 1 x 1G RJ45 WAN and 8 x 1G RJ45 ports for a total of 11 ports. 

The first scenario is using the 1G RJ45 WAN port connected to your Xfinity, ATT, etc modem/router (hopefully is pass-through mode), which leaves 2 x 10G SFP+ ports to connect to your new Wifi 6 Access Points.

You would have enough ports to direct connect them to your UDM-Pro but you don’t get POE assuming you want to connect 2 Access points for redundancy reasons.

 

The new U6-IW Access Point, which is an In Wall Access Point powered by POE. The Access Point has additional network ports at the bottom and you will need to power this access point with POE+, if you want to have POE out.

POE+ is not required but recommended as this access point and the U6-LR (Long Range) consume about 15W on average. 

The challenge comes with the POE+ part. You have to purchase a switch with POE+, which also support 2.5Gb/E or you use the existing 10G SFP+ ports but then you need a POE injector.

You can go with the Ubiquity POE adapters or buy no-name POE adapters, but the best path of action would also be the priciest path as Ubiquity recommends their enterprise 24 Port POE+ switch for $800 all the way to their enterprise 48 Port POE+ switch for $1,600.  

 

With those prices for those POE+ switches the POE injectors look suddenly much more attractive than before!

With that said, you need to be careful as not all POE injectors support the speeds you need. Some of them only support 10/100, while others support gigabit speeds which you can recognize in their part number with the G at the end.

If you go with the cheaper model like you see here on Amazon with only 10/100 saving $5, you will get a message in your Unify dashboard stating “Poor Ethernet Link Speed Try replacing your AP’s cable”. It is obviously not the cable as it is the POE injector slowing you down assuming you have the proper CAT cable for your Access Points.

 

 

The most economical way of achieving the overall goal of best performance would be a switch. In this case an unmanaged switch which supports POE+ for 2.5Gb/E ports and has a 10G SFP+ port. There are some affordable models on Amazon and I tried 3 of them.

The first one from Yanley did not work as advertised and actually died during the install and there was no mention of that model on the manufacturer website and the manual was the wrong manual. I sent that switch back for a full refund.

The second one got delayed during shipment from China, so I ended up with the Binardata switch. 

This switch comes with 8 x 2.5Gb/E ports POE+ and 1 x 10 SFP+ port. You connect this switch using a 1M SFP+ DAC cable and you connect your access points directly to the POE+ powered ports.

What nobody tells you though is that once you introduce a 3rd party switch into an ubiquity network, you will lose your ability to look at your topology map to see your Wifi clients. Given that all your Wifi clients will be connected to both or more of your access points, you will not see a single client in your topology map.

I emailed Ubiquity about that issue and their response was that 3rd party vendors incorrectly forward LLDP traffic causing this.

After emailing Binardata, they replied that this is an unmanaged switch and they don’t have a way to block LLDP forwarding. 

If you look carefully though, you will see a dip switch for VLAN support and what this dip switch does, it forces all communication from all 2.5Gb/E ports to the 10G SFP+ port blocking all communications between the 2.5Gb/E ports and this includes forwarding of all LLDP traffic. 

As a result, once you flip that dip switch your topology map will start working again and you will see your access points directly connected to your UDM-Pro and given that this is an unmanaged switch, this is totally acceptable.

Now you have a switch with 8 x 2.5Gb/E ports allowing you to connect up to 8 access points with up to 150W of total POE+ power.  

 

Another reason why it makes sense to use 1 of the two 10G SFP+ ports to connect to one unmanaged switch is that you most likely won’t have more than 4 x 2.5Gb/E access points in your home and given that you use the 1G port for WAN connectivity you have one more 10G SFP+ port left, which in my case talks to my Synology RS1221+ model hosting VMs, network shares, BlueIris and Home Assistant. Having one dedicated 10G ethernet connection to that device is more than appropriate. 

In summary, you can upgrade your UDM-Pro from Wifi 5 to Wifi 6 or Wifi 6e by either investing in the proper Ubiquity POE+ switch family, which will cost you at least $800 and you will get 24 POE ports while you might only need 2 or 3 of them…

or….

You purchase this affordable unmanaged switch no-name brand on Amazon Link  for $166 (and I want to make it clear that I have zero affiliation with that company and I found them on Amazon and I purchased that device at the full price).

Use the dip switch for VLAN isolating and blocking LLDP traffic giving you the ability to scale your access points with POE+ to up to 8 at a very affordable price unlocking the full speed in your home network.

I hope you found this article helpful and you will be able to break out and join the high speed highway.

Protected By
Shield Security
Verified by ExactMetrics