Skip to content

Commit 0d2206a

Browse files
committed
Set limits for which the sensor should be considered down
1 parent 53e211a commit 0d2206a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ check_services () {
3838
state="1"
3939
fi
4040

41-
output="$output { \"channel\": \"$service\", \"value\": \"$state\" },"
41+
output="$output { \"channel\": \"$service\", \"value\": \"$state\", \"limitmode\": 1, \"limitminerror\": \"1\", \"limitmaxerror\": \"1\" },"
4242
done
4343
output="$output { \"channel\": \"updated\", \"value\": \"$(date +%s)\", \"showchart\": 0, \"showtable\": 0 } ] } }"
4444
;;

0 commit comments

Comments
 (0)