Motorized Window Opening! Save $$ using less AC! Smart Home | Home Assistant

Sdílet
Vložit
  • čas přidán 23. 06. 2024
  • In my never ending quest to save money on electricity, I bought a whole-house fan. It works great, but when it runs I need to have at least one door or window open. So guess what I did! I got a linear-actuator and a wifi controller so my “Smart Home” can open and close the window for me, whenever the fan turns on. Let me show you how I did it!
    OnShape Design: cad.onshape.com/documents/b85...
    Thingiverse Parts: www.thingiverse.com/thing:365...
    Linear Actuator:
    Amazon - amzn.to/30JtC9B
    AliExpress - s.click.aliexpress.com/e/cCOZcwQ8
    Banggood - drzzs.com/Linear_Actuator
    Motor Controller:
    Amazon - amzn.to/2H5BPhE
    AliExpress - s.click.aliexpress.com/e/c0pB0d6u
    Banggood - drzzs.com/HbridgeController
    D1mini:
    Amazon - amzn.to/2SKRAvK
    AliExpress - s.click.aliexpress.com/e/c5SpQQwU
    Banggood - drzzs.com/D1mini
    Buttons - amzn.to/2Wl920y
    Power Supply - amzn.to/2ETbVec
    Soap Dish project box - amzn.to/2QdtFW8
    "Not-so Quiet"-Cool fan- amzn.to/2WoMvjl
    Gist:
    gist.github.com/Snipercaine/7...
  • Jak na to + styl

Komentáře • 214

  • @kdmellor
    @kdmellor Před 3 lety +7

    While I don’t have your programming skills, I am still a kindred spirit when it comes to automating my house(and being the only one in the house that gets excited about). I totally agree with you about the next step in home automation being the ability to move physical things. If someone started offering an affordable, nice looking retrofit kit for windows, I’ll bet they could clean up.

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

    Great project DrZzs. Thank you.

  • @DrDrewsAdventures
    @DrDrewsAdventures Před 5 lety +24

    Hahaa, 5:10 cracks me up cause I swear all I do is try to get my girlfriend to appreciate home assistant and she couldn’t care less.

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

      Those were real tears!

    • @garrox84
      @garrox84 Před 5 lety +4

      your approach is wrong :)
      I do the following:
      i installed a vacuum system in the bathroom that can be used to demoisture air after shower/bath.
      Then i ask: i can make a switch on the wall, or i can make it automagic when there is moisture sensed in the air.
      She goes like.. oh no dont make more holes in the wall en extra switches to push.. fin hass it is :)
      same same with lightning in the backyard --> honey, where in house can i drill the big holes for the garden switches?? :-)

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

      @Rogue Mentality If you dont like the hobby like we enjoy it.. Just look the other way, and ducktape some colander to your head! :-p

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

    I have been looking forward to this! - Thanks!

    • @DrZzs
      @DrZzs  Před 5 lety

      It's something I've wanted to do for a long time too. It was easier than I expected.

  • @benrcunnyngham
    @benrcunnyngham Před 2 lety

    This is awesome thank you so much for sharing I hope to automate our green house vents and fans this winter and this is just the thing to do it. Much gratitude to you for taking the time to make these videos and spread this knowledge.

  • @iobawan
    @iobawan Před 3 lety

    Nice! I'm just looking for such solution for my greenhouse. Exactly what I've wanted. Thanks!

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

    Amazing. I was looking for this for ages !

    • @DrZzs
      @DrZzs  Před 5 lety

      Great!
      Good luck with it! Let me know how it goes!

    • @puneitsingh
      @puneitsingh Před 5 lety

      @@DrZzs Is there a rule to thumb to select the length of the linear actuator. For instance the gap between my window frame and window is about 24 inch and the longest actuator I have found is 18 inch. Any pointers to select the size of the actuator for my case.Thanks

  • @JeremyFry
    @JeremyFry Před rokem

    I'm 3 days into prototyping and printing a rack & pinion set of gears to accomplish this, then I found this video. Easier, faster, and has the force needed without a bunch of gears. I wish I would have seen this a week ago!

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

      this design is not perfect engoug . big size and just open part of full range

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

    Awesome, great job, thanks for your information, God bless.

    • @DrZzs
      @DrZzs  Před 5 lety

      You're welcome!
      Thanks!

  • @Eric_Tennant
    @Eric_Tennant Před rokem

    Yep I have a very large whole house fan system I need to do this to. Lol I'll be back with many questions after I get Home assistant up an running. The joys of going local

  • @daveschmarder-1950
    @daveschmarder-1950 Před 5 lety

    Hi Doc Jetson. :) While I was watching your presentation, I had a flashback going back 50 years! I was in college in the Industrial Controls class. But back then, it was relay logic, resistor-capacitor timing and some vacuum tubes thrown in. The hardware has changed a lot, but the reasoning remains pretty much the same.

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

      that's cool!
      I'd love to see how someone would have done this with 50 yr old tech :)

    • @daveschmarder-1950
      @daveschmarder-1950 Před 5 lety

      @@DrZzs The closest I can come to that is if you watch an old Ma & Pa Kettle film, where Pa Kettle wins a "house of the future". That is what got me interested.

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

    Nice vid! Hopefully you have another similar window like this in your basement as these are frequently considered a fire exit. It would be easy to make a mount for the wall mount of the actuator that could allow you to slide the actuator up and out in an emergency.
    Also, I'd modify the QC fans display to be an input select rather than three switches, but that's just my preference.

    • @DrZzs
      @DrZzs  Před 5 lety

      that's a good idea!
      Yes, there is another window right next to this one, so the fire exit is still open.
      I saw another way to mount the actuator that would allow the widow to open all the way, but it needs to be a lot bigger and I haven't found one big enough yet. Yet...

    • @reeepingk
      @reeepingk Před rokem

      @@DrZzs They have those sliding door "lock" bars that swing down into place. You could implement a similar system here. Put the back end on a hinge and 3d print a "catch" for the window side.

  • @sanjarcode
    @sanjarcode Před 11 měsíci +2

    "Making physical things move" (21:04) - my thoughts exactly. As a software engineer, I yearn to make physical objects scriptable, it gets boring to just move data around. Let's work for a fantastic future, not just an "OK" one.

  • @markrennie71
    @markrennie71 Před 4 lety

    I love this have made one for my sliding metal chicken coop door. No more dancing about in the rain to open and close the door. I will also make to auto close at dusk and open at dawn. I am also going to use this idea for a hidden robo vacuum bat cave in the kitchen!

  • @jjc13183
    @jjc13183 Před 5 lety

    Being someone who just installed one of their attic vent fans, I completely agree on the disappointment with the QuietCool name. It's FAR from Quiet, but it sure moves some air.
    Love your vids, keep up the good work.

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

      Thanks man!
      If they would just call it something else I'd be fine with the noise it makes. Calling it "quiet" just sets our expectations too high :)

    • @Bdawggful
      @Bdawggful Před 5 lety

      It's Quietcool, Not Silentcool lol.

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

    Man we really share the same goals in life. Please keep us updated on how the system is helping you save energy. Ive been thinking about this for a while. However in Florida not only we have to battle with the summer weather but also we have nasty pollen season. Not sure how to mitigate that last one.

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

      excellent! Great minds!
      These next couple months will really show the difference.
      I wonder about any type of filter for the pollen. We have some here too. Probably not as bad as Florida. I'll have to look into filters. Maybe we could put one on the window like a screen.

  • @Chickey
    @Chickey Před 5 lety

    Awesome!

  • @vCloudInfo
    @vCloudInfo Před 5 lety

    That is a really cool project Doc! Now I feel like I need to find something to 'Move'! :)

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

      Thinking the same here but definitely want my windows closed at night in the south.

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

      @@digiblurDIY Yeah .. Real Life MQTT! :) (at least the love bugs are done for a few months)

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

      @@vCloudInfo indeed! MQTTs considered the state bird?

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

      No Mosquitos here fellas. Sorry.
      We don't even have screens on half our windows.

  • @timknowlden
    @timknowlden Před 3 lety

    Great watch, this has given me an idea to use all of these components to push open and close my TV storage unit in between some wardrobes. The TV is an ambilight linked to home assistant.
    I will take a state of Off to stow TV away, On to push TV forwards by 100mm using the delay of how many seconds it takes to reach 100mm (the delay you are using to drop power) or use a reed switch or limit switch for this. When TV is forward by 100mm the whole wardrobe frontage can benefit from ambilight.
    I will then have a push button inside the wardrobe to open by 350mm (end of actuation) to access the storage behind the TV unit. using the L289N saves me from using a relay board.

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

    Thanks for this, DrZzs, love your work. You're pretty inspiring.
    I would love to see how you tackle a window that swings. I'm pondering a servo and a linear actuator, but, it's gotta have that WAF.
    Also, this sounds very noobish, but I would dig a tutorial on how to use the secrets file. Probably seems obvious to a person who already understands it.

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

      Thanks!
      I'll find a way to slip that in to one of these upcoming videos.

  • @ryanreese8089
    @ryanreese8089 Před 2 lety

    If anyone else is using this video as a jumping-off point... I am using an ESP32 and found that I have to set the mode of my binary sensor GPIO pin to INPUT_PULLUP to account for float. I'm pretty new to this, so I was very confused when the state was looping On/Off every second or so. But hey, now I know about pull up resistors :)
    I've also set up a delay to ensure the button is actually pressed, but this might be unnecessary.
    binary_sensor:
    - platform: gpio
    pin:
    number: GPIO14
    mode: INPUT_PULLUP
    name: "Window Control Button"
    filters:
    - invert:
    - delayed_on: 100ms
    - delayed_off: 100ms
    Thanks for the video DrZzs- learning a lot.

  • @imolazhp11
    @imolazhp11 Před 5 lety

    Another great video. I wish we could do something like this in the mid-south, but... humidity...

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

      Thanks!
      ah yes. That is another benefit of our high-desert climate. Humidity is not a problem.

  • @MrMotionIV
    @MrMotionIV Před 2 lety +1

    Great project!
    In Binary_sensor section of the code, changed "id(win_open).position" instead of state.
    Working! Thank you very much for sharing!

    • @kaiger79
      @kaiger79 Před rokem

      Thank you for the note. I was getting confused with some "state" entries changing to "position", but others not.

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

    As always, thank you so much for your videos DrZZs. Dumb question...This type of motor controller does not report a position, does it? So, the only way to stop and report if the cover is open/close is by using end stops (binary sensors), is that correct? I know that the linear actuators that you used here have an stop, therefore you didn't have to have other end stops. Thanks for confirming the info.

  • @pangit9999
    @pangit9999 Před 5 lety

    Looks great. I've looked at doing it with a stepper motor and a lead screw - that way you can open the window all the way. But yours looks more elegant so the WAF will be higher! lol

    • @DrZzs
      @DrZzs  Před 5 lety

      That would work too! For the maker faire my buddy made a treasure chest that opened with a stepper and lead screw. Worked great.
      I still haven't mastered stepper motors using any of the noob friendly firmware (tasmota, esphome, etc). I will at some point!

    • @sebastianjost
      @sebastianjost Před 3 lety

      You could also use a twice as long linear actuator but mount it on the other side.
      (So it pushes the window to open and pulls to close)

  • @AbelRodriguez21
    @AbelRodriguez21 Před 2 lety

    Great Video! installing this in 2022, there are some updates to the esphome yaml that i needed to do. I'm wondering if this can be accomplished with a motor, track on the outside frame of the window, and installing end stops. The Linear actuator works, but its slower and loud. I'd assume the motor with a track would be more quiet, open the window faster and be able to open the window almost it's full length.

  • @dripnroll29
    @dripnroll29 Před 2 lety

    Thank you for the wonderful video. Do you know if they make an automatic switch which make the linear actuator will automatic go in/out continuous until I kill the power?

  • @dvd123123
    @dvd123123 Před 3 lety

    Great tutorial! Did you try this with tasmota on the ESP8266? I have the same devices and flashed tasmota-lite on the ESP8266, from the configuration (generic) any idea on how to select the pins and connect to the L298?

  • @WayneRigley
    @WayneRigley Před 5 lety

    Thanks had the video this is something we've been talking about for the last few weeks now at home I do like the interlock option as well because in the chicken coop I run the same linear actuator but I run it off of two separate relays and then I just use the normally open to normally close to cross my polarity and then in my automation I have a switch setup that if the door is to be opened it checks to make sure the door close is off first before it opens but I like your user interface right at tasmota to ensure this doesn't happen.

    • @DrZzs
      @DrZzs  Před 5 lety

      excellent!
      What are you using to control those relays now? Tasmota sure makes stuff like this easy.
      So many automated chicken coops out there!

    • @WayneRigley
      @WayneRigley Před 5 lety

      @@DrZzs everything is thru hassio but the coop is run on nodeMCU with a 4 Chan relay 5v.. my next builds are going to incorporate din rail devices.. humm have you seen that stuff yet

  • @GodzillazzZ
    @GodzillazzZ Před 5 lety

    awesome - thx u sir

    • @DrZzs
      @DrZzs  Před 5 lety

      You are very welcome!

  • @salim.studio
    @salim.studio Před 5 lety

    cool i will try friend, thanks

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

      thanks brother!
      Can you send me the info for that ezviz hack you were talking about?

    • @salim.studio
      @salim.studio Před 5 lety

      @@DrZzs sorry for the delay, i dont see any documentation about this, but you can try add to home like a rtsp camera, the camera have a qr code not? or code to link , that is try to tell you about, my ezviz camara not have rtsp but i can use like rtsp ocasionally have a 5 key digits for password.
      example:
      - platform: ffmpeg
      name: Camera azotea
      input: -rtsp_transport tcp -i rtsp://admin:QR_SPECIAL_CODE@YOU_IP:554

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

    Hi DrZZs :) Would it be easy to add a motion sensor as well? I was thinking to use this project to create an automatic sliding door for my dog. Could you give your two cents about it please? Thanks!

  • @JohnWeland
    @JohnWeland Před 5 lety

    Nice! I have tall crank windows that swing open/shut along one side. I wonder what I could use to achieve the same.

    • @DrZzs
      @DrZzs  Před 5 lety

      Show me a picture, I'm sure we can work it out. I have a crank window that is working now too. That'll probably be the next video.

  • @saurabhceaseless
    @saurabhceaseless Před 4 lety

    also use central power factor correction to really save on your electricity bills...try automating that and interface it with home assistant...it will be a nice challenging project requiring both embedded systems and power electronics knowledge.......plus it will give you great set of stats to observe your power usage by your smart home

  • @757beko
    @757beko Před rokem

    It' was so fun to watch hahaa

  • @etc-and-more
    @etc-and-more Před 4 lety +1

    Genius, simply genius. I have an area at the top of the staircase that just collects humidity and heat due to not very good insulation in a 100 year old building. Since I am rarely at the property I just look at my raspberry pi temp/humidity sensors and say ARGHHH. Now I know I can install a simple small window and open and close it to vent the stairwell from miles away.
    Wondering if I can run the motor with a motorcycle or car battery that gets charged with a small solar panel?

  • @aaronmorris9352
    @aaronmorris9352 Před rokem

    I'm really considering doing this in my brand new home as well. With it being super insulated, even when the temp outside drops to like 50 outside, the house will keep heating up to like 73 just from people/cooking, etc., so it'd be nice to crack a window and turn on my HRV to get some free "AC". Are there any issues drilling into the vinyl windows?

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

    Dang, I picked up a different linear actuator from Amazon, and it's loud as heck! I'm hoping to find one that's quiet enough to not disturb people when sleeping.

  • @aviphysics
    @aviphysics Před 5 lety +3

    If you get a longer linear actuator, you can connect it on pivots at an angle across the window and it would be able to open the window further as it tilts up when the window slides back.

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

      Ya, I just saw that. Doh! I need to just get a longer actuator now!

    • @Brunozumba
      @Brunozumba Před 5 lety

      I actually didn't understand this... could you guys explain it a little bit more?
      Why would a longer actuator be helpful? Do I connect the actuator diagonnaly in the window? I'm confused...
      thanks in advance

    • @aviphysics
      @aviphysics Před 5 lety

      @@Brunozumba Maybe easiest to think about a right triangle, where the vertical side is a fixed length.
      As the hypotenuse (the diagonal side) get shorter, the bottom also gets shorter.
      For this example, let's say the actuator can shrink by half its length.
      Now, if the actuator goes straight across the bottom of the window (i.e. the height of the triangle is zero) the furthest the window can open is half the length of the actuator.
      Now, let's get a longer actuator, so, when the window is closed, it makes a triangle that's height is 3/10 the length of the actuator when the actuator is fully extended (which forms the hypotenuse of our triangle). For the sake of example, we will say the actuator is 10 units long and attached 3 units higher to the window than to the frame.
      When the actuator is fully extended, the base of the triangle is Sqrt(10^2-3^2)=9.54... units (just a little short than the actuator)
      When the actuator retracts to half its length, the base of the triangle is now Sqrt(5^2-3^2)=4 units. So the window opened 9.54 - 4 = 5.54 units
      If the actuator had to fit directly across the base of the same window, the window would only open by half of 9.54, which would be about 4.77 units.
      It might be easier to see if you get out some straws and popsicle sticks and make a model to see it with.
      Sorry if that is hard to follow. Would probably be a good video topic for someone.

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

      ​@@aviphysics Nice!! It took me a few days to answer because I have to read it with time, a pen and a paper so I could draw the triangles and understand. Thanks!!! =)
      Other way to approach it and maximize the window openning is attaching the actuator on the other end of the window.
      For example:
      A B C
      | | |
      |______|_____|
      How Dr Zzs made was: A is the wall where one end of the actuator is attached. B is the one side of the frame where the other end of the actuator is attached. C is the the other side of the frame.
      If it's possible for your configuration, if you get an actuator long enough, you can continue to attach one end on point A (the wall) but the other end on point C, instead of point B.
      Like this you can open the window a lot more.
      Anyways, just another tought in case it helps someone. Thanks!

    • @aviphysics
      @aviphysics Před 5 lety

      @@Brunozumba that is a good idea.

  • @kotgc7987
    @kotgc7987 Před 4 lety

    Nice, been looking for window opening for a long time. Still haven't found 100% opening of slide windows.
    Aesthetics also need addressing in home automation...i.e. power cables fed inside the wall to power (maybe to the closest light switch?).

  • @tomwang6120
    @tomwang6120 Před 3 lety +7

    What to do when there's a fire and the power is out and I need to open the window? I am not joking since I am thinking about making this window opener and have this question.

  • @BillyOfTea
    @BillyOfTea Před 2 lety

    I've been trying to figure out a solar tracking hookup to a smart home. Thanks.

  • @eddynoir676
    @eddynoir676 Před 2 lety

    omg this is what i totally need! would you be patenting it and mass producing it?

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

    Hi @drzzs, I tried to work with the L298N board, but for some reason, after a while, it makes my 200v breaker trip :/
    I have no idea what's wrong, I'm using a 12v power supply with 3A max. Any thoughts?
    maybe I'm missing something in the code? , maybe it draws too many amps after a period of time?
    Thanks!

  • @FabianAnnequin
    @FabianAnnequin Před rokem

    id like to open and close a tilting window in the bedroom based on a few variables. but it will be opening closing during the night. I find most linear actuator still a bit noisy. what would be the quitest option for this situation?

  • @vento3232
    @vento3232 Před rokem

    Hi Justin, do you have an example that will include a dependency on a PIR sensor, if it will be allowed to close? (trying to get this to work with a sliding door for my dog -- it's working great so far, but I just don't have the motion sensor setup to make it safer for her if she decides to run in/out while it's closing

    • @DrZzs
      @DrZzs  Před rokem

      ooh good question. I don't have that off the top of my head. Seems like what you want would be like the laser line break sensor like on a garage door. I'd suggest poking around in the ESPhome docs and see if there's an example of how to use one.... I just did a quick search and I couldn't find anything in ESPhome about a breakbeam sensor. I'd bet it would be interpreted by ESPhome as just a switch. Maybe get a cheap breakbeam sensor and play with it.

  • @bug0513
    @bug0513 Před 2 lety

    Do you still you this method or is there any product for this?

  • @randyharris2756
    @randyharris2756 Před 4 lety

    Great video I also have a QC fan but I need to have the physical buttons cause my wife is automation challenged. Do you have a way to push a button to turn on the fan?

    • @DrZzs
      @DrZzs  Před 4 lety

      no, I don't have a physical button. but you could use pretty much any switch/button that is connected to HA. Even something like a long-press on a Tasmotized light switch could send the message to HA to turn on/off the fan. Or an RF button with the RF bridge, or one of these Xiaomi zigbee battery buttons. Or an HA switchplate if you have those.
      Basically, you can take a physical button and tell it to control the fan through HA.
      That'll work!

    • @randyharris2756
      @randyharris2756 Před 4 lety

      @@DrZzs Thanks, I did figure out how to use a Sonoff tx 3 switch to control a sonoff 4 channel to turn on and off the relays.

  • @insidethemuslimworld
    @insidethemuslimworld Před 2 lety

    Can you attach a timer to open and close the window?

  • @Rmharnisch
    @Rmharnisch Před 5 lety

    Hey Dr! Great video, very inspiring. I just bought a house with a Quiet Cool fan but the previous owners opted for the WiFi controller. I believe there is a method of controlling via sniffing the packets (CoAP?) and then reproducing them somehow. Have you heard of this?

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

      I've heard of sniffing packets, but I don't know how it's done.
      Mine "came with" the RF controller. I wish I would have known how easy it would be to control it with the sonoff 4ch I could have saved $150.

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

      @@DrZzs definitely! I would love to automate mine and maybe, pending the wife approval, I can install a linear actuator too!

  • @garrox84
    @garrox84 Před 5 lety

    i like to believe too that my automated home saves money/power (last project was automating my DHW/CH unit with openthermGateway

    • @tomar5e115
      @tomar5e115 Před 5 lety

      Agree, definitely dont save money on power costs, always on connected devices chew up electricity

    • @DrZzs
      @DrZzs  Před 5 lety

      I just show my wife the electricity bill, not the Amazon/AliExpress bill :)
      I'll have to do a calculation and show how much it costs to run a wifi device. I'd think it's less to run one of those for a month than to run the AC for an hour.
      It'll be good to calculate it out though and know for sure!

  • @brian.hanifin
    @brian.hanifin Před 5 lety

    There is a way to simplify both of those automations pretty drastically by adding all three entities to a single trigger. I think it makes the code much easier to understand at a glance, without overwhelming anyone. See my comment at the bottom of the Gist link. Love your show!

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

      Got it!
      And I made your adjustments when I just added the crank window in the toyroom to the same automations! Thanks Brian!

  • @coreymaxim1846
    @coreymaxim1846 Před 5 lety

    Firstly, I love your videos! I do have one question, of your window opens and closes automatically (So cool) if the window is closed does the actuator secure the window? Can someone just pull the window open? I’m thinking about trying this on my sliding glass patio door. Would be better then placing a bar in the jam every evening assuming it’s secure. Thanks for the inspiration!

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

      The actuator is pretty solid when it's extended. I can't push it back in. It's as strong as a bar in the window jam. Someone would have to break the window glass to get in.

    • @coreymaxim1846
      @coreymaxim1846 Před 5 lety

      DrZzs Thanks for the reply bro! Any recommendations on how I could setup how I would open the door from the outside. I’m trying to get the WA (Wife Approval) and need to get everything thought out before moving on! Thanks for all the inspiration and videos!

  • @69uremum
    @69uremum Před 3 lety

    Open window for someone to enter your house and take your valuables. You got a security grate on that light well?

  • @garrox84
    @garrox84 Před 5 lety

    Hey Doc, i got some same fan in my house, but it was installed when the house was build. it got 4 pipes through the walls to different rooms. i got it automated with just a sonoff basic. the reason i didnt want to do multichannel like you did is because of the possibility of turning multiple relays (even with interlock on, this is just software safety!). and i do know what happens if that fails. the almomst 1k fan is not gonna survive it (copper coils are shortened and it will take a while to earn that back on energy savings). since i always want fresh air in house the fan is always in low mode. and if the sonoff gets served it will switch high mode. that means that medium mode is not connected and a sonoff basic will do :)
    (forgot to mention that lowMode and highMode MAY be switched on together.. in fact it will always be the case when the Sonoff kicks in (any mode may be 'mixed' with lowMode, you have to see the electrical schematics for that))

    • @DrZzs
      @DrZzs  Před 5 lety

      oh cool! Nicely done. I didn't even know these fans existed until someone at work told me about theirs last summer. It's been great so far.
      ya, I really don't want to fry this fan. It ain't cheap!

    • @garrox84
      @garrox84 Před 5 lety

      @@DrZzs yes, but when i count my ip adresses in DNSmasq i count 60+ adresses (and growing). those devices consume less in a week then an AC in one hour. but those devices run 365/24h. maybe they still consume less than other devices in our home, but i think it will be a close call.

  • @explosivo262
    @explosivo262 Před 3 lety

    Stupid question, but wouldn't you be able to use a Smart Garage door opener to open the door??

  • @alexlazy4296
    @alexlazy4296 Před rokem

    If you need to open it fully you coud screw the window sized actuator to the window itself and the pin to the frame.

  • @stephennoska5851
    @stephennoska5851 Před rokem

    I used the code to automate my Chicken Coop Access Door. Everything works as expected (up, down, stop) using the HA interface. Automatons (Sunset-close and Sunup-open) work as well. However, I just cannot get the physical button switch to do anything. From what I can tell, the way it is wired is to ground D3 (binary sensor) to stop or go up or down depending on the condition. Any hints on what I should look for to get the switch working?

  • @jasrocha
    @jasrocha Před 5 lety

    You can adjust de mechanical end stops inside.

    • @DrZzs
      @DrZzs  Před 5 lety

      oh really! cool! I didn't know that!
      Thanks!

  • @Misticzerx0r
    @Misticzerx0r Před rokem

    I know this is an old video I did this awhile back but was meaning to ask you if there was a way to stop the window from closing if say a crazy 4 year old decided it was a good idea to stick his finger in the window while it was closing. Kind of like a garage door sensor type setup. I have no idea how it would be done but any help or pointing in the right direction would be helpful. I'm surprised no one has done this as far as I can tell.

  • @kennethfribert6074
    @kennethfribert6074 Před 5 lety

    Hey Doc, I'm contemplating building a headboard for our bed, with two adjustable headrests, so that you can easyli sit up and read, or adjust it to your comfort. Will I be able to use the motor controller to control two actuators independently? Currently I'm in the mechaninc part of it, trying to get the best solution for a headrest, so that when it gets angled, it doesn't lift up from the surface of the bed.

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

      yes! that motor controller can independently run 2 dc motors. Max current is 3amps. I don't know how much force it'll take to adjust your bed. When you pick your motor just keep that current rating in mind so you don't go over it.
      Sounds like a great project! Let me know how it goes!
      Good luck with it!

    • @ianellul9805
      @ianellul9805 Před 5 lety

      I was working on an electric adjustable headrest too until I shelved it in favour of a ready made bed (with manual headrests). I did get a prototype of the mechanical part mostly sorted out though (including keeping it level with the surface of the bed), using a modified bed lift bracket coupled with the same linear actuator in this video. Let me know if you get stuck and I'll try to help.

    • @kennethfribert6074
      @kennethfribert6074 Před 5 lety

      @@ianellul9805 If you have a mechanical idea, don't hesitate to share it :-) As our bed is a waterbed, I need to have it attached to the wall, and have the motion going from the wall. I'm currently contemplating grabbing some of our smallest childs Lego, and build a "thought" in that to see what I can do.

  • @RebChaim613
    @RebChaim613 Před 5 lety

    Did you give any thought to a suggested fan speed and variable duration based on temperature differential or usage history?

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

      so far I'd say you'll notice a change in temperature within about 30 min. The rest depends on what temperature it is outside and how cool you want it inside. I started running ours for an hour at a time, but lately (since it's been warmer outside) I need to run it longer to get it nice and cool in the house. I'm running on LOW most of the time just because Med and especially High are much louder.
      I guess the best answer would be, Low is the best speed for us based on sound, and I've been running it for 2-3 hrs at a time in the morning then again in the evening, but usually shutting it off from about 11am to 6pm and about 11pm to 7am.
      Hope that helps!

    • @RebChaim613
      @RebChaim613 Před 5 lety

      I meant that your home automation should predict and suggest desired usage. As the day gets hotter it might suggest an increase in fan speed or switch to AC. And your phone popup might authorize the recommendation or let you choose something else.

  • @yurid7418
    @yurid7418 Před 5 lety +3

    11:43 interlock working on version 6.5.0.16. According to documentation
    1. Need to create interlock groups. Example command: interlock 2 1,3
    where created two groups with single switch 2 and group 1,3
    2. Enable interlock by command: interlock 1
    Test feature. SW#2 working as usual and SW#1 , SW#3 works in group.

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

      Thanks!

    • @yurid7418
      @yurid7418 Před 4 lety

      ​@@DrZzs Actually why you don't use latest versions of tasmota ?

  • @WayneRigley
    @WayneRigley Před 5 lety

    OK question, Arduino with Tasmota install ( which i know how to do) and then configure OR ESPHome ? mind you it will be on a NodeMCU....
    got my parts and ready to build, Switching over the chicken coop setup to this way

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

      I'm pretty happy with ESPhome lately. I'll still use Tasmota on some devices that don't have an established template on ESPhome (like the 3-gang T1 switches), but for dang near everything, I'm using ESPhome these days. So, for something like this on your chicken coop, I'd say use ESPhome.

    • @WayneRigley
      @WayneRigley Před 5 lety

      @@DrZzs have not played with it yet but I'll do the download and have a look. Didn't know there were prebuilt template. Thanks

  • @ppi57
    @ppi57 Před 2 lety

    Can we make it open a window when the "Netatmo" air quality sensor warns of elevated CO2?

  • @zeegrey3447
    @zeegrey3447 Před 3 lety

    Anything for double hung windows?

  • @rackjabbit1
    @rackjabbit1 Před 5 lety

    Is it possible you just rendered the window into a "fire code violation"? I know you can just yank the window out in the case of an emergency escape but the fire marshal would probably see it differently. Very cool use and implementation. Perhaps you could use some kind of locking bracket on one end that allows you to pull the end up and out (similar to the bed rail brackets that hook and lock).

    • @DrZzs
      @DrZzs  Před 5 lety

      that might be true, but there is another window in that room right next to the one I motorized. But you are right. Probably would be better to use some kind of removable pin on one end of the actuator so you could pull the pin and push it up out of the way.

  • @claudioita9
    @claudioita9 Před 5 lety

    Any suggestions on how to open a traditional window (not a sliding one)?

    • @MikeTrieu
      @MikeTrieu Před 5 lety

      I've seen actuators for windows that open outward that extend an arm perpendicular to the actuator on Amazon.

    • @DrZzs
      @DrZzs  Před 5 lety

      I have a setup working for a crank window. I just need some time to edit up the video. The tricky part is 3d printing a coupling that will fit the shaft of the geared motor and the crank gear on the window. I've been using PLA for that, but I've stripped several of the couplings if the resistance from the window getting too high.
      And Mike also has a good point. You could just re-arrange the actuator to push or pull the window up or out.

  • @vento3232
    @vento3232 Před 3 lety

    Hi, which power supply did you use? 2A? Thanks!

    • @DrZzs
      @DrZzs  Před 3 lety

      Yes, correct 12v 2a

    • @vento3232
      @vento3232 Před 3 lety

      @@DrZzs Thanks! Great project!

  • @JasonWho
    @JasonWho Před 5 lety

    Next I'll expect to see horizontal escalators from your front door to your office chair XD

    • @DrZzs
      @DrZzs  Před 5 lety

      oooh, that's a great idea!

  • @josephr.mccleney2347
    @josephr.mccleney2347 Před 3 lety

    How do I place a order

  • @yurid7418
    @yurid7418 Před 5 lety

    Please attach to description link to instructions where should be build sliding_window_opener.yaml .
    Thanks.

    • @DrZzs
      @DrZzs  Před 5 lety

      There are comments in that file that tell you which parts to put in which places in your configuration.
      If you aren't sure where the configuration.yaml, or automations.yaml or esphome yaml files are located then you should start with a good basic Home Assistant setup video.
      czcams.com/video/qnCRcGTznXs/video.html

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

    Which worktop do you have?

    • @DrZzs
      @DrZzs  Před 5 lety

      worktop? sorry, not sure what you mean.

  • @BACRULES
    @BACRULES Před 3 lety

    I im going to copy this, and trying to make it lift a screen. But i what to add it to google, is that possible?

    • @DrZzs
      @DrZzs  Před 3 lety

      should be possible. I assume you already have google home integrated into Home Assistant. They make a lot of different actuators that are made for different weights/speeds. Make sure you get one that can lift whatever you've got planned.

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

    Hi DrZzs, I'm getting an error message when trying to upload the yaml configuration:
    src/main.cpp: In lambda function:
    src/main.cpp:268:21: warning: 'esphome::cover::Cover::::state' is deprecated (declared at src/esphome/components/cover/cover.h:120): .state is deprecated, please use .position instead [-Wdeprecated-declarations]
    if (win_open->state == cover::COVER_OPEN) {
    ^
    src/main.cpp:268:21: warning: 'esphome::cover::Cover::::state' is deprecated (declared at src/esphome/components/cover/cover.h:120): .state is deprecated, please use .position instead [-Wdeprecated-declarations]
    I'm not really familiar with the usage of "cover" do I have to use this feature?
    Thanks!

  • @vinup4949
    @vinup4949 Před 5 lety

    how are you controlling fan speed with 4ch switch ?

    • @shanebeasley8191
      @shanebeasley8191 Před 5 lety

      he has replaced the original supplied control box i think, because the fan has 3 110v inputs on it, low, med, high, so the switch just chooses what input to use

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

      Shane is right. Sorry I didn't go into detail on that. I've got to do another vid really soon about the crank window opener. I'll include the wiring for the fan in that one.
      Basically, the stock fan controller has line-in, neutral-in, and 3 speed wires, one for each speed. So I just ran the L/N to the sonoff, and connected each speed wire to a different relay.

  • @MrGeoffification
    @MrGeoffification Před 3 lety

    Ok...but what did you use to automate the whole house fan?

    • @DrZzs
      @DrZzs  Před 3 lety

      A sonoff 4ch running Tasmota.

    • @MrGeoffification
      @MrGeoffification Před 3 lety

      DrZzs Sweet! I’m looking to turn my whole house fan smart, but I still need to climb into the attic and see what kind of power my fan draws. Right now it’s controlled with a timer knob and a separate switch to turn the fan to high. I was thinking a Shelly 2 but I’m not sure if the fan will draw too much power.

  • @blacspydr0719
    @blacspydr0719 Před 4 lety

    New viewer here: who the hell are you and how’d you get to be so damn smart?!

    • @DrZzs
      @DrZzs  Před 4 lety

      haha!
      I'm actually an alien-robot hybrid from the future.
      I would tell you the next powerball winning numbers, but all that money would ruin your life. ;p

  • @userasdf1546
    @userasdf1546 Před 2 lety

    I don't understand why window manufacturers don't have these installed inside the frame, so it's hidden. It would be nice to have the window open and close based on indoor vs outdoor temperature and PCT chance of rain. I hate opening the window at cool night because the AC won't turn on. Then closing it when it gets hot in the morning.

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

    Can you make this same video but show us how to use it with Alexa

    • @gamebros453
      @gamebros453 Před 4 lety

      And so we don’t have to use Home assistant

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

    Please be careful you don't crush any of the kid's fingers in the windows (you can't see if there is anything in the way while it's closing)!
    Maybe the motor has a built in safety, but just in case think of adding a pir/ultrasonic sensor to it.
    I'm gutted I can't use this on my windows (top opening skylights...)

    • @DrZzs
      @DrZzs  Před 5 lety

      good point. Maybe I should get a hotdog or something and test it to see if it stops when there's resistance.
      Skylights are nice. Do you ever open them?

    • @Roedy_Coedy
      @Roedy_Coedy Před 5 lety

      @@DrZzs I've heard if you lightly boil/steam a carrot (not long enough to cook it, but enough to take the crunch out) it's a good analogue for a finger? Less messy than a hotdog!
      Sorry, lost in translation, in the UK the majority of our windows are fixed in position. Only the top third opens by pivoting out from the top. and because they are made from PVC there's no way to mount an actuator to it (as the mount will need to pivot as the window opens). I would love a proper skylight in our utility room but the wife is dead against me cutting holes in our roof!

    • @whitebeard2407
      @whitebeard2407 Před 5 lety

      I've always wanted to do this but never have because of the concern of crushing fingers. With grandchildren around you never know what they are getting up to so, for me, some kind of sensor to stop or reverse the window would be mandatory - kind of like my garage door which has a sensor beam. If the beam is broken the door will reverse and stay open.

  • @DavidCabot
    @DavidCabot Před rokem

    I see you're using a 25w motor controller, but the max wattage on the motor is 36watts (12v@3A).

    • @DrZzs
      @DrZzs  Před rokem

      It seemed to work okay. I agree it was probably pushing the limits.

  • @HornCamp
    @HornCamp Před 5 lety

    Hook into dark sky api and check if it’s raining?

    • @DrZzs
      @DrZzs  Před 5 lety

      ooh! good point! I'll make that another condition.
      Thanks!

    • @bryanhickman7663
      @bryanhickman7663 Před 5 lety

      @@DrZzs I have Weather underground check several things to automate. The humidity for this project is one of those I use. If the humidity outside is greater than inside, I have a Sonoff Latching board activate a relay that inhibits (sorry for the backward logic) my attic fan to keep it from pulling the humidity into the house. It has a built in humdistat that, unless I inhibit it, will turn the fan on. I do the same if raining, etc. I do some manipulations around sunrise (+2hrs) and sunset (+15 min) also. I barely run my AC anymore. I plan eventually to move it to respond to an ESP server.

  • @rholt2
    @rholt2 Před 5 lety

    This was great! - i'd love to see this translated into Node-Red if you're still using that.
    thanks for all your work.
    russ from coral springs, florida, usa

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

      Thanks!
      I've still not really gotten into NodeRed. Maybe someday if I can't do what I want in Yaml.

    • @titomonsal
      @titomonsal Před 5 lety

      @@DrZzs I think NodeRed is much more powerful than Yaml, especially if you want to build repetitive automations for several devices. You should really get into it (and teach the community!)

  • @yurid7418
    @yurid7418 Před 5 lety

    Compiling sliding_window_opener.yaml I got compile error -
    esphome sliding_window_opener.yaml compile
    INFO Reading configuration...
    ERROR Error while reading config: Invalid YAML syntax. Please see YAML syntax reference or use an online YAML syntax validator:
    while parsing a block mapping
    in "sliding_window_opener.yaml", line 2, column 1:
    esphome:
    ^
    expected , but found '-'
    in "sliding_window_opener.yaml", line 128, column 1:
    - alias: window open when quietc ...
    ^
    I made copy and paste from Raw file in github. Please advise whats made wrong for compiling ?

  • @andrewwylie9259
    @andrewwylie9259 Před 4 lety

    Hi there. I'm wondering if something similar could be put together for a lock I have installed on my garage. Looks like this amzn.to/2rxlqw9 . I need to be able to remotely (un)lock it, say from a remote fob in the car, or via Home Assistant. I already have a a RPi in the garage for automated garage door open/closing. I suspect though I can't directly wire anything to it since the moving of the garage door would be a problem for the wires, so what remote (wireless) options do you think are available, and that can also control the motor. I wouldn't need something as large as the one you used....the lock latch only moves about 3-4inches.

  • @RaviTahilramani
    @RaviTahilramani Před 4 lety +2

    5.10 so true [sob]

  • @StePhanMckillen
    @StePhanMckillen Před 5 lety

    Clean windows next a But 10 out 10 tho LIke the automations

    • @DrZzs
      @DrZzs  Před 5 lety

      ya, I saw that after I filmed it. doh! Having the flash on the camera made it look even worse. ;p
      I should have shown all the leaves I had to clean out of the window well outside that window! It hadn't been cleaned for years!

    • @StePhanMckillen
      @StePhanMckillen Před 5 lety

      @@DrZzs All good you doing alsum JOB

  • @shanebeasley8191
    @shanebeasley8191 Před 5 lety

    if it aint broke dont fix it... ok i repeated after you........ another way to have done the triggering is to create a quietcool group, then just have the group as a trigger. you should also add a condition to the automation that checks if your alarm is on, so if your not home then dont bother sending a notification, 1 day you might turn it on for some reason then your window will open and trigger your alarm..

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

      ooh, good point! I hadn't considered the alarm.
      I should use groups more. I haven't done that much yet.
      Thanks!

  • @willhaney96
    @willhaney96 Před 2 lety

    I think this code would work better for your application.
    Only problem I see with it is rapid cycling because of a < or > set point.
    local Target = 65
    local Buffer = 5
    local Equalib = 10
    if inside_temp > target+buffer then
    heater.state = false
    if inside_temp > outside_temp-Equalib then
    fan.state = true
    windows.state = true
    ac.state = false
    else
    fan.state = false
    windows.state = false
    ac.state = true
    end
    elseif inside_temp < target-buffer then
    ac.state = false
    if inside_temp < outside_temp + Equalib then
    fan.state = true
    windows.state = true
    heater.state = false
    else
    fan.state = false
    windows.state = false
    heater.state = true
    end
    else
    fan.state = false
    windows.state = false
    heater.state = false
    ac.state = false
    end

  • @claudioita9
    @claudioita9 Před 5 lety +3

    "In my never ending quest to save money on electricity, " .. the best way is a thermal coat on exterior walls and roof: you can save like 50% of your energy bill like that

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

      Really? Where do I find this thermal coat of which you speak?

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

      @@DrZzs thermal coat is how Google translates it from Italian. This what I am talking about, hope the link works duckduckgo.com/?q=cappotto+termico&iax=images&ia=images

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

      For the roof and external walls

  • @PizzaGoat323
    @PizzaGoat323 Před 5 lety

    The one dislike is the energy company

    • @DrZzs
      @DrZzs  Před 5 lety

      ha! ya, they hate me. My last 3 bills have been $30, $27, and $20! Prior to this year we never had one less than $100, and the average over the year has been over $300 a month.

  • @Humphrey181
    @Humphrey181 Před 3 lety +2

    Turning on the AC above 20C (68F) is probably why you’re chewing so much power. Where I live we have jackets on until it’s into the 80s

  • @zephsmith3499
    @zephsmith3499 Před 5 lety

    Next - installing IR led sender/receiver to detect object in path when closing, like a garage door. (Could perhaps use one of the garage door sender/receiver pairs if you don't want to design your own?). It could be on the edge of the window frame opening - anything which might get crushed has to get pushed up against that edge first.
    The other option would be to have something elastic in the mechanics, so that the max closing force would be set by that elasticity rather than the power of the linear actuator - enough to close the window but not enough to crush a finger. Perhaps have an alert if the security sensor doesn't detect closed within a reasonable time.

  • @KarlMiller
    @KarlMiller Před 3 lety

    Unfortunately, the linear actuator in this project would have binding issues on a double-hung window (vertical orientation).
    Also, my wife would never smile at the site of such a contraption in the window.

    • @casemodder89
      @casemodder89 Před 3 lety

      Women aren't for tech... even worse with wifes !

  • @xanulloa6080
    @xanulloa6080 Před 5 lety

    How about doors?

    • @DrZzs
      @DrZzs  Před 5 lety

      yes! Let's automate some doors!
      One big problem to solve with doors is how to allow for easy manual override.
      I need automated doors in my life.

  • @areks4397
    @areks4397 Před 5 lety

    The name is a typo, Doc. Wasn't going to be QuietCool, but QuiteCool :P

    • @DrZzs
      @DrZzs  Před 5 lety

      hey, I like that! I'm going to suggest they change at least how they pronounce it.

  • @stevenchristenson4252
    @stevenchristenson4252 Před 4 lety

    THAT LOOKS LIKE AN EGRESS WINDOW. IT IS BUILT THAT WAY TO ESCAPE FIRES. LIMITING THE OPENING SIZE IS A BUILDING CODE VIOLATION AND A FIRE HAZARD.

    • @DrZzs
      @DrZzs  Před 4 lety

      nope. sorry to disappoint you but there is a window of exactly equal size just a few feet away.

  • @badandyg
    @badandyg Před 5 lety

    Can you move this manually? This is an egress windows. You dont want to kill your children if there is a fire do yah?

    • @MikeTrieu
      @MikeTrieu Před 5 lety

      Most linear actuator kits have quick disconnect couplings.

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

    Great video as always, Dr. Zzs. Thank you.
    P.S. You could install the linear actuator the way it is shown in this video czcams.com/video/2faqmeiGtCY/video.html. Then the whole window could be opened.

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

      Holy Crap!! How did I not think of that!!@!!
      Thanks! Now I need a longer actuator :)