concierge/dooropen

17 lines
384 B
Plaintext
Raw Normal View History

2014-06-06 13:48:56 +02:00
#!/bin/sh
echo "Initializing Door Systems..."
echo "Securing Communication to Door Systems..."
echo "Open Communication Channel..."
sleep 0.5
2014-06-06 13:48:56 +02:00
echo "Opening Door..."
echo "1" > /sys/class/gpio/gpio17/value
2014-06-06 13:48:56 +02:00
sleep 1
echo "Welcome"
echo "0" > /sys/class/gpio/gpio17/value
sleep 3
2014-12-09 22:08:32 +01:00
echo "Aaand again"
echo "1" > /sys/class/gpio/gpio17/value
sleep 1
echo "0" > /sys/class/gpio/gpio17/value