# 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
        #beacon_program: /usr/sbin/beacon   # The external AX.25 beacon program => obsolete


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
      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
      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
      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
      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
      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
      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
      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
      command:
        - payload: 'ON'
          cmd: 37{37
          response: ack37
        - payload: 'OFF'
          cmd: 36{36
          response: ack36
