You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
heatbot/probe_scripts/heatbot_testrandom

9 lines
299 B

#/usr/bin/env sh
# Symlink this script to heatbot_gettemp if you need to test a probe's connection
# without retrieving real temperature numbers. This is useful in setup such as before
# the sensor hardware is available to use.
echo $((-20 + $RANDOM % 60)).$((10 + $RANDOM % 89)) || exit 1
exit 0