wmbusmeters/tests/config7/etc/wmbusmeters.conf

17 wiersze
785 B
Plaintext
Czysty Zwykły widok Historia

2020-09-18 18:05:59 +00:00
loglevel=normal
2020-08-01 19:56:46 +00:00
# Set internaltesting=true to shorten times for test to finish in reasonable time.
internaltesting=true
device=must_be_overriden
logtelegrams=false
format=json
shell=echo METER =="$METER_JSON"== >> /tmp/wmbusmeters_telegram_test
# Add alarm for the wmbus dongle, it might need re-initilization.
# The alarm will always be logged in the log file.
2020-08-01 20:24:23 +00:00
alarmshell=echo ALARM_SHELL "$ALARM_TYPE" "$ALARM_MESSAGE" >> /tmp/wmbusmeters_alarm_test
2020-08-01 19:56:46 +00:00
# Expect a received telegram no longer than 1 second since the last telegram!
2020-09-18 18:05:59 +00:00
alarmtimeout=4s
2020-08-01 19:56:46 +00:00
# Only sound the alarm if the timeout is reached when the radio is actually
# expected to be transmitting. Some meters disable transmissions during nights
# and weekends. Change this to mon-fri(08-19)
alarmexpectedactivity=mon-sun(00-23)