Crank Window Motorized Automated | Home Assistant | Smart Home

Sdílet
Vložit
  • čas přidán 27. 06. 2024
  • Adding a motor to a window with a crank isn't hard or expensive. With a DC motor and the right motor controller it's pretty easy. And with Home Assistant you can control it with your phone, or even with Alexa or Google Home. Here's how I did it.
    www.drzzs.com
    DC Motor:
    Amazon - amzn.to/2Ni8Rio
    Banggood - drzzs.com/gearedDCmotor
    AliExpress - s.click.aliexpress.com/e/yq9wDO0
    Bigger Motor:
    Amazon - amzn.to/2IOjIfS
    Banggood - drzzs.com/DCMotor_16kgcm
    AliExpress - s.click.aliexpress.com/e/c1QzWurI
    Coupling (8x8mm):
    Amazon - amzn.to/2NcN7o8
    Banggood - drzzs.com/8x8coupling
    AliExpress - s.click.aliexpress.com/e/cMHv3wk0
    Motor Controller:
    Amazon - amzn.to/2RA2HZH
    Banggood - drzzs.com/HbridgeController
    AliExpress - s.click.aliexpress.com/e/c0pB0d6u
    D1mini:
    Amazon - amzn.to/2SKRAvK
    Banggood - drzzs.com/D1mini
    AliExpress - s.click.aliexpress.com/e/c5SpQQwU
    Reed Switch:
    Amazon - amzn.to/2YDc9xv
    Banggood - drzzs.com/ReedSwitch
    AliExpress - s.click.aliexpress.com/e/bt8x2WMs
    Power Supply:
    Amazon 12v 1amp - amzn.to/2KsmF75
    12v 2amp - amzn.to/2ETbVec
    Button:
    Amazon - amzn.to/2Wl920y
    Thingiverse: www.thingiverse.com/thing:370...
    OnShape: cad.onshape.com/documents/40d...
    Social:
    Discord DrZzs - discord.me/drzzs
    DrZzs Facebook Group: / 1969622823351838
    Discord Home Assistant - / discord
    Twitter: / dr_zzs
    Instagram: / drzzs
  • Jak na to + styl

Komentáře • 111

  • @RageQuitSon
    @RageQuitSon Před 24 dny

    i despise smart home things, but this is a great video to help me make a button controlled (no wifi connectivity) window opener for some elderly relatives who can't reach the windows behind their couches!

  • @christophershireman7206
    @christophershireman7206 Před 2 lety +2

    I want you to know that this system has saved my summer. Our bedroom gets really hot from May through October, so having good air-flow is a must. We have high windows in our bedroom that can't be opened from the ground. The sales rep from the window company sold us a bad setup, and replacement windows will take three months to arrive because of supply chain issues. I re-created this system for our windows, and now we'll be able to enjoy a cooler and well ventilated nights sleep. Thank you so much! 🤓

  • @seancoffran2391
    @seancoffran2391 Před 2 měsíci

    Nice build. A temperature sensor would be a nice add. So the window opens and closes at set values

  • @ILoveRomances
    @ILoveRomances Před 3 lety +3

    This video is incredible! I'm been trying to figure out how to convert other cranked devices to automatic, specifically a pool cover. A cranked one runs about $100 and an automatic one runs thousands of dollars. Hopefully, it won't for me if I can recreate what you did. I took a look at replacement parts for an automatic cover and they use an AC motor, though. You're an inspiration!

  • @nameismetatoo4591
    @nameismetatoo4591 Před rokem +1

    Thanks for uploading this! You are going to save me a lot of time in my quest to motorize+automate our upper casement windows. Since we have two groups of three windows and I want to use the more powerful motors for each, I'm thinking about using a PoE power supply, which can be had for under $50 if purchased secondhand. The higher voltage would also allow me to move the power supply to the basement and use a longer wire run. Then I could use a single 48v to 24v dc step-down transformer for each set of three motors. 9 of those motors all running at once would require a 1000W power supply, so it won't fit nicely anywhere other than the basement utility room.

  • @flymypg
    @flymypg Před 3 lety

    Splendid! Soup-to-nuts. A clean design that offers may ways to tweak and customize (such as using a right-angle drive worm-gear motor).

  • @gxp99
    @gxp99 Před 3 lety

    Now we need a motorized retractable awning video :)

  • @addwithdiy422
    @addwithdiy422 Před 9 měsíci +5

    Would love to know what you would do differently 4 years later and if you’d use the same board.

    • @addwithdiy422
      @addwithdiy422 Před 2 měsíci

      I'm going to try and do this for my crank windows but I think I'm going to try and use a ZOOZ 700 SERIES Z-WAVE PLUS LONG RANGE DC MOTOR CONTROLLER ZEN53 LR as the controller. I hope it will work.

  • @crixi__
    @crixi__ Před 5 lety +2

    Stoked for the next motorized window video!

    • @DrZzs
      @DrZzs  Před 5 lety +1

      thanks! hopefully soon I'll have all the parts I need.

  • @EsotericArctos
    @EsotericArctos Před 5 lety

    Love the little thing. I have half a dozen windows this would be perfect with

    • @DrZzs
      @DrZzs  Před 5 lety

      thanks! it works surprisingly well. I only have a few windows like this but I'll probably be installing at least one more.

  • @TheTinkerDad
    @TheTinkerDad Před 5 lety

    Nice project and video, thanks for sharing it!

  • @johnkuczera
    @johnkuczera Před 5 lety

    This is great - I've been looking forward to this video. I've ordered the end-stops and the 8RPM 50kg-cm super extra heavy duty motor with the 8mmx8mm aluminum coupling. It takes 7 cranks to open my old windows. Thanks!

    • @DrZzs
      @DrZzs  Před 5 lety

      cool! you should be in pretty good shape with that. Let me know how it goes!

    • @Snugglelol
      @Snugglelol Před 3 lety

      How’d it go?

    • @johnkuczera
      @johnkuczera Před 3 lety

      @@Snugglelol it works - my setup is a little crude (used all round copper strapping to mount), but I found the motor torque to be exactly what was required without being able to damage the window hardware. I had to replace the springy aluminum couplings with solid ones - the electronics will burn out before any damage is done.

  • @williamleoppky661
    @williamleoppky661 Před 3 lety +1

    Very cool man! I’m thinking of trying it and making the “wedge” with polyform!
    (Heat moldable plastic) Maybe even the crank connector. I don’t know the strength of the polymer used in your 3-D printer but the stuff I’m talking about is incredibly strong and I have used it for several projects including attaching caster wheels to the legs of a chair.

    • @DrZzs
      @DrZzs  Před 3 lety

      cool. I used PLA. It's strong enough so far :)

  • @p.hartmann
    @p.hartmann Před 5 lety +1

    In this project i would use a normal Endstop Switch. Nice idea, like always.

    • @redbad
      @redbad Před 5 lety +1

      I just looked at my 3d printer and had the same thought haha

    • @DrZzs
      @DrZzs  Před 5 lety +1

      ya, I didn't even think of it, but that would be a really good idea instead of the reed switch.

  • @derekboonstra
    @derekboonstra Před rokem

    My MBA marketing paper was written on precisely this device. The plan was to sell the technology to window manufacturers to integrate into new home construction. The advantage being that you could save a lot on heating and cooling costs if you were to strategically open and close you windows and blinds depending on the weather conditions. It is also advantageous to get airflow from windows in hard-to-reach places. The design was to be modular so that, as protocols change, the user could switch it out for a different module.

  • @roystervi
    @roystervi Před 4 lety

    great vid

  • @glaucon14
    @glaucon14 Před rokem

    Thanks!

  • @skicr8zguy
    @skicr8zguy Před 5 lety

    Love your videos. Really nice work and good details on each setup.
    You might want to consider a 3D Printed gearbox design to improve the torque also. That could be a nice cost effective solution.
    You could try some alternative materials for your coupling too. Maybe nylon would be a good option. I've printed some gears in nylon and they seem to hold up well.

    • @DrZzs
      @DrZzs  Před 5 lety

      good ideas!
      Thanks!

  • @jperry3013
    @jperry3013 Před 4 lety

    Thanx for this great video! I think this is only DIY smart hand crank window opener/closer.

    • @DrZzs
      @DrZzs  Před 4 lety

      Thanks!
      I think it is too. Mine is still working great.

  • @KR-ur3oq
    @KR-ur3oq Před 5 lety +1

    Nice video. You might want to update your sketch to timeout the close action after roughly 60 seconds just in case the switch is never detected as closed. This could prevent the motor from over heating in an event where the something is preventing the window from closing, or the sensor is damaged. Throw a nice big warning if it ever times out.

    • @DrZzs
      @DrZzs  Před 5 lety

      That's a good idea. Thanks!

  • @Shox_lux
    @Shox_lux Před 2 lety

    Excellent video. I wonder if the housing design you shared in the link is for the small or big motor option?
    Also since I don't have a 3d printer, can you recommend a provider to print and ship it to me?

  • @dablet
    @dablet Před rokem

    great job!

  • @nosepipe1
    @nosepipe1 Před 5 lety

    Forgive my OCD, I noticed some typos on the AC Temps card, "Mountain" and "Piano", unless I'm mistaken and it is indeed a Paino room where small animals are tortured :) Great video BTW, I was just thinking about using these high torque Chinese motors for a HA window automation project!

    • @DrZzs
      @DrZzs  Před 5 lety

      ha! thanks! I've had those misspelled for a long long time and I never noticed!

  • @StePhanMckillen
    @StePhanMckillen Před 5 lety +1

    10 out 10 that thinking outside the window

  • @pangit9999
    @pangit9999 Před 5 lety

    The lead screw and stepper motor option is what I want to try, although judging from the speed of my printer Z axis it would be very slow, unless you use a more aggressive pitch lead screw and suitably strong motor. May need some experimentation to get right

    • @DrZzs
      @DrZzs  Před 5 lety

      I've got the motor and coupling. Just waiting on the screw parts to arrive. I'm hopeful it'll be a nice solution. We'll see!

  • @charlesklar2150
    @charlesklar2150 Před 4 lety

    Great video as always. Sorry for not seeing this sooner.
    I have an option to your motor. Take a look at a RV vent motor. Not sure how it will work with large crank windows but it will open my rv windows. Check it out.

  • @dustinsiemers4766
    @dustinsiemers4766 Před 2 lety

    Considering an electromagnet or just magnets to keep the window closed. Kinda like a refrigerator door. My windows are like 40 years old so they dont close super well. The other option is to automate the latches because usually they dont close all the way but get close enough for the latch to engage.

  • @markjacksonpulver3546
    @markjacksonpulver3546 Před 5 lety

    I've been trying to do the same thing for a skylight. But using VNH2SP30 as the motor controller. I has a current sense, so i hope to detect a current rise to determine the window is fully open or closed. Of course if your coupler is going to fail, this will not work. I also require an exterior rain sensor to trigger window closure.

    • @DrZzs
      @DrZzs  Před 5 lety

      oooh, rain sensor is a great idea! I think if you get the metal coupling you shouldn't have failures.

  • @siriponga7911
    @siriponga7911 Před 3 lety +1

    Hi Dr Zzs, I followed your setup and coding using pin D4 connected to the reed switch at window closed position. I was scrambling because the D1mini fails to boot on a power cycle. Finally I realised that pin D4 is used for the boot process, and found my the reed switch is activated (window closed).
    Does your setup fail to boot on restart? How do I re-boot the D1mini without messing with the reed switch every time? Thanks Dr. Zzs

  • @Steve-vf4to
    @Steve-vf4to Před 10 měsíci +1

    Hi @DrZzs. What RPM spec motor did you go with for your window? Mine's about the same size. Thanks so much for this video!
    NVM. The two dead links have 10rpm in the URL so I'll go with that! Cheers.

    • @DrZzs
      @DrZzs  Před 10 měsíci +1

      Glad you found out the info! For future reference the best place to get answers is to join in discord. It can be a bit difficult to troubleshoot via comments.

  • @daveharmanpnw8636
    @daveharmanpnw8636 Před 2 lety

    Did you ever make that additional video of the 3-D printed parts and the sliding window you mentioned at 12:33 ?

  • @marc3793
    @marc3793 Před 5 lety

    Hey Doc. How do you create your images that are show for your videos on CZcams? The one on this video with you at the window is great!

    • @DrZzs
      @DrZzs  Před 5 lety

      thanks! Those are Bitmoji's. You set up your little avatar that is supposed to look like you and they generate a bunch of fun scenes. They change all the time too, so I go through and save the ones I like. They are fun and work great for these videos for sure :)

  • @johnmoore4248
    @johnmoore4248 Před 4 lety

    Hi DrZzs, I don't nothing about 3D printing. But I want to learn. Could you guide the sources and printers for beginners. Thanks

  • @rhudithomas7582
    @rhudithomas7582 Před 4 lety

    I am apparently also as blind as Mahko. I am trying to find the file, but have no clue where it is. I would like to use your code with most of my "position" controls, but try to use an encoder that is attached to the motor to eliminate the switches and approximation of position. This would be considered "close looped", which is used in all industrial positioning control. Thank you for all of your great videos.

  • @tgoodson84
    @tgoodson84 Před 3 lety

    What scale do you adjust the wedge for use with the bigger motor?

  • @DigitalArchmage
    @DigitalArchmage Před 3 lety

    at 12:30 you mention you want to make a video with a threaded rod for a sliding window. Did that happen? My friends and I were just discussing such an opener today. We'd like to see others' attempts at it.

  • @markushahnenkamm
    @markushahnenkamm Před 4 lety

    if the motor is destroing your coupling then you won't need a stronger motor, but a stronger coupling
    You should add an emergency timeout in case to stop the motor from spinning endlessly and maybe overheating - the magnet will get weaker an the reed will get less responsive with lower temperature. Maybe a current sensing to detect a childs hand would be great

    • @DrZzs
      @DrZzs  Před 4 lety +1

      I swapped out the 3D printed coupling for a metal one. I got the stronger motor to open the window faster and not bog down at the extremes. The motor upgrade wasn't intended to fix the coupling problem. The good news is, with the bigger motor and the metal coupling I've been problem free for months with this setup.

  • @Lokus0001
    @Lokus0001 Před 5 lety +1

    Nice! Great Video! Thanks for sharing! :)
    Unfortunately, i have got other types of windows and opening mechanisms. Do you know, if there are other solutions and projects regarding mechanized Window opening?
    Thanks!

    • @DrZzs
      @DrZzs  Před 5 lety

      which type of window do you have? if they slide open then a linear actuator should work. Or the next window video I have planned with the lead screw should work too.

  • @aaliankhan4998
    @aaliankhan4998 Před 5 lety

    Why don't you use the reed switch for the state of the cover? Great video

    • @aaliankhan4998
      @aaliankhan4998 Před 5 lety

      Nice outro too

    • @DrZzs
      @DrZzs  Před 5 lety

      Thanks! I did try that, but it messed with the way the button functions. I do look at the reed switch as the state in HA, but I don't use it for controls other than to stop the window when it's closed.

  • @mikelevy3469
    @mikelevy3469 Před rokem

    Any chance of you selling the mount for those of us without a 3D printer?

  • @stephboisvert
    @stephboisvert Před rokem

    How much would you charge to make ~10 of these with the more powerful motor?

  • @willdwyer6782
    @willdwyer6782 Před 4 lety

    You can compensate for that extra 2% with weatherstripping.

  • @Jrakula10
    @Jrakula10 Před měsícem

    How has noone made this a product yet?

  • @chrisconover7470
    @chrisconover7470 Před 2 lety

    Great project. Cost is reasonable compared to what Anderson wants, $600 and up. I copied the code from the video and get all kinds of errors which I don't understand when compiling. Another person commented that there was a link with the code which I don't see anywhere and the yaml code was different. Could you please supply the code.

    • @JeremyBrewer8
      @JeremyBrewer8 Před rokem

      Did you ever get that link? I'm getting some errors also.

  • @KaloyanDobrev
    @KaloyanDobrev Před 3 lety +1

    How do you open it manually now?

  • @PietroThe99
    @PietroThe99 Před 5 lety

    Hi where i find the mecanic mechanism to open the window (hand square type casementa window operator) ?

    • @DrZzs
      @DrZzs  Před 5 lety

      I'm not sure. do you have a picture of what you're looking for?

  • @user-iw8cq4fv4q
    @user-iw8cq4fv4q Před 3 lety

    Reed switch going crazy... I have no idea why.. it stays off when the door is closed but when open it switches between off and on every second even milliseconds. any ideas?

  • @MarkSnop
    @MarkSnop Před měsícem

    I sure would like to have the Yaml file to see if I can make this work I tried to duplicate it, but it's really hard to scribble it from the youtube into a yaml text
    file

  • @daleatkin8927
    @daleatkin8927 Před 3 lety

    Do you have the yaml files anywhere? Could always copy off the screen, but would be easier if I could cut and paste.

    • @daleatkin8927
      @daleatkin8927 Před 3 lety

      Never mind, found it github.com/Snipercaine/home_assistant_config/blob/master/esphome/window_crank.yaml

    • @daleatkin8927
      @daleatkin8927 Před 3 lety

      If anyone else is using, be aware, the code on the link is different from the video. If you followed the video, you’ll need to understand and modify the code

  • @idjmic
    @idjmic Před 10 měsíci

    I know this is 4 years old but after using the code from your video as I don't know code, I just get an error when I try to compile.
    /config/office-window-opener.yaml:84:24: error: 'class esphome::template_::TemplateCover' has no member named 'state'; did you mean 'esphome::optional esphome::template_::TemplateCover::state_f_'? (not accessible from this context)

    • @DrZzs
      @DrZzs  Před 10 měsíci

      It's really difficult to troubleshoot over comments. The best place to get answers to your questions is on the discord channel. Check the video description for more details.

  • @scubieman
    @scubieman Před 5 lety +2

    Why not a limit switch?

    • @DrZzs
      @DrZzs  Před 5 lety +1

      That would work too. I don't know why I went for the reed switch first. I even have a few extra end-stops laying around too. Maybe on the next one.

  • @taranagnew436
    @taranagnew436 Před 2 lety

    Is there a step by step tutorial on creating buttons on home assistant,

    • @taranagnew436
      @taranagnew436 Před 2 lety

      in case of a fire, is there a manual override to quickly open the window?

    • @taranagnew436
      @taranagnew436 Před 9 měsíci

      can you do this with a handle (that's attached)?

  • @JeffreyHammerCam
    @JeffreyHammerCam Před 5 lety +2

    NO HANGING HAMMERS!!!

    • @DrZzs
      @DrZzs  Před 5 lety +1

      ha! ok, a fire axe would work too :)

  • @JasonWho
    @JasonWho Před 5 lety

    Someone recommend a DIY’ers torque measuring tool!

    • @brad3378
      @brad3378 Před 5 lety

      I'd be happy to help but it depends what your goal is.

    • @DrZzs
      @DrZzs  Před 5 lety +1

      Thanks! What I'm looking for would be something I could attach to the screw on the window and when I crank it I get some indication of how much torque is required to turn it so I could know which motor to get. I've just been guessing at which motor to use for a few of these projects. Same with the blinds. If I could know how much torque I need to pull the blinds up that would be much better than guessing at the motor size and being wrong.

    • @brad3378
      @brad3378 Před 5 lety

      @@DrZzs
      In your case, I would recommend an in-line digital torque adapter with a peak-hold feature. They are very versatile because you can attach them to any rachet (Not recommended for power tools though). You would need to rig up an adapter if you can't find a socket to fit your window crank shaft. Maybe you could use one of those adapters to go from a 1/4 hex drive to a 3/8 drill (bit) chuck?
      I own the A/C Delco digital torque adapter linked below and it works great. My only complaint is that this one only has 3 buttons so to use all of the functionality you need to cycle thru menus. Competitor products seem to have less precision but their extra buttons would be faster to use on a daily basis.
      www.amazon.com/ACDelco-ARM602-3-Digital-Adapter-Audible/dp/B004VYUKTC

    • @rodrigoschmidtb
      @rodrigoschmidtb Před 5 lety

      @@DrZzs Hey master! Just an idea that occurred to me today:
      I would make a new couplet, cut in half, with teeth on both sides of the center cut, with an inner spring that holds both parts together. As long as the torque is too strong, the spring will not have enough force and both parts of the coupler will separate and turn one end by jumping one of the teeth.

    • @rodrigoschmidtb
      @rodrigoschmidtb Před 5 lety

      You can just change the spring rate to change the torque capacity...

  • @williampennjr.4448
    @williampennjr.4448 Před 2 měsíci

    just push it aside if you have to go out the window.

  • @andrelaguerre586
    @andrelaguerre586 Před 5 lety

    Hi, thanks for the idea; to check the torque overload, there is something you can look at here czcams.com/video/PN1ZJMFMGNs/video.html using an ACS712, current monitoring.

    • @DrZzs
      @DrZzs  Před 5 lety

      cool, thanks!

  • @addisonaugustin327
    @addisonaugustin327 Před 2 lety

    have no idea why a company wouldnt see the value in this smh ive been looking for one to buy for a long time but nothing.

  • @MisguidedSage
    @MisguidedSage Před rokem +1

    Any chance someone could commission a few of these?

    • @DrZzs
      @DrZzs  Před rokem +1

      At this time I don't have the bandwidth to make these to sell. Thanks for watching!

    • @MisguidedSage
      @MisguidedSage Před rokem

      @@DrZzs bummer; any chance you could link the models you made? I have a friend who has a 3D printer

    • @MisguidedSage
      @MisguidedSage Před rokem

      Nevermind; I found them. Thanks again for the great video

  • @M.4y
    @M.4y Před 5 lety

    I have installed nextcloud and hassio on proxmox. With Nextcloud, ports 80 and 443 are already busy. I have forwarded ports and can now reach Nextcloud via myXXXXXXX.tk. How can I now, for example create my website so that you can send it over mywebserver.tk can reach? Is there an other way as using one vm for all applications that are using 80 and 443

    • @DrZzs
      @DrZzs  Před 5 lety +1

      yikes man. Sorry, I'm not sure how to help with that. You need a network guru. I'm just a doctor ;p

  • @nortish
    @nortish Před 5 lety

    So I guess you never lock your windows?..

    • @DrZzs
      @DrZzs  Před 5 lety

      This is a second story window. Only a vampire or spider-man could get up there to get inside. Actually, now that I think of it, there might be a vampire down the street. Maybe I will lock it after all. ;)

    • @nortish
      @nortish Před 5 lety

      @@DrZzs Got it. Byt then again, you never know with kids these days. They would probably climb up there if a Pokémon would show up on their phone..