• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Raspberry Pi based garage door opener

Raspberry Pi
1
1
4.5k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Russ
    last edited by Russ May 30, 2017, 1:54 AM Apr 10, 2017, 10:06 PM

    {"trigger":"Garage Door","command":"\/root\/garagedoor.sh","ground":"background","voice":"door"},

    garagedoor.sh contents:

    #!/bin/sh
    gpio mode 3 out
    gpio write 3 0
    sleep .5
    gpio write 3 1

    You'll need to install this software on your Pi:
    http://wiringpi.com/the-gpio-utility/

    I'm using this 8 channel relay board (8 is overkill but still cheap):
    https://www.youtube.com/watch?v=oaf_zQcrg7g

    Raspberry Pi Wired to Relay

    Russell VanderMey

    1 Reply Last reply Reply Quote 0
    • R Russ referenced this topic on Aug 16, 2022, 9:21 PM
    1 out of 1
    • First post
      1/1
      Last post