concierge/dooropen
anthraxx b08e72612d also setup the dooropen gpio pins like the others
for explenation about the reason, see the previous commit message
2015-08-26 22:33:43 +02:00

16 lines
384 B
Bash
Executable file

#!/bin/sh
echo "Initializing Door Systems..."
echo "Securing Communication to Door Systems..."
echo "Open Communication Channel..."
sleep 0.5
echo "Opening Door..."
echo "1" > /sys/class/gpio/gpio17/value
sleep 1
echo "Welcome"
echo "0" > /sys/class/gpio/gpio17/value
sleep 3
echo "Aaand again"
echo "1" > /sys/class/gpio/gpio17/value
sleep 1
echo "0" > /sys/class/gpio/gpio17/value