'Bash/Pinger/Smartping.sh.examp' updaten
This commit is contained in:
@@ -64,7 +64,7 @@ CurTime=$(date '+%d/%m/%Y %H:%M');
|
||||
if [ "$device" = "$domoticzstatus" ] ; then
|
||||
echo "$CurTime | Device: $Name | Status: $technology"
|
||||
else
|
||||
echo "Status desynchronized, resynchronizing..."
|
||||
#echo "Status desynchronized, resynchronizing..."
|
||||
if [ "$device" = On ] ; then
|
||||
echo "$CurTime | Device: $Name | Sync: Online"
|
||||
curl -s "http://"$domoticzserverip"/json.htm?type=command¶m=switchlight&idx="$IDX"&switchcmd=On" 2>/dev/null 1>/dev/null
|
||||
|
||||
Reference in New Issue
Block a user