'Bash/Pinger/Smartping.sh.examp' updaten

This commit is contained in:
2020-02-20 10:33:56 +00:00
parent 975121e31c
commit 77968b5f6f

View File

@@ -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&param=switchlight&idx="$IDX"&switchcmd=On" 2>/dev/null 1>/dev/null