Home assistant has an integration for the Bambu printers. It has a trigger for when it starts and stops printing you can use to trigger other automations like those smart plugs. There’s also an integration for all moonraker/klipper etc for the same which gets you almost all other types of printers.
octoprint has various plugins as well - I like to use TP-link Kasa as it's not dependend on the cloud and works even then offline with Home assistant and or homebridge
I use it this too, I even have it set up so that if it is late at night and the printer has a "completed" message and no other printer is running, then give it 5 minutes to cool down and then shut off the plug - so that when I do a print and go to bed I don't leave the printer running all night. Very useful. - Should point out that I use TAPO plugs, which are a bit dumber than the ones that James has shown - but they don't need a hub.
Home assistant is surprisingly good. I have my octo print setup as an entity and I've made a few different projects with esp's and MQTT. I know there are a ton of pre built projects but I like the idea of a 1st party solution so it all just works with or without Internet.
Just remember that there's no replacement for literally replacing the air in the room. Even the commercial air scrubbers don't do a whole lot in a sealed environment. Complete room air cycling is the best solution. 3D filament printing is just one thing that adds particulates or VOCs to the air. By the time you add a filament dryer or two, maybe some resin printing, do some soldering, some paint work, do a bit of sanding, some woodworking, machining some metal, add some mist or flood coolant.. you end up with more air pollution than any number of these scrubbers could ever handle. Find a way to get clean air into the room and find a way to get the dirty air out. In my basement workshop, I have a small 4" intake fan and then two 8" exhaust fans. Both are set up with screens and covers to keep the bugs, weather, etc at bay as much as possible. The intake is at the far end while my exhaust fans are set up next to my two biggest polluters. Being in North East Ohio, our winters are cold too, so I have these fans set on timers, running for about 5 minutes every 20 minutes or so. The shop is chilly, but not unbearable at 60- 65°F during the winter months. These little scrubbers might have their place, but they are no replacement for fresh air. A respirator is probably the right answer but.. yeah.. for most of us, thats not happening.
Welding and grinding can make it nasty in a garage, not to mention the SoCal weather that is more hot than it is cold. My miller 211 inverter mig welder has fan on demand but my 1965 monster miller 330abp tig needed to learn those tricks. My swamp cooler is great for cooing the garage and blowing out fumes or dust but is a problem with shielding gas. A few contactors, a relay, and a timer all taught the 1965 miller to shut off it's own big fan and the sureflo pump and fan for the tig cooler that I built, while allowing power to the swamp cooler. 30 seconds to a minute after tig welding, it gets quiet and the cool air starts moving......if the cooler is set on. when I tap the foot pedal, the cooler shuts off and the pump and fans start. When there is something like 30+ psi of coolant pressure, the main contactor of the tig welder is allowed to close to start an arc. It was all done with simple wiring and components but this video gives me even more options for similar projects. It is the exact kind of planning and convenience that I love.
I designed a filter controller that is Arduino based. It senses AC current using a conventional toroidal current sense transformer (about $2) with a burden resistor and diode and small filter capacitor; half wave rectifier. The current sensor output goes to an A/D input of the Arduino. The magnitude that read is relative to the power consumption and it is easy to detect the change from standby consumption to run consumption. The Arduino drives the 5V coil of a 120VAC relay to control the fans or other accessories. I mounted the contraption in an enclosure with 2 duplex AC power sockets. Both sockets connect to AC mains through an inline fuse and power line cord - I didn't bother with a power switch. The sense transformer line wire is routed through the toroid then to the socket where I plug in the printer. The AC line connection for the other socket is where I connect the 12V power brick for the fans for my home-built filter system. A couple of dozen lines of C++ code running on the Arduino has provided 100% uptime for the last three years. All with no WiFi or Zigbee. I spent a couple of days building the enclosures, wiring up the electronics and debugging the code (mostly tailoring the on/off level sensing and timing). I suppose the material cost was about $20 because I used power bricks from my "retired power supplies" box and had only to purchase the AC sockets, AC sense transformer and misc. for the enclosures, which I laser cut from 3mm plywood. Nary a printed part needed. Of course, I already had the Arduino and some of the other components, so that part was "almost free."
Another option that may work for some people is a woodworking automatic vacuum plug. The intended use for them is you plug a tool into one outlet and your shop-vac (switched on) into the other outlet. When you use the tool, that power draw turns on the other outlet so the dust collection will work along side it without you needing to toggle it manually. I don't know what the threshold for power consumption is on them so it may activate even at the 7w idle consumption. But they can be had for low cost and don't have any network/hub requirement.
I used to have a non-"smart" washing machine and used Home Assistant and a smart plug to get its status remotely. Even when the power was really small, I found that variations in the power factor gave information - for example I could tell the difference between "standby", "idle" and "on timer".
If you use a heated chamber an easier and cheaper solution would be a disc thermostat to switch the 12v fan power. They are available with many temp settings.
The AMS cable has 24v power that is switched on/off with the printer. All you need is an AMS cable that you would use to add a second AMS. I used it to add additional LED lighting to my printer.
People actually turn their printer off? Why would you do that? And this solution is one device that's off the shelf and costs the same or less than an AMS cable.
@@JCWrenWhy would I leave my printer running? It doesn’t take long to start and is just wasting electricity. Sure, you could say it’s not much. However, if I said this about every device in my house then I’d definitely see that in the electric bill! Also probably a good idea to be environmentally conscious these days
Using HAOS and the Bambu MQTT- automations to detect state of printer (‘running’ or ‘printing’) could trigger a shelly or sonoff device to put power to the bento-fan. I use all that with WLED to light the interior; off on first layer inspection, but the advances through presets as layers increase. Also lights on/off when the door opens/closes with 5 second delay off.
Using the same basic idea (as I'm sure many other people do) for notifications for my not-smart washing machine. It'll just notify and not actually actively do anything (unfortunately, would be nice if it would move the clothes to the dryer though). The actual automation is handles by HomeAssistant, so the plug can be any type I can talk to (happens to be a generic Tasmotized WiFi plug). Simple power monitoring really solves many of these small automation problems, and in much fewer cases you actually need a fully smart appliance.
Seriously right before watching this I finished installing a number of smart switches in a new house somewhere up the hill from you. Did the same thing the same thing to have lights turn on/off correctly as I make my way thru the house. But Very Clever to use a smart plug here as I would have had an Arduino on my bench first thing and then after a few hours of frustration I would have gone back to the ABS fumes aren't that bad. ITTT would be a very universal app for others to possibly try as well.
There are also master/slave power strips that can do the same thing. Originally designed for cutting down standby power usage of peripherals plugged into PCs I believe.
I'm excited to see you possibly get into the HomeAssistant ecosystem... free and open with a huge community of enthusiasts building things and sharing them.
Home Assistant has a HACS integration for Bambu Lab that makes this extra slick. I use a similar automation that turns on the light, announces over my smart speaker that a print has started and turns on the filter fan. With this integration HA also knows what filament is loaded so I'm working on an automation that will only turn on the filter fans if ABS is the currently loaded filament. More work and more steps involved with this method, so it's not as clean and simple as your solution. But if you enjoy tinkering with smart automations and such it's a great option.
I love you!!! Thank you so much. I 3D printed my Bento Box and was thinking about this and how I was going to go about it. Kept putting it off and then, today I see this video. So again, thank you. You’ve got a new subscriber.
Nice project. Just an added info about unwanted fumes (namely styrene). In a closed, stagnant environment (shop sized), styrene is heavier than air. As some comments have suggested shop ventalation, I would suggest drawing air from the floor area. Warning: actual empirical info being mentioned now: in a previous job, I was a fiberglass fabricator. At the height of fabrication, my shop would run polyester resin spray guns in the volume of 8000 lbs per week. (16 drums at 500 lbs each). Considering styrene monomer is about 25% of the resin, that's about 1 ton/week. Styrene in gas form is an eye & skin irritant for some people. However, the smell is detectable long before eye or skin iriitantion occur. We're talking parts per million in smell detection. It's my way of saying the amount of styrene gas being produced by printing is laughably small when considering health effects. This over exuberance of concern is little more than science-less social conditioning, but having a scent-free work environment is a worthy goal. As for my 1 K1C printer, I swapped the provided small chunks of carbon filter for a swatch of carbon filter designed for air purification machines and it works sooo much better. Btw, I have yet to see a filament Material Safety Data Sheet required when such volume reaches a threshold.
Thanks for a great video and idea. I am using Home Assistant ( Home automation ) In home assistant could do a automation that sees the printing starting to print and switch your filter on. same what you doing, prity cool. IN Home Assistant you can see your printer etc. Thanks again
I use pretty much exactly this technique (same plugs, just with Home Assistant) to send myself a notification when my tool battery chargers finish charging a battery. I also use the energy meter on my main panel to get notifications when my washer and dryer stop.
That’s pretty nifty; wonder if you can tune it to trigger only when you are printing higher temp materials only. I added a temperature controller to my bento box, it works well because you can also set it to start and stop a bit later because the chamber stays hot for a while. I couldn’t really finetune the controller for only hight temp materials.
In this day and age, I refuse to bet any smart devices that don't have local control. Been bit by cloud services way too many times and then just ended up with more e-waste.
Absolutely brilliant solution. I guess I'm a little old school, I've done something similar over the cat box to turn a fan on. For that I simply used an off the shelf timer circuit to switch the wall voltage to a ceiling fan. The trigger was a magnetic switch that tripped when the automatic cat box started the cleaning cycle.
Yep, there are a lot of nice solutions without tinkering too much. While I think those sockets are nice, I would not too much rely on cloud services though. = ) I personally have some 'dumb' sockets as I call them. They have a timer button. Each press will extend it for 15 minutes. No smartphone or Internet needed. That is how much I am into 'cloud' technology for now = ) As for simple innovations, I make my Ender 3 auto off. It was not a new idea. There are multiple ways to place a button somewhere so bed caret will press it. But most of them were too complex in printer modification. I just bought and ordinary PC cable, which fits Ender 3 power supply, and additional socket for the same cable. And create a cable-adapter which is fully independent from a printer, but you can power a printer through it. Just like those smart sockets do, except it is connected near a printer, not near a socket. So I can always take away the addon, and I haven't need to disassemble PSU and tinker with printer itself.
Hi James. I have a Kasa smart plug to power my Ender 3 pro printer. I have it also turn on a lamp so a RasPi camera also has illumination of the print bed. The Pi runs Octoprint where I also control the smart plug. So I power up the printer in Octoprint, and then I can send a print job and watch it print in Octoprint or just check on it.
I don’t believe it. You either stole that screw from another unit, or you’re the luckiest person in the world, with the eyes of God. Edit: Someone is a Hunter S. Thompson fan, so, eyes of God it is...
I'm using Smart Things connected via Alexa to control things around the workshop. In particular my Qidi X Smart 3 has a really noisy PSU fan when in standby mode so I just tell Alexa to turn it off. The Qidi motherboard has spare control ports so I use these to control my Bentos.
No one is gonna talk about that tricked out mill in the background? Thing has variable speed and pneumatic draw bar. Dude definitely knows what he’s doing.
I have a to-do on my project backlog to design a simple board to order from pcbway that would daisy chain to the power supply but after seeing this it will have to get demoted to lower priority. I sometimes forget about automation with routines and triggers on smart home apps given I have only used those features to automate turning on/off christmas lights lol
I always end up regretting trying to use IFTT type smart setups. They always end up dying somehow and just become a hassle. I think you will eventually conclude that wiring this in directly to the printer (use a relay, build a little circuit, or whatever is needed) will make much more sense. Less wiring mess too.
There's essentially zero wiring mess. The printers are on a bench with a long plug strip under the back edge. The wires drop about six inches and plug in, with the smart plugs.
@@Clough42 Well, assuming you never have to move or service the machine, I guess you'll never have to deal with the wires and plugs again. I still suspect the smart setup will incur some problem down the road and you'll wish you had made a dedicated circuit. Does this setup need the cloud to operate?
well I mean that is a way to do it without modding the printer and that any "average Joe" could cobble together with off the shelf things so kudo's! Its not the way I would handle it ... but I design electronics for a living, and that's not really fair.
A very consumer oriented solution. I was expecting an mcu and an accelerometer that would detect the start of printing and switch the fan on with a fet.
I did something like this years ago, but instead of using it to control fans, I used it to lower stand-by power usage. Now that has been expanded to my 3D printers too, so when the wattage drops below a set point, and stays below for 30 minutes, the printer will be turned off. At the same time they track how much power has been used, while also checking what the price of 1 kWh currently is, then when the printer is done, a notification will be send with how much power it used, and what the total price was of that. :)
Aww I thought it was going to be a ring sensor on the main power feed to do the same process. As a long-term IT wallah, I do not want home automation anywhere in my home :)
Hello James! I've once again noticed that you have named two of your printers "Fear" and "Loathing". Is this a nod to the Hunter S. Thompson novel? Is "Distress" related or is it some other reference? Do any of your other machines have interesting names? May I suggest Phobos and Deimos? :) LOVE your channel and I keep coming back for the Fusion 360 tutorials, best on RU-vid.
I found the bento box fan to be excessively loud so I also added an "Adjustable Driver Switch Low Voltage DC Motor Speed Controller with Speed Control Knob" from Amazon.
Btw, for your Klipper based printers, Hubitat has a community integration that allows you to do this sort of thing without using an extra plug for power monitoring.
Hello James, what is your and everyone’s opinion on printing pla. Like do you need to ventilate the area or is it probably fine? Would the bento box be good for printing pla? Does the bento box harm or affect the printer? Void warranty? I have a P1S btw. Thanks to all
Does the smart phone send the program info to the plugs or is the phone the one watching the status of the plugs and turning things on and off? Basically remove the phone from the equation after setup and the system still works?
Hi. You really need a professional fume extractor. BOFA makes many but they are around $1500, still is your health important? Yes takes a small bit of heat out. Just run the BOFA on low. To control it? They make controllers that turn on a shop vac. when your circular saw starts. They work great with this application.
Carefull! You'll get to a point where physically turning on a lightswitch or socket feels weird. Now I just need to automate the blinds in my front room.
Is it not a bit useless having them (the fans) run when just the motors have moved? Personally, I would set them up only when heating, just seems a bit useless to have them run on motor movements, just my 2 cents though.....
Why not trigger of the chamber temp? I have put a dirt cheap adjustable temperature controller in my RV that runs a 12V fan in the electronics compartment if it gets warm.
Don't know. It works fine, but all of the LEDs blink periodically and it will no longer recognize the RFID tags in newly inserted spools. Even unplugging the cord to the AMS and plugging it back in fixes it.
I think I might've just bought a power strip for each printer & its accessories and called it done. Not as sophisticated, perhaps, but it's cheap and doesn't require an IoT provider, live Internet connection and all the associated failure points. But hey - you do you. 😁
Like any good geek, I have systems of names for devices. The printers at the moment are fear, loathing, despair, angst, dread, disillusionment, trepidation, distress, and a few others.
It would be a little evil, but fundamentally you can wire two 12V fans in series and run them off 24V together. A little evil since effective impedance of them isn't strictly equal and you're relying on their integrated brushless controllers having a little extra voltage resilience headroom. But i just have a lot of extra step up/down converters at hand. I had given myself a serious styrene poisoning with ABS. I now use HIPS which prints much easier and nicer and has sort of similar properties and it may still give me poisoning but it's not nearly as bad. Plus as opposed to ASA it's also very cheap.
For far less work, just install the Bento box, drill a hole right next to it for a rocker switch which you can wire directly to the units power with a buck converter 24V to 12V. Now you can just turn on the Bento box when you are using ABS because you don’t really need it for most other media.
"... you don’t really need it for most other media." WRONG; dead wrong: read what scientists have reported about harm from microplastics and nanoplastics.
Considering the increasing evidence of harm from microplastics and nanoplastics, you are literally betting your life on that filter - supposedly HEPA, but filters made in China (that filter was made where?) are notorious for not performing as their specs (e.g., KN95) suggest. I wouldn’t trust any filter (data is easy to fudge) unless it came from a reputable source, such as 3M. Second, HEPA isn’t the gold standard; your lungs, brain, and other organs are better protected by ultra-low particulate air (ULPA) filters. Third, given that very few 3-D printing enthusiasts sufficiently protect themselves and other home occupants (children, spouse, parents, pets), 3-D printing is best done in a separate building.
you should relax instead of spending your whole weekend updating your thumbnail and video title - i know youtube pushes you to do it, but i will watch your vid when i get a chance, i promise. you don’t have to clickbait me into it!