Skip to content

Commit 3a580d3

Browse files
authored
Merge pull request #17 from pascalberger/feature/limits
Set limits for which the sensor should be considered down
2 parents 53e211a + 0d2206a commit 3a580d3

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)