A bridge between MQTT and PE1RXF telemetry nodes.
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.
 
 
 

130 lines
3.9 KiB

# Global settings apply to all other entries
global:
broker: pe1rxf.ampr.org # 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
transmit_rate: 20 # Number of seconds between each transmision
retry: 3 # Try this often before giving up
destination: APRX29 # Destination or program ID
digi_path: WIDE2-1 # Digi path of APRS messages
poll_rate: 300 # Number of second between polling
#beacon_program: /usr/sbin/beacon # The external AX.25 beacon program => obsolete
# Poll the status af these clients (IMPORTANT: the calls must also be defined in the topics section)
poll:
- call: PE1RXF-5
- call: PE1RXF-6
- call: PE1RXF-8
topics:
# MQTT topic: 5GHz dish at workshop (must be unique name)
- name: ubiquity_dish_ptmp_workshop
call: PE1RXF-6 # Call of node to which commands below are send
server: PE1RXF-3 # Call of APRS server sending the commands
port: ax2 # Name of AX.25 port to use
poll_bit: 2 # Bit in status response of client (1=b00001, 2=b00010, 3=b00100, 4=b01000, 5=b10000)
command:
- payload: 'ON' # This is the payload we have to receive
cmd: 33{33 # This command is send to the node
response: ack33 # This response is expected from the node
- payload: 'OFF'
cmd: 32{32
response: ack32
# Server at workshop
- name: server_workshop
call: PE1RXF-6
server: PE1RXF-3
port: ax2
poll_bit: 1
command:
- payload: 'ON'
cmd: 31{31
response: ack31
- payload: 'OFF'
cmd: 30{30
response: ack30
# Server at tiny house
- name: server_tiny_house
call: PE1RXF-5
server: PE1RXF-3
port: ax2
poll_bit: 3
command:
- payload: 'ON'
cmd: 35{35
response: ack35
- payload: 'OFF'
cmd: 34{34
response: ack34
# MQTT topic: 5GHz dish at tiny house
- name: ubiquity_dish_ptp_tiny_house
call: PE1RXF-5
server: PE1RXF-3
port: ax2
poll_bit: 1
command:
- payload: 'ON'
cmd: 31{31
response: ack31
- payload: 'OFF'
cmd: 30{30
response: ack30
# MQTT topic: 5GHz dish in orchard
- name: ubiquity_dish_ptmp_orchard
call: PE1RXF-8
server: PE1RXF-3
port: ax2
poll_bit: 1
command:
- payload: 'ON'
cmd: 31{31
response: ack31
- payload: 'OFF'
cmd: 30{30
response: ack30
# MQTT topic: 5GHz dish in vegetable garden
- name: ubiquity_dish_ptp_vegetable_garden
call: PE1RXF-8
server: PE1RXF-3
port: ax2
poll_bit: 2
command:
- payload: 'ON'
cmd: 33{33
response: ack33
- payload: 'OFF'
cmd: 32{32
response: ack32
# MQTT topic: QRP-lab QDX transceiver at tiny house
- name: qdx_transceiver_tiny_house
call: PE1RXF-5
server: PE1RXF-3
port: ax2
poll_bit: 2
command:
- payload: 'ON'
cmd: 33{33
response: ack33
- payload: 'OFF'
cmd: 32{32
response: ack32
# MQTT topic: Switched 12V output at tiny house
- name: switched_12v_tiny_house
call: PE1RXF-5
server: PE1RXF-3
port: ax2
poll_bit: 4
command:
- payload: 'ON'
cmd: 37{37
response: ack37
- payload: 'OFF'
cmd: 36{36
response: ack36