Files
pe1rxf_aprs/pe1rxf_telemetry.yml

63 lines
2.8 KiB
YAML

# The settings for the PE1RXF APRS telemetry to MQTT bridge.
# The program does some syntax checking, but not extensively. Be aware that the program may crash when there is an error in this file!
#
# Add APRS nodes under topics. More than one can be defined.
# Global settings apply to all other entries
global:
broker: mqtt.meezenest.nl # The MQTT broker we are going to use
port: 1883 # The tcp port of the MQTT broker
topic_root: hamnet_aprs_nodes # MQTT topic root
weather_report_interval: 1 # Publish weather report from weather station on ModBus to MQTT broker every x minutes (0=do not publish)
publish_messages: YES # The program can forward APRS messages addressed to us to the MQTT broker. If YES: publish APRS messages addressed to call to mqtt broker (/topic_root/aprs_message/).
# If NO: do not publish to mqtt broker
call: PE1RXF # Call used for APRS message publishing to mqtt (if no sufix is given, messages for all sufixes will be forwarded to the mqtt broker)
blacklist: # APRS messages from these calls are not published on the mqtt broker (for examle, place the calls from telemetry nodes here. These messages are processed via the 'topic' entry.
- PE1RXF-13 # This way the messages are not also published as plain messages to the mqtt broker.
- PE1RXF-3
- PE1RXF-5
- PE1RXF-6
- PE1RXF-8
- PE1RXF-9
topics:
# MQTT topic: each telemtry node has its own name (sub root) and must be unique
- name: solar_generator
# telemetry_file is obsolete. Use call instead.
#telemetry_file: /home/marcel/ham/aprs_utils/aprs_log/latest_telemetry_PE1RXF-9.dat
# Call of the telemetry node
call: PE1RXF-9
# AX.25 port to listen on (all for all ports)
ax_port: all
# Defines the names of the values in the telemetry data. These names are used to publish to the MQTT broker.
# Make sure the number of descriptions match the number of values in the telemetry data!
description:
- soc
- voltage
- power
- temperature
- name: wx_workshop
call: PE1RXF-6
ax_port: all
description:
- temperature
- humidity
# Definition of the build in weather station telemetry. Set interval in global/weather_report_interval
- name: weather_station
call: PE1RXF-13
ax_port: all
description:
- wind_direction
- wind_speed
- wind_gust
- rain_lasthour
- rain_24hours
- temperature
- humidity
- pressure
- temperature_backup
- status_bits
- luminosity