No video

DIY Motorized Smart Blinds | Home Assistant & ESPHome | Everything Smart Home

  Рет қаралды 57,118

Everything Smart Home

Everything Smart Home

Күн бұрын

Making motorized smart blinds doesn't need to be expensive! We take a look at how to make motorized smart blinds for as little as £15/$18 per blind using an ESP8266, cheap stepper motors, Home Assistant and ESPHome.
If you'd like to support me and future projects:
Patreon:
/ everythingsmarthome
Buy Me a Coffee:
www.buymeacoff...
WRITTEN GUIDE:
everythingsmar...
PARTS LIST:
amzn.to/30BX3MK - Wemos D1 Mini
amzn.to/3ajovSN - 28BYJ-48 Stepper Motor
amzn.to/2DIWdoj - A4988 stepper motor driver
amzn.to/2PCNjeU - LM2596 Buck Converter
amzn.to/2EXYWuE - 12v DC power supply - Anything from 1.2A and upwards should suffice
amzn.to/30EHy6L - Female barrel jack with terminals
amzn.to/30E7LlN - 2 x M4 x 25mm bolts and nuts
3D Printed Spooler:
www.thingivers...
Stepper motor modification:
everythingsmar...

Пікірлер: 72
@Barn-v4x
@Barn-v4x 16 күн бұрын
Very many thanks for the inspiration! I successfully followed a similar approach but with a wand driven 1 inch blind rail (rather challenging in this space!). Had to cut away some plastic from around the worm gear mechanism, trim the drive shaft and drill a hole and host the motor externally on back of blind rail (Lucky I have space behind else would have to be on front side which is not as neat) . I used a 5mm shaft coupling to then attach to stepper to the worm gear shaft and dropped Ethernet directly down to the controller and power supply. You can buy the Switchbot that turns the wand but they are very expensive! Anyhow to avoid power/reboot issues potentially breaking/straining something due to wrong motor positioning (defaults to 0 on reboot even if open etc..) I modified the code slightly to include a 'globals' variable that is 'set' on each action and is checked and updated to flash memory every 1 minute (time can be adapted as a preference setting). I included an on_boot section to report/target the motor position using the saved 'globals' value and also update the sensor template value. As the motor is now the only way to activate then I assume that if power issues are experienced then the last target/current value is to be assumed on re-boot. Of course if you power down during operation or less than the flash update period, then you could still get stuck in wrong/misaligned position, but in general I think the risk is mitigated much better if for instance you are operating on a timer sequence without being home to monitor it. Very many thanks for the big push in the right direction! Keep up the excellent work!
@taylorjackson8948
@taylorjackson8948 3 жыл бұрын
Great project and excellent video! Keep it up man you have a great gift in creating easy to follow videos with good explanations!
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thanks Taylor, much appreciated 🙏
@clairerovic
@clairerovic 2 жыл бұрын
Total winner, really enjoyed this. I might try this with a geared motor and drive the shaft directly. Thanks heaps.
@EverythingSmartHome
@EverythingSmartHome 2 жыл бұрын
Glad it was useful!
@Sabotage_Labs
@Sabotage_Labs Жыл бұрын
Love the D1 mini!!! Use them for WLED projects...LED stuff. Buy these puppies 10 at time for like $2.50 each...gotta love it. Just started watching this... Looks like it may be a winner. Only wish I didn't have so many projects ahead of this...lol.
@williamrosswhite
@williamrosswhite Жыл бұрын
btw, the wiring diagram is wrong. the lm2596 has in + on both sides, and where the red/positive and black/negative should go on that end are reversed. i also burned out a d1 mini before i figured out i had to adjust the voltage 😆
@StevenBamford
@StevenBamford Жыл бұрын
I would looooove the same type of video for a cheap smart curtain closing/opening mechanism please!
@casen2007
@casen2007 3 жыл бұрын
Very cool brother! In order to control the blinds being able to be lifted as well, would you just mirror the project with the other cord? and would that stepper motor have enough torque to accomplish that added feature? You also had mentioned in this video, you rather had attached the motor on the shaft. Since you have a printer, you may be able to build a planetary gear torque multiplier. You would then have to recalibrate your code. Take that advice with a grain of salt, I am no expert. Then also if you would dermal out two slotted holes where you secured the motor, you could then slide the motor back and forth (or side to side) to make the cord more taught without having to play with it as much. Using locking washers would then ensure the motor would give on the slotted holes. Unsure if that is any help, but I am excited to try this my-self. Thank you for this video.
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
You could try it yes but I don't think this motor would have enough power, a NEMA17 stepper might but I don't have space for one of those in these blinds unfortunately. Oh cool good idea, thanks for the detailed explanation! 🙏
@janbroz4681
@janbroz4681 Жыл бұрын
thanks for this, I was looking for a way to motorize my blinds, and I have exactly the same system
@theLEFTY15
@theLEFTY15 3 жыл бұрын
Would love to see an updated version of this but with rechargeable batteries. Would be a game changer.
@RealElwood1
@RealElwood1 3 жыл бұрын
Very slick install, I have a blackout blinds with a long looped wire with beads on it. Will try to adapt your design and have it pull the wire, just need to design a gear for the motor. Thanks for the video
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thank you very much! Yeah you should definitely be able to adapt it, tag me in it if you do, I'd love to see it!
@djrosco1982
@djrosco1982 2 жыл бұрын
Were you successful in creating a looped wire system? I’m about to try this myself and any info/tips would be very welcome!
@1endell
@1endell 3 жыл бұрын
Very nice and simple project. Thank you, man
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thanks 🙏
@nathanaelkutzbach5279
@nathanaelkutzbach5279 22 күн бұрын
Wow! Exactly what I was looking for 😮 one question: Is it possible to use one d1 mini to control 2 stepper motors?
@daviddonnelly8406
@daviddonnelly8406 Жыл бұрын
Any update on the battery and solar aspect.....would be most valuable!
@Ladsas
@Ladsas Жыл бұрын
Thank you very much for tutorial it worked perfect for my kitchen blinds. Now I'm trying to make second window blind automated with new ESP and ran into confusion what needs to be changed/renamed in a code to create a new device and entities?
@williamrosswhite
@williamrosswhite Жыл бұрын
This will be very useful for me. Unfortunately I'm trying to smart life/push top/borrow shade blinds, and I HAVE to figure out how to turn that rod directly... trying to figure out using a 12v 15rpm electric motor which I think is for an rc car or something
@980ad5
@980ad5 4 жыл бұрын
Nice project
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thank you 🙏
@Sman3513
@Sman3513 3 жыл бұрын
My blinds use 2 sets of strings to open. 1 set lifts the entire thing up so there are no blinds covering the window. The other just opens makes the blinds flat as to allow light in. It seems like this is the same system as the one you have. Is that correct? I have seen many systems that use a looped beaded pulley, which mine does not have.
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Hey Simon, yes that's correct they are the same style as the ones in use here! Hope that helps
@strzegus
@strzegus 3 ай бұрын
I see a problem - I don't remember where the zero point is after the reset...How did you ensure that the engine does not lose its initial state? I did everything like you and the engine always recognizes the current state of the device as zero after resetting the device
@Fresh_home_finish
@Fresh_home_finish 3 жыл бұрын
I do not have a 3D printer, is there anywhere i can buy the 3D printed spooler?
@VillSid
@VillSid 11 ай бұрын
If you had more space what would you change? Other than using NEMA 17?
@MascotNR
@MascotNR 2 жыл бұрын
Hey, great video 👍🏻 I’m been searching for something which would control my roller blinds. While there are many out there, most use MQTT. Do you think this config file would work to control a roller blind set up pretty much made in the same way?
@Skookumshroom
@Skookumshroom 3 жыл бұрын
Awesome job well done! Namaste 🙏
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thank you 🙌🙏
@zy9dh
@zy9dh 4 жыл бұрын
awesome thanks :)
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Your welcome 🙏
@luke.and.his.adventures
@luke.and.his.adventures Ай бұрын
i really like this project, but i cant handle it.. how the hell i install the program into esp is there any tutorial for new version esphome?
@nuclear_AI
@nuclear_AI Жыл бұрын
Could this be controlled by Alexa? As in, could I make one of these and install it at my mother's home, who only has the use of Amazon devices
@architectuk
@architectuk 6 ай бұрын
Could you do this with battery?
@rogeriocamargo1984
@rogeriocamargo1984 2 жыл бұрын
Excellent video man! How's it going?
@RolandsZeltins
@RolandsZeltins 2 жыл бұрын
What are options, to make it go faster? Every Video I watch, They speed up 😂 . Any suggestions?
@holgerwinkelmann6219
@holgerwinkelmann6219 2 жыл бұрын
a planet gear stepper should do the job directly mounted ?!?
@OspreySoul
@OspreySoul 2 жыл бұрын
Great video! If you were to DIY this today, would you still use all the same parts?
@EverythingSmartHome
@EverythingSmartHome 2 жыл бұрын
Most likely!
@signal-eyeng263
@signal-eyeng263 2 жыл бұрын
Did any update of Esphome or Homeassistant broke this? My was working fine. Suddently the motor spinning L and R only. There was lot of esphome updates in the past weeks Thnx
@kudlaty911
@kudlaty911 Жыл бұрын
The code you posted doesn't work, it finds devices but there are no entities. What needs to be set in the HA configuration file and what needs to be set in the HA automation file? I'm using ULN2003 instead of A4988, my settings of stepper: stepper: - platform: uln2003 id: my_stepper sleep_when_done: true pin_a: D1 pin_b: D2 pin_c: D3 pin_d: D4 max_speed: 250
@Flame13638
@Flame13638 2 жыл бұрын
Hi tried with the 12v version same setting but the motor was less powerful than the 5v anyone recommend something to increase speed and torque of the same 12v motor pls ?
@carlosdantenicolasdelafuen1293
@carlosdantenicolasdelafuen1293 Жыл бұрын
👏👏👏 Gracias 👍
@Iisakki3000
@Iisakki3000 Жыл бұрын
Talking to a camera isn't easy for you? Ahaha I feel like that didn't age too well? 😁
@emilsecker7881
@emilsecker7881 5 ай бұрын
What’s the point of having a blind on a window that already has a curtain?
@justinyagoda4619
@justinyagoda4619 2 жыл бұрын
I just came across this video and was able to flash my D1 Mini, but I am having trouble getting it integrated into my HA dashboard. How did you go about doing this? When I look at this device I see a control for cover.my_blind, but when I add it to Lovelace, I get Entity not available.
@EverythingSmartHome
@EverythingSmartHome 2 жыл бұрын
Hello, check the newer ESPHome videos for how to integrate
@sukhbirbajwa6769
@sukhbirbajwa6769 2 жыл бұрын
Can this work with smartthings?
@truetech9340
@truetech9340 3 жыл бұрын
What are you thinking to use that with a battery?
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
It's definitely something that you could do I think, I'm not very well versed on batteries but there is definitely enough scope for a battery inside these blinds. I'll get my thinking cap on!
@noweare1
@noweare1 3 жыл бұрын
He used an wall wart power supply mains to 12V dc.
@marktomlinson6922
@marktomlinson6922 3 жыл бұрын
@@EverythingSmartHome starting to follow everything you are doing now :) I second the battery option, that coupled with a small solar panel to top the battery up, and go from a wifi to zigbee chip to reduce power consumption when idle, and you've got the perfect setup.
@_.touch._.me._
@_.touch._.me._ 3 жыл бұрын
Hi, Do you think there would be enough voltage and amps from just a 5v Battery? Do you think the motor would have enough power?
@nayan5522
@nayan5522 Жыл бұрын
Do you sell the 3D spooler?
@shmaat
@shmaat 2 жыл бұрын
Have anyone tried to do it with ESP8266? I done all but looks like the motor is not moving. Any ideas?
@MarkKoster
@MarkKoster 3 жыл бұрын
Hi, thanks for your video. I followed your guide and it works great. But sometimes the blinds are out of sync. So if they are open I can't close them because Home Assistant thinks they are already closed. So I can only open them again. If I do that the blinds will turn the other way and close again. But they close not fully. I hope you know what I mean. And what I can do about this?
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thanks! I do know what you mean but it shouldn't be an issue unless you are frequently rebooting or uploading to your device or it loses power, how often is that happening?
@MarkKoster
@MarkKoster 3 жыл бұрын
@@EverythingSmartHome I never reboot the device. But I do reboot Home Assistant quite a few times. But that should be a problem right?
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
No this isn't an issue for me because the device state is stored on the esp rather than home assistant so as soon as HA comes back online, the esp tells is the correct device state, so I'm guessing you have another issue
@MarkKoster
@MarkKoster 3 жыл бұрын
@@EverythingSmartHome so you don't have issues with this. Good know that it should just work. I'll investigate it a bit more. Thanks for your help!
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
The only time I have an issue is if the esp is unplugged and it powers on with the blind in the closed state (because the default for mine is open) but it's easy enough for me to get them back in sync and I never really lose power to the blind
@Know-Tree
@Know-Tree 3 жыл бұрын
Hello Fiends , I am not able to connect with com port . it keep failing while flashing the code . Please can you help |ERROR Error resolving IP address of blinds_office.local. Is it connected to WiFi? ERROR (If this error persists, please set a static IP address: esphome.io/components/wifi.html#manual-ips) ERROR Error resolving IP address: Error resolving address with mDNS: Did not respond. Maybe the device is offline., [Errno -5] No address associated with hostname
@sshah876
@sshah876 3 жыл бұрын
Awesome, hey any link/guide to mqtt implementation?
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thanks! In Home Assistant do you mean?
@sshah876
@sshah876 3 жыл бұрын
@@EverythingSmartHome Thanks for reply sir, I just want this to communicate to homeassistant through mqtt only, skipping esphome integration, just like a video from "the hookup channel" , where his device subscribes to mqtt topic and then it could be controlled by publishing mqtt number to stepper, the only issue there was noisy clicks at each rotation, the noise was loud enough to wake me up if sleeping if my blinds/curtains move, so I though using different firmware and setup like yours may be quieter... cheers
@vcrahul
@vcrahul 2 жыл бұрын
IT 'S YOU...
This is Surprisingly Better Than MMWave Sensors?
10:20
Technithusiast
Рет қаралды 44 М.
I Built My Own Presence Detection Sensor!
13:28
Everything Smart Home
Рет қаралды 93 М.
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 19 МЛН
ROLLING DOWN
00:20
Natan por Aí
Рет қаралды 10 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 39 МЛН
wow so cute 🥰
00:20
dednahype
Рет қаралды 13 МЛН
DIY Smart Window Shades | Home Assistant
15:53
DrZzs & GrZzs
Рет қаралды 98 М.
DIY Motorized Roller Shades + Wireless MQTT Smart Home Integration
16:08
Object detection with ANY camera in Home Assistant - Tensorflow and DOODS
15:34
Everything Smart Home
Рет қаралды 125 М.
Big Stepper Motors with Arduino
29:43
DroneBot Workshop
Рет қаралды 1,2 МЛН
Intercom and Doorbell Smart Modules for Home Assistant | ESPBell
8:23
PricelessToolkit
Рет қаралды 82 М.
Home Assistant Has Never Been This EASY!
11:58
Everything Smart Home
Рет қаралды 135 М.
This Smart Home Ceiling Light Is ALMOST Perfect..
10:22
Everything Smart Home
Рет қаралды 43 М.
Motorize & Automate Blinds | DIY Smart Home Automation
19:32
DrZzs & GrZzs
Рет қаралды 121 М.
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 19 МЛН