WiFi Garage Door Controller | Raspberry Pi Pico W Project

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 มิ.ย. 2024
  • ✍ The project write-up: core-electronics.com.au/proje...
    I strapped a Raspberry Pi Pico W to my garage door motor and now I can control my garage door from my phone! The Pico W hosts a simple webpage on my local network with three control buttons - one for Up, Stop and Down. Pressing one of the buttons does exactly what you'd expect!
    💡 If you have any questions about this content or want to share a project you're working on head over to our maker forum coreelec.io/forum
    Grab a Raspberry Pico W: core-electronics.com.au/raspb...
    Here is that delish protoboard from the video: core-electronics.com.au/catal...
    Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:
    • Raspberry Pi core-electronics.com.au/raspb...
    • Arduino core-electronics.com.au/ardui...
    • Sparkfun core-electronics.com.au/brand...
    • Adafruit core-electronics.com.au/brand...
    • Pololu core-electronics.com.au/brand...
    • DFRobot core-electronics.com.au/brand...
    0:00 Introduction
    0:37 Door-motor Interface
    1:25 Design + Build Circuit
    5:35 Testing the circuit
    6:13 Firmware overview
    7:10 Installation
    7:47 The moment of truth
    8:40 Nice finishing touches
    9:05 Considerations
    10:16 Extra resources
    The following trademarks are owned by Core Electronics Pty Ltd:
    "Core Electronics" and the Core Electronics logo
    "Makerverse" and the Makerverse logo
    "PiicoDev" and the PiicoDev logo
    "GlowBit" and the GlowBit logo

ความคิดเห็น • 139

  • @joecolchic1620
    @joecolchic1620 หลายเดือนก่อน +1

    7:59: that moment of exaltation so familiar to those who have spent hours, days or even weeks trying to make a project work. Nice job!

  • @camcairns2584
    @camcairns2584 ปีที่แล้ว +33

    You probably want to put a series resistor on the MOSFET gate. The pico supplies 15 mA and the gate capacitance draws about 120 mA. Not a biggie in this case where the duty cycle is low, but good practice in general.

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว +4

      Totally 🙌 Once of those cases where a BJT might have made more sense - one fewer resistor required for best-practice!

    • @rayr268
      @rayr268 ปีที่แล้ว +2

      Any great resources I could use to gain the experience you have with electronics?

    • @alex59292
      @alex59292 ปีที่แล้ว +1

      @@rayr268 just like coding experience helps you learn

  • @Bob3519
    @Bob3519 ปีที่แล้ว +18

    Very nice. I did something like this a couple of years ago using an esp32. It also interfaced with Home Assistant using Mqtt. It had the ability to text me that it was opening, I could also check it's current open status. There also was the ability to auto close if left open based on time of day and/or length of time open.
    I'm going to build another soon also using a Pico W at my son's house.

    • @ethelmini
      @ethelmini ปีที่แล้ว

      You could also look at Shelly WIFI switches. Not as flexible, but a complete solution at a similar price point. It's what I'm using, but I find it a little buggy with their own app. Only really likes connecting via 4G & their cloud service - I reckon it goes to sleep & loses the paired IP addresses when I try to use it on just my LAN.
      I'll have to look at flashing the firmware to run Home Assistant I guess - or repurpose it as a light switch & build a Pico multi function garage doo-dah.

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว +1

      Awesome would love to see your build when its done, post it over at our forum for the rest of us to drool over 🤤 forum.core-electronics.com.au

    • @TheMrDrMs
      @TheMrDrMs 10 หลายเดือนก่อน

      Do you happen to have a git link or something? I'm looking to incorporate this into HA, mqtt would work perfectly for me.

  • @mysoundiicon8473
    @mysoundiicon8473 ปีที่แล้ว +2

    You should have a textbox for passwords and put some sort of simple pass code for executing the commands. Your phone will remember it so you do not need to write it every time. but new users will need it to use your web based controller. just in case someone steals your wifi pass or something. i mean guest don't need access to your garage do they?

  • @absurdbird3556
    @absurdbird3556 ปีที่แล้ว +3

    A less invasive way to do this (assuming the remote controls use radio frequency to send instructions) would be to capture the radio "chirps" that are transmitted by the remote control with an RF module and send them via the same RF module controlled by the Pico. People have demonstrated you can do this with RF car keys to unlock the car door. You wouldn't have to even touch the door mechanism.

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      That's a great idea, thanks for sharing.

    • @absurdbird3556
      @absurdbird3556 ปีที่แล้ว +1

      @@Core-Electronics Although it probably uses a rolling code, so a recorded code would only work once. You could probably fit the key into the transmitter circuit somehow (it just requires a button press), so the pico always has the right code to transmit.
      Perhaps your way is easier after all
      🤔

  • @andrewowens5653
    @andrewowens5653 ปีที่แล้ว +4

    Thanks, and I like your choice of motorcycles. Now if only I could get that Raspberry Pi Pico w in Japan!

    • @Peter-jm7zt
      @Peter-jm7zt ปีที่แล้ว

      Is that a 9TR ?

    • @MichaelRuppe
      @MichaelRuppe ปีที่แล้ว

      @@Peter-jm7zt is a BMW R1200R 😀

    • @Peter-jm7zt
      @Peter-jm7zt ปีที่แล้ว

      @@MichaelRuppe nice

  • @ianbertenshaw4350
    @ianbertenshaw4350 ปีที่แล้ว +7

    Awesome project ! You could modify this and make all sorts of useful things like watering system etc .

  • @ethelmini
    @ethelmini ปีที่แล้ว +3

    Only 2 mins in & you've earned a like for your very clear commentary & camerawork.
    Many garage openers only have 2 connectors for a remote switch and cycle the up, stop, down functions & you're lucky to have a permanent 12v.
    Good thinking on the external pullups, hadn't thought about what happens to the onboard ones if a Pi is powered down - do they go floating?
    I suppose if you have a common power supply to the Pi & transistors it's become irrelevant?
    If you wanted to refine it:
    An open/shut door indicator on the web page would be handy so you could use it to allow access when you're not present (You could easily lose track of the door status with a single button version). Tying in to that would be a nod at some security, such as password or passkey or limiting access to locally connected devices.

    • @ethelmini
      @ethelmini 2 หลายเดือนก่อน

      Unless there's a temporary power outage & the pin floats when the power returns.
      If you have a 2 wire connection, you could also use the pi to run a PIN keypad.

  • @stanmacdonald1073
    @stanmacdonald1073 ปีที่แล้ว +1

    Nicely done. One quick pointer however -- flux, flux, flux! A bit of flux will help the solder wet the connections dramatically!

  • @Liam-xz7xu
    @Liam-xz7xu ปีที่แล้ว +6

    Sooo cool! Excellent videos as always, loved this format😁
    Can't wait to see what other projects are made with the Pico W!

  • @francisstapp1583
    @francisstapp1583 ปีที่แล้ว +2

    cant wait for them to be in stock

  • @chairmakerPete
    @chairmakerPete ปีที่แล้ว +2

    Brilliant!
    I could do the software easily enough, but the electronics completely defeats me.
    Great video!

  • @createinvent
    @createinvent ปีที่แล้ว +1

    Nice soldering shots!

  • @vladimirastrelin1719
    @vladimirastrelin1719 ปีที่แล้ว +3

    Very impressive! Thanks for the video

  • @AJ_Whitney
    @AJ_Whitney ปีที่แล้ว +5

    This is exactly one of the projects I had hoped to build using the Pico Ws I just ordered. I hadn't considered hosting the control page right on the Pico, but that's simpler than creating an app for my phone. Thanks so much for posting this!

    • @army6669990101
      @army6669990101 ปีที่แล้ว +1

      With this approach you could do both. You can have a page hosted on the pico itself, but making the requests from a mobile app, or even another website would also work just fine.

  • @PhG1961
    @PhG1961 ปีที่แล้ว +2

    Nice video. Great bike in you garage !!

  • @schrodingersmechanic7622
    @schrodingersmechanic7622 ปีที่แล้ว

    I did a similar version of this with a pi 3 and touchscreen using node red. It's mounted on the wall running in kiosk mode so it boots straight into the door operator interface so it functions as the wall button but also allows me to use my phone as you did. My reaction was very similar to yours when it first worked.

  • @vishwa_tennyson
    @vishwa_tennyson ปีที่แล้ว

    you became very excited and happy while the door opens 😃

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      It worked first go! That literally *never* happens 😀

  • @dalsbury1979
    @dalsbury1979 ปีที่แล้ว

    Great tutorial! I’ve been wanting to do this for a long time, but never took the time to get started.

  • @samishiikihaku
    @samishiikihaku 8 หลายเดือนก่อน

    I am planning a similar project. A pico to do the opener, and two sensors to tell if the car door, and side person door is open.
    My garage door is probably from the 70s or 80s. I was just planning on tapping into the button in the garage it self. ( my garage is detached, and only has 1 button inside the garage itself... hence this project. lol )

  • @Taki7o7
    @Taki7o7 ปีที่แล้ว +4

    i think using the get parameter from the url is not good practice. It might get called when your browser on the phone refreshes in the background, which can happen very randomly.

    • @MichaelRuppe
      @MichaelRuppe ปีที่แล้ว +3

      That's a great point! This isn't the first time I've done this project - I have used an esp32-based system for about 18 months with no problems from spontaneous refresh. However, a neat addition would be to return the user to the base URL with a 301 redirect in the header.

    • @dk14929
      @dk14929 11 หลายเดือนก่อน

      Yep, it's considered best practice to not perform any side effects during a GET request, and that's one good reason why. Some browsers will even prefetch URLs found in links on the current page.
      This should be changed to use a POST request instead

  • @rasaskitchen
    @rasaskitchen ปีที่แล้ว +1

    Nicely done! If only I could get a hold of a rpi pico w. Looking forward to more pico w projects.

    • @therealcoolc
      @therealcoolc ปีที่แล้ว

      They are in stock at canakit. I just ordered 4 because I know once I get one going, I'm going to want to do more projects.

  • @epilux-gm8zm
    @epilux-gm8zm ปีที่แล้ว +1

    Yo, man, I'm new to embedded and I love these videos

  • @ivanr5315
    @ivanr5315 ปีที่แล้ว +3

    Lovely project that is interesting for a lot of makers (assuming that they have a garage door that needs opening/closing). Just ordered a pico W as well as a relay board for the pico to speed-up the process. Although I use two Networks (internal and guest), as other have mentioned it would be nice to have a pin to add before confirming the opening of the door. I will see if I can modify the code provided to do this, thanks for the inspiration in these projects

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว +1

      You're very welcome, we'd love to see how your project turns out on our forums: forum.core-electronics.com.au

  • @hamzaa2027
    @hamzaa2027 ปีที่แล้ว

    Great project! with security in mind, you can even remotely control the garage door by setting up a publicly accessible reverse proxy server in your network, controlling access to the hardware.

  • @cloudmirchi
    @cloudmirchi ปีที่แล้ว +1

    Good one

  • @Peter-jm7zt
    @Peter-jm7zt ปีที่แล้ว +2

    Hi,
    The raspberry pi pico is fantastic and very cheap.
    Great use of pico. Really enjoyed the video.
    Regards
    Peter

  • @patrickrobinson317
    @patrickrobinson317 ปีที่แล้ว

    Awesome !!!

  • @jechonjafehlauer2040
    @jechonjafehlauer2040 ปีที่แล้ว +3

    Incredible👌👌

  • @mikeosx2009
    @mikeosx2009 ปีที่แล้ว +2

    Shame we have content to tease us, but no way to order a Pico W in Australia for possibly many months.

  • @michaelcarroll4832
    @michaelcarroll4832 ปีที่แล้ว

    Hi; When working with the PICO W; Can you explain how to see my Pico W on the network? Is there commands to use? Also, would like to see other projects on with how to connect WIFI.BTW: I do not want to ruin my Garage Door opener at this time . :) It has been working for 20 years. It is great to see your video from UK. Thank you Michael

  • @wifinesesi
    @wifinesesi 11 หลายเดือนก่อน +1

    I'm a very poor electrician, but if I understood correctly, your pi pico recieves data sent from your phone and according to the data (up,down,stop) the pico bridges the pins on your garage

    • @Core-Electronics
      @Core-Electronics  11 หลายเดือนก่อน +1

      You got it! 👌

    • @wifinesesi
      @wifinesesi 5 หลายเดือนก่อน

      @@Core-Electronics love the content man

  • @johnberame5322
    @johnberame5322 7 หลายเดือนก่อน

    very good video

  • @yacineatroune
    @yacineatroune ปีที่แล้ว

    Thanks for sharing 👍

  • @wilko1251
    @wilko1251 ปีที่แล้ว

    Hi, nice video.
    How did you manage to set up garage.door with pihole?

  • @husky3g
    @husky3g 6 หลายเดือนก่อน

    Would it be possible to make an RF remote that controls the door/can be wall mounted elsewhere to wireless communicate with the Pico as well? Would be cool to have a setup independent from your phone so you don't have to open the app/webpage every time you want to open your garage door.

  • @glen4cindy
    @glen4cindy ปีที่แล้ว +1

    I would like to be able to see the current status of the garage door as an addition to this project. For example, I have a remote in my car but there are times that I wonder if I forgot to close the garage door when I left. If I could check first that would be great. If I could check this status from anywhere that would be the ideal.

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      Easy! Add a reed switch or other common sensor for door-state detection. Look up port forwarding to bring your server onto the World Wide Web - but beware! You can't rely on your WiFi network for security now - you'll have to manage your own credentials and user verification.

  • @za.c
    @za.c ปีที่แล้ว +1

    You could also add a reed switch and determine if the garage door is open or closed remotely!

  • @bertblankenstein3738
    @bertblankenstein3738 ปีที่แล้ว

    Next time, instead of cutting the excess length off from those electronic parts, bend them to help make a path. That'll be nicer than blobbing and bridging. Pretty cool project, and now I'll have to see if my opener has terminals like that.

  • @stefanolivingketo1076
    @stefanolivingketo1076 ปีที่แล้ว

    Hi great video, can you send me the link to the pico w web server controlling an led I can’t find it anywhere thank you in advance

  • @jyvben1520
    @jyvben1520 ปีที่แล้ว +3

    That was quick, but then companies had the pico w for weeks before the launch, nice article,
    would not use green, but light blue background for up/open and black background for down/close.
    also the main background white, i prefer a darker grey/cyan, a bigger font would also be nice (bigger buttons)
    but those are simple fixes, same with the typos in the code text (excamples, .diable)
    Used a lot of solder, i prefer the cut offs.

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      Insider intel - we did this project and write-up on the first weekend the Pico W was available. Being overly excited helped move things along.
      Great ideas for features and changes!

  • @daveintexas
    @daveintexas ปีที่แล้ว

    Excellent work. I'm trying to extend this to make buttons change color and even enable/disable them based on what my Python code does with the last button push. I'm having trouble cracking that nut. Any advice or suggestions?

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      It sounds like you want to format variables into the HTML string. Head over to the forums if you get stuck - it's much easier to share code there forum.core-electronics.com.au/

  • @TheRooster276
    @TheRooster276 ปีที่แล้ว +1

    Wow great video. This is the first video where I see proper soldering. Most videos out there use solder as glue. Wonderful video.

  • @nml1877__
    @nml1877__ ปีที่แล้ว +1

    Impressive! Are those Makerverse boards available in the UK yet?

  • @jazzjohn2
    @jazzjohn2 ปีที่แล้ว +2

    Nice video. Opto isolators could have been used instead of the mosfets.

  • @MichaelKingsfordGray
    @MichaelKingsfordGray ปีที่แล้ว

    How secure is the software?
    Is it encrypted/password-protected?

  • @tubenutzer0007
    @tubenutzer0007 6 หลายเดือนก่อน

    In terms of content, I am looking for a way to store the access data for the WLAN securely, i.e. not in a separate file as plain text. As the RP2040 does not have a CryptoChip, the integration of an external chip such as the ATECC608A would be a possibility. But to be honest, that's a bit too much for me without help...

  • @dibyojyotibhattacherjee4279
    @dibyojyotibhattacherjee4279 ปีที่แล้ว

    is the pico W more revolutionary over pico..

  • @jazzjohn2
    @jazzjohn2 ปีที่แล้ว

    I have your code running on a pico w, but the server is unreachable every so often and requires a power cycle. The pico is close to the access point, so I don't believe it's a signal issue. Maybe there's a way to incorporate a watch dog timer and detect when the server is not hung ( to reset the timer)?

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      have a look in the resources for the project - particularly using an asynchronous server. This base code is actually a little naive, and there's a few enhancements one may make. Best of luck!

  • @user-lk7cv8vg7r
    @user-lk7cv8vg7r ปีที่แล้ว

    Hmm, I wonder if it would be possible to integrate a failure alert. Most garage door machines seem to have a fail state indicated by a flashing light, so it exists. But how to tap into that would be the hard part.

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      That definitely would be a bonus to the project, though we haven't gone that far down the rabbit hole, but if you do build something awesome let us know 😀

  • @bruceinaustin
    @bruceinaustin ปีที่แล้ว

    Works great; caught the neighbor's dog.

  • @bill392
    @bill392 ปีที่แล้ว

    It would be nice to wire a door position sensor to the Pi and program the Pi to send a text or notification to your phone after a predetermined period of time. I sometimes forget to close the door and it stays open all night and I kick myself in the morning upon discovery. The same sensor state integrated into the app could show the door position on the phone app screen.

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      Wouldn't it be nice! Jeff Geerling did exactly that! His project actually inspired us to create this one.
      Jeff's video: th-cam.com/video/VEWdxvIphnI/w-d-xo.html

    • @bill392
      @bill392 ปีที่แล้ว

      @@Core-Electronics Thank you for this. I went and watched the video from your link and it was very interesting. Lots of possibilities indeed. I think I can combine what I learned here with that, should be straight forward enough. I think his choice of door open/closed sensor was unnecessarily huge but the concept is right on. There's certainly nothing incorrect about using a discrete mosfet as a sort of solidstate relay (SSR) to emulate push-button key presses however some might wish to consider using an actual SSR device such as the old TLP222A or newer LAA108. These are opto-activated so the Pi would drive the internal LED via series resistor. The output is true AC/DC up to 60V, 300mA. There are many models of SSR devices in DIP4 and DIP8 and SMT packages as well made by many mfrs with varying specifications for output voltage and current capacity.
      www.digikey.ca/en/products/detail/ixys-integrated-circuits-division/LAA108/3077633

  • @ppal64
    @ppal64 ปีที่แล้ว

    You need a close sensor too.

  • @mikemorris5730
    @mikemorris5730 ปีที่แล้ว

    I'm going to build this, and have two questions:
    First, where can I get one of those Makerverse boards?
    Second, I may do this with a Pi Zero W that I already have... How hard would it be to add a Pi camera or a USB camera to this and display a current image of the garage on the web page?
    I'd like to be able to view the page on my cellphone and see if the door is blocked by the kids leaving something like a bicycle in the middle of the car space, or if the door is already open before I get there. Even if the Pi only took a picture once a minute that would be enough.

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      First question is easy you can find the Makerverse protoboards here: core-electronics.com.au/makerverse/prototyping.html
      The second question is a little more complicated and might be best to ask over on the Core Electronics forums, we've got some serious smarties over there that can help you out with whatever you're working on. 😊👍 forum.core-electronics.com.au/

  • @larrybud
    @larrybud 4 หลายเดือนก่อน

    I think you'd be better off using some sort of RF transmitter/receiver. No wifi necessary, no need to get the phone out. Some things are just better with physical buttons.

  • @damianbutterworth2434
    @damianbutterworth2434 ปีที่แล้ว

    I can send a program to the pico but then it says backend error when I try to send another program. I might try programming it with another pi rather than a laptop. Any clues please?

  • @Hardwar3_Hack3r
    @Hardwar3_Hack3r ปีที่แล้ว

    Nice - what about MQTT Home Assistant?

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว +4

      We'll be working on more Raspberry Pi Pico W education in the coming weeks so keep your eyes peeled. 👀

  • @mitchellmigala4107
    @mitchellmigala4107 ปีที่แล้ว

    I want to do something similar , but I want to use a radio transmitter so that I can control all 3 garage doors with one pico w, set it up to send one of three radio transmissions depending on which door you want to open or close! anyone know if this is possible? anyone point me in the right direction?

  • @tompaquette7138
    @tompaquette7138 ปีที่แล้ว +2

    Now how about a sprinkler control system?

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว +2

      This would go so well with data from OpenWeather.. A sprinkler system that can pull weather forecasts in with a single web request.. If >50mm rain forecast in next X days then do the right thing [skip this cycle]

  • @DarrylAdams
    @DarrylAdams ปีที่แล้ว +3

    Linus over at LTT would be disappointed you made a cheap but awesome door device! On the security side, could you use a handshake or a token on your phone to allow only authorised people to open the door? (Not a coder)

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      Another idea for shared WiFi - use a guest network for visitors as guest networks (which almost all routers support) are setup in such a way that devices can't connect to each other (no access to your Pico W!). That way you can keep your main WiFi password for home occupants that you would trust with keys to the front door :)

    • @nurmr
      @nurmr ปีที่แล้ว

      Or add a pin code entry on the web page that's checked when opening the door (not for stop).

  • @slabua
    @slabua ปีที่แล้ว

    Why not using solid state relays?

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว +1

      Good question! Because MOSFETs were available, and I wasn't particularly concerned about isolation.

    • @slabua
      @slabua ปีที่แล้ว +1

      @@Core-Electronics cool thanks!

  • @tld8102
    @tld8102 ปีที่แล้ว

    is it safe? or convenient?

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      Michael here! I've been using this device for many months now and find it really has been both :D For my specific use case it's been invaluable: More responsive than a OEM remote, and no less secure than any other physical attack vector on a typical property. 10/10 project (for my needs. Your mileage may vary).
      Another plus is that my housemates and family may use this instead of a physical key or remote. Nice!

  • @robertsandy3794
    @robertsandy3794 ปีที่แล้ว +1

    Hi,
    Yes, I think it is an interesting way to use the Pico. However, if you were to look at speed, the garage door opener I think would always win hands down.
    With the pico, effectively, as you said, you are exposing your home network. A program called hashcat can, with the assistance of a GPU, brute force your wifi password quite quickly. It may even be possible to reflash the firmware on the pico by a malicious actor.
    With the garage door opener, this is not an issue.
    It only takes 1 press to open or close the garage door with the garage door opener.
    With your mobile phone, you have to unlock your mobile phone, go to a browser, go to the web page, wait for it to load and then press the appropriate button to do the appropriate action.
    Please keep up the excellent content as it is very informative and interesting.
    Perhaps you could also do another program to articulate why you chose the particular components as well as the mathematics behind it!

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      Thanks Robert!
      I recall reading it would take hashcat 8+ years to crack WPA2 passphrase which is 9 lower-case letters with the hash speed of about 22000 h/s
      That cracking number gets *really* big the more entropy you throw at your WPA2 passphrase. Short story; follow the usual rules and get on with life :)
      All the best with your projects

    • @nurmr
      @nurmr ปีที่แล้ว +2

      As demonstrated at 9:00, you can create a home screen shortcut to take you directly to the control page (the DNS name is not required, but it needs a static or reserved IP otherwise). With a bit of work it's possible to create a Progressive Web Application which allows the page to be cached so it loads a cached copy of the page from the phone (and only requires network access once the button is pushed).

  • @c090890
    @c090890 ปีที่แล้ว

    Hello!
    It doesn't work for me either! There are error messages!

    • @thebarneylejeune
      @thebarneylejeune ปีที่แล้ว

      I am also getting an error message. Have you found a solution or fix for the error?

    • @MichaelRuppe
      @MichaelRuppe ปีที่แล้ว

      Easy one-line fix - See this forum post: forum.core-electronics.com.au/t/project-by-michael-wifi-garage-door-controller-with-raspberry-pi-pico-w/14526/6

    • @thebarneylejeune
      @thebarneylejeune ปีที่แล้ว

      @@MichaelRuppe, thank you. The correct statement is: stateis = " "

  • @geirha75
    @geirha75 ปีที่แล้ว

    Challenge... how to open the door when away from your local wifi? Considering the network safety as well...

    • @dom2114
      @dom2114 ปีที่แล้ว +1

      If you have a VPN server running inside your network, you could VPN into it and issue the command as if you were on site

  • @khatharrmalkavian3306
    @khatharrmalkavian3306 ปีที่แล้ว +2

    You're gonna be real sad when you learn about Raspberry Pi's "wheel of fortune" approach to wifi stability. May want to have it reboot itself occasionally.

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว +1

      I expect you're right, but we'll lifetime test the project and add reconnects as necessary (nothing a try-except won't fix 😉). The "Connecting to WiFi " document from Raspberry Pi has some great advice to make a robust webserver. The code here is actually an asynchronous server that can handle multiple simultaneous requests.

    • @khatharrmalkavian3306
      @khatharrmalkavian3306 ปีที่แล้ว +1

      @@Core-Electronics It may be easier to deal with on the Pico, just because it's an MCU instead of linux.
      My Pi3 running Raspbian will lose its connection and then not detect that it's lost the connection, and I haven't been able to find a way to get it to reconnect without rebooting the device. I suspect it may be a heating issue on the chip causing it to lock out or something, but it seems to happen randomly rather than during high traffic.
      I thought about having a daemon try to ping the router once an hour and reboot if it fails, but then I realized that I wouldn't want it suddenly rebooting if I were working on something, so now I just have it reboot at midnight. I'm going to replace it with a 4 in a few days, so hopefully that works out better.

    • @alanb76
      @alanb76 ปีที่แล้ว

      @@khatharrmalkavian3306 I made a pi3b ntp server, it runs reliably on wifi, I never have a problem with that. I did turn off the wifi power saving perhaps that helps with reliability, I have not had problems with that at all.

  • @cantarol
    @cantarol ปีที่แล้ว

    Get this error:
    Client connected
    Request: b'GET / HTTP/1.1
    '
    DOOR=UP => -1
    DOOR=DOWN => -1
    DOOR=STOP => -1
    Task exception wasn't retrieved
    future: coro=
    Traceback (most recent call last):
    File "uasyncio/core.py", line 1, in run_until_complete
    File "", line 142, in serve_client
    NameError: local variable referenced before assignment

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว +2

      The best place for technical help is at the bottom of the project writeup, or on our forums: forum.core-electronics.com.au
      We're best able to share code-snippets and pictures there.

    • @matthewamerson1335
      @matthewamerson1335 ปีที่แล้ว

      I get the same error, did you ever find a fix?

    • @thebarneylejeune
      @thebarneylejeune ปีที่แล้ว

      I am also getting an error message. Have you found a fix?

    • @MichaelRuppe
      @MichaelRuppe ปีที่แล้ว

      @@matthewamerson1335 see my reply to cantarol

    • @MichaelRuppe
      @MichaelRuppe ปีที่แล้ว

      @@thebarneylejeune see my reply to cantarol

  • @cantarol
    @cantarol ปีที่แล้ว

    Hi, I´m a newbie, can you send me the pyton code? thanks.

    • @MichaelRuppe
      @MichaelRuppe ปีที่แล้ว +1

      Check the link in the description for a full code listing and plenty of other resources

  • @jackyli6716
    @jackyli6716 ปีที่แล้ว

    keep your router password in safe place otherwise some hacker may open your garage door by hacking into your web site..😂

  • @angryidahobusdriver
    @angryidahobusdriver 4 หลายเดือนก่อน

    Rufus!

  • @markeverett1393
    @markeverett1393 5 หลายเดือนก่อน

    Lots of what, not enough why. 🙃

  • @jamesbucsis6296
    @jamesbucsis6296 ปีที่แล้ว

    Can you solder a board for me ....Pay you .

  • @SA-ow9yo
    @SA-ow9yo ปีที่แล้ว

    Get a wireless remote

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว

      😅 Gee why didn't we think of that. Thanks 👍

  • @bluegizmo1983
    @bluegizmo1983 ปีที่แล้ว

    You call that a garage?! My bedroom is bigger than that 😂

  • @florvasquezr
    @florvasquezr ปีที่แล้ว +1

    That is so unsave.

    • @jyvben1520
      @jyvben1520 ปีที่แล้ว +1

      the router can have a mac address white list, only the known devices are allowed on the net !

    • @Core-Electronics
      @Core-Electronics  ปีที่แล้ว +2

      Or only give people your home WiFi password that you would trust with the keys to your home :) Use a guest WiFi network for all the rest
      And if you need more, then add to the code - it's a great starting point!

    • @typxxilps
      @typxxilps ปีที่แล้ว +3

      not sure what you consider to be safe but usually it depends how it is used.
      Is your front door key safe ?
      Usually not cause there are moments when those are accessible for someone else who can put plasticine around and you are screwed but still feel safe cause you have no clue nor any idea of the moment when the attack might happen.
      Keys are not safe or at least only as safe as the awareness is there cause in the gym or beach or pool you will not go into the water with them.
      This one looks pretty safe for a garage door - he simply uses the available pins / connectors and a connection from his phone.
      Do you consider to call the usual rfid cards to be safe ?
      You can copy them even faster than the gold ones with plasticine.
      Awareness is the key to safety. And if you solder all that stuff together on your own you will be for sure aware about the safetyness considering that noone gets the WiFi key of your home except those who do live there permanently while guests will get access to the guests network.
      Why do you care ?
      Just a comment line without any explanation - from Fort Knox for sure.

  • @rayr268
    @rayr268 ปีที่แล้ว

    Save the website to a shortcut that you save as a icon to your Home Screen. Awesome