18 lines
435 B
Text
18 lines
435 B
Text
|
#!/bin/sh
|
||
|
|
||
|
#echo "Initializing Door Systems..."
|
||
|
#echo "2" > /sys/class/gpio/unexport
|
||
|
#echo "2" > /sys/class/gpio/export
|
||
|
#sleep 0.5
|
||
|
#echo "Securing Communication to Door Systems..."
|
||
|
#echo "out" > /sys/class/gpio/gpio2/direction
|
||
|
#sleep 0.5
|
||
|
#echo "Open Communication Channel..."
|
||
|
curl dooris.gnomus.de/unlock
|
||
|
#echo "Opening Door..."
|
||
|
#echo "1" > /sys/class/gpio/gpio2/value
|
||
|
#sleep 1
|
||
|
#echo "Welcome"
|
||
|
#echo "0" > /sys/class/gpio/gpio2/value
|
||
|
|