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.
    • RussR
      Russ
      last edited by Russ

      {"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
      • RussR Russ referenced this topic on
      • First post
        Last post