Skip to content

Commit

Permalink
Merge pull request #17 from pascalberger/feature/limits
Browse files Browse the repository at this point in the history
Set limits for which the sensor should be considered down
  • Loading branch information
pascalberger authored Aug 23, 2019
2 parents 53e211a + 0d2206a commit 3a580d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ check_services () {
state="1"
fi

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

0 comments on commit 3a580d3

Please sign in to comment.