Not satisfied with just a little overengineering, I decided to keep tinkering with my GaragePi project as my non-technical spouse rolled her eyes.
A new update is available that brings support for IFTTT’s Maker Channel. There’s also some backend stuff that makes the app a bit more secure.
See release notes for details and the updated documentation for specific IFTTT events.
How could I change the port the web server listens on please?
@Tim: You just need to edit
/etc/lighttpd/lighttpd.confin your favorite text editor. Look for the line that starts with
Any known issues with the Raspberry Pi Zero W and latest Rasbian? I’ve installed as per the guide, can access in the web interface, but am not getting the relay to close when I click the link. Will it work without the reed switch or could that be my problem? I’m not much of a coder, so am not sure where/how to debug (using this project to start getting my feet wet into IOT) .
No known issue with the Pi Zero W as far as I’ve heard but I haven’t worked with one yet either. After a quick browse through the code it doesn’t look like there are any conditions on triggering the relay so it should still work without the reed switch.
I dunno, the only thing I can suggest is to check that you have the right pins wired up. Make sure you’re using pin 7 for the relay and if not you should update the
Nicely build! I looked at multiple garage door openers but this seems to be the best I have seen so far.
Question: Did you think when you developed the code to have a possibility to have multiple door accessible? I have 2 garage doors and would like to control them both…
Thanks for the kind words Mike! Multiple garage doors is the number 1 request but I just haven’t had the time to update it. It looks like there are a couple forks. Maybe one of them has added support.
Hi Nathan, thanks for your awesome git. However I’m new to IFTTT, and I cannot figure out how I’m supposed to setup these events, your tutorial doesn’t cover that.
I’ve got my key, and added that into the app.cfg, but again not sure how to setup IFTTT to work with the Pi.
Once you’ve got everything set up, your Pi will send along events to the Maker channel of IFTTT. It’s been a long time since I used this myself but I believe you just add a new action handler in IFTTT and drop in one of those event names. Then you choose what you want IFTTT to do.
Hi Nathan, thanks for your response. I still can’t figure things out though, I’ve never used iftt before.
I select web hook, I select alexa, and all that. It wants a make web request url though. What url do I use? The ip address of the pi, which I can access via a web browser? I don’t understand what the url would be to open/close which I put on iftt.
This thing is fantastic. My only problem is that the history is very slow to load, possibly due to size. It seems that history is stored in a SQLite database. It would be handy to have a button to delete history, or at least be able to control how much is maintained.
Thank you for all of your hard work on this project.