diff --git a/chipmonk.cfg b/chipmonk.cfg index 381183c..dca0d71 100644 --- a/chipmonk.cfg +++ b/chipmonk.cfg @@ -1,14 +1,23 @@ # chipmonk.cfg # Configuration for /usr/local/bin/chipmonk.sh which is normally # installed as a service started at bootup. -# See https://github.com/ondsinet/chipmonk SENSOR_READ_FREQUENCY=5 # Period for polling sensors in seconds -#BATTERY_SHUT_VALUE=7 # When battery percentage is below this, shut down. +BATTERY_SHUT_VALUE=7 # When battery percentage is below this, shut down. BATTERY_WARN_VALUE=20 # When battery percentage is below this, assert warning. -#TEMPERATURE_SHUT_VALUE=800 # Shutdown temperature in tenths of a degree C. +TEMPERATURE_SHUT_VALUE=800 # Shutdown temperature in tenths of a degree C. TEMPERATURE_WARN_VALUE=650 # Warning temperature in tenths of a degree C. -#TEMPERATURE_WARN_GPIO=XIO_P6 # When temperature warning, activate this GPIO. -#TEMPERATURE_WARN_GPIO_VALUE=0 # Warning value to write to WARN_TEMPERATURE_GPIO. +GOTIFY_TOKEN="AXNh7yz0zMOfqSO" + +gotify_alert() { +# takes: