Select Page
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. 

 

Smart Speaker and Home Assistant Homepod from Apple

Smart Speaker and Home Assistant Homepod from Apple

Apple announced their smart speaker and home assistant called “Homepod”. The name sounds ok, but doesn’t do the product justice, while it should not be surprising that iHome has been already trademarked by another company. With that said, Apple announced this new product line with availability by end of the year 2017.

This announcement is coming 2 weeks before the first official shipments of Echo Show from Amazon, which was announced the day after Microsoft released their new smart speaker. The big difference here will be the price and feature set compared to all other previous vendors trying to compete in that market.

Amazon Echo is priced around $150 to $180, Google Home is priced at $120 ti $150, Microsoft announcing their product line leaves Apple with their new product line coming end of this year.

Apple has a very loyal customer base but even for those the cost of $349.– will be very or too high compared to all the other competitors out there and this extrapolates with the potential need to deploy a smart speaker in every room. You can connect two of their speakers for a better sound experience, which would bring the cost per room to $700,–

Apple claims superior sound quality with downwards facing 7 x tweeters and an upwards facing sub-woofer. The A8 chip from Apple allows to spatially analyze the room and adjust the sound waves for superior sound. Sounds pretty interesting and you can only assume,that somebody will actually test this functionality. This will become even more important as soon as you add the second homepod into the same room.

Apple didn’t go into any details about their far-field sensors to capture the human voice but instead Apple went into more details about how important the customer’s privacy is and how secure the homepod is with the commands a customer initiates.So it will be interesting to see how well homepod recognizes voice commands and at what distances.

The other part to be tested should be the ability to have one homepod or one homepod room respond instead of two or three rooms while you are in the hallway or in between rooms. Amazon Alexa had this issue for a long time and finally fixed that last year, where the closest Alexa will respond but until that fix was deployed Amazon provided different wake words to make up for that.

A product lives and dies with its ecosystem. Google has its search engine backing Google Home and Amazon Alexa has thousands of skills and developers constantly improving the end customer experience. Apple’s loyal customer base is big while the question remains what do those customers expect from a smart speaker or smart home assistant.

Offering answers to questions like metrics, stocks and reading out news can be done by any phone today or even wall-attached tablet. Integrating with a variety of music services is also key while Apple has a significant play here with iTunes.

With all that said being able to send messages does sound pretty interesting and as soon as more details become available I will share those especially after Amazon released their communication package update of calling and messaging people via Alexa and Echo Dots. There are still some major privacy and security updates which need to happen to make this main stream, so it will be interesting to see what Apple has done in this area and if this is a one way communication channel via messages only and no phone calls? Time will tell.

Let’s discuss the biggest part of the homepod reasoning for its existance, which is the smart home integration. Apple claims that it can be a smart hub for Homekit integration. It will support Homekit devices and offer commands to control your home.

The same applies here as above because the ecosystem is the key here. Homekit integration has not been high on vendors’ ToDo list so unless Homekit gets a big boost the options for end customers will be limited.

Amazon is addressing this with skills allowing third party smart home companies to integrate with the Alexa ecosystem. Companies like Samsung with Smarthings, Wink, Homeseer, Nexia, etc are all working with Alexa.

The question will remain if Apple is trying to make every vendor to become Homekit certified or if Apple will recognize the smart home device companies work with other vendors and support third party smart hub/controller integration with Homepod. Given Apple’s history on such subjects, it would be a suprirse to see Apple supporting 3rd party smart home solutions but you never know.

 

 

x  Powerful Protection for WordPress, from Shield Security
This Site Is Protected By
Shield Security
Verified by ExactMetrics