fixed opendoor.sh

master
Georges Herber 2016-05-07 10:39:54 +02:00
parent 15ef5188d5
commit 72136d3fc6
1 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash #!/bin/bash
BUZZERURL="$(cat "$(dirname "$0")"/secret.txt)/state.xml?relay1State=2&pulseTime1=5" RELAYURL="$(cat "$(dirname "$0")"/secret.txt)/state.xml?relay1State=2&pulseTime1=5"
wget -O - --timeout=1 --tries=1 $BUZZERSTATUSURL wget -O - --timeout=1 --tries=1 $RELAYURL