craigerl / aprsd

Amateur radio APRS daemon which listens for messages and responds. By KM6LYW.
Apache License 2.0
120 stars 19 forks source link

APRS enabled :false still connects to APRS-IS #84

Closed W5DMH closed 2 years ago

W5DMH commented 2 years ago

I have aprs enabled: false as I am using Direwolf, however aprsd connects to APRS-IS anyway (see script output below config)? I tried commenting out the aprs-fi connection but that results in a different error.

aprs:
    # Get the passcode for your callsign here: 
    # https://apps.magicbug.co.uk/passcode
    enabled: false  
    host:  noam.aprs2.net
    login: W5DMH-3
    password: '******'
    port: 14580
aprsd:
    email:
        enabled: false
        imap:
            debug: false
            host: imap.gmail.com
            login: IMAP_USERNAME
            password: IMAP_PASSWORD
            port: 993
            use_ssl: true
        shortcuts:
            aa: 5551239999@vtext.com
            cl: craiglamparter@somedomain.org
            wb: 555309@vtext.com
        smtp:
            debug: false
            host: smtp.gmail.com
            login: SMTP_USERNAME
            password: SMTP_PASSWORD
            port: 465
            use_ssl: false
    enabled_plugins:
#    - aprsd.plugins.email.EmailPlugin
 #   - aprsd.plugins.fortune.FortunePlugin
  #  - aprsd.plugins.location.LocationPlugin
    - aprsd.plugins.ping.PingPlugin
   # - aprsd.plugins.query.QueryPlugin
  #  - aprsd.plugins.time.TimePlugin
  #  - aprsd.plugins.weather.USWeatherPlugin
  #  - aprsd.plugins.version.VersionPlugin
    logfile: /tmp/aprsd.log
    plugin_dir: ~/.config/aprsd/plugins
    trace: false
    units: imperial
    web:
        enabled: false
        host: 0.0.0.0
        port: 8001
        users:
            admin: aprsd
ham:
    callsign: W5DMH
kiss:
    tcp:
        enabled: true
        host: 192.168.50.17
        port: '8001'
services:
    aprs.fi:
        # Get the apiKey from your aprs.fi account here:  
        # http://aprs.fi/account
        apiKey: XXXXXXXXXXXXXXXXXXX
   # avwx:
        # (Optional for AVWXWeatherPlugin) 
        # Use hosted avwx-api here: https://avwx.rest 
        # or deploy your own from here: 
        # https://github.com/avwx-rest/avwx-api
    #    apiKey: APIKEYVALUE
     #   base_url: http://host:port
    #opencagedata:
        # (Optional for TimeOpenCageDataPlugin) 
        # Get the apiKey from your opencagedata account here:  
        # https://opencagedata.com/dashboard#api-keys
     #   apiKey: APIKEYVALUE
  #  openweathermap:
        # (Optional for OWMWeatherPlugin) 
        # Get the apiKey from your 
        # openweathermap account here: 
        # https://home.openweathermap.org/api_keys
   #     apiKey: APIKEYVALUE

Load config

[01/25/2022 01:37:46 PM] [MainThread  ] [INFO ] APRSD Started version: 1.6.0
[01/25/2022 01:37:46 PM] [MainThread  ] [INFO ] Email services not enabled.
[01/25/2022 01:37:46 PM] [MainThread  ] [INFO ] Loading Core APRSD Command Plugins
[01/25/2022 01:37:46 PM] [MainThread  ] [INFO ] Registering Command plugin 'aprsd.plugins.ping.PingPlugin'(1.0)  '^[pP]'
[01/25/2022 01:37:46 PM] [MainThread  ] [INFO ] Trying to load custom plugins from '~/.config/aprsd/plugins'
[01/25/2022 01:37:46 PM] [MainThread  ] [ERROR] plugin path '~/.config/aprsd/plugins' doesn't exist.
[01/25/2022 01:37:46 PM] [MainThread  ] [INFO ] Completed Plugin Loading.
[01/25/2022 01:37:46 PM] [MainThread  ] [INFO ] Creating aprslib client
[01/25/2022 01:37:46 PM] [MainThread  ] [INFO ] Attempting connection to noam.aprs2.net:14580
[01/25/2022 01:37:46 PM] [MainThread  ] [INFO ] Connected to ('72.38.114.30', 14580)
[01/25/2022 01:37:46 PM] [MainThread  ] [INFO ] Sending login information
[01/25/2022 01:37:46 PM] [MainThread  ] [INFO ] Login successful
[01/25/2022 01:37:46 PM] [MainThread  ] [INFO ] APRSD Exiting.
[01/25/2022 01:38:02 PM] [RX_MSG      ] [INFO ] 
hemna commented 2 years ago

You are using an ancient version of aprsd that doesn't support kiss tcp. 1.6.0 was released in Feb of 2020. Please upgrade your aprsd to the latest.

The latest version is 2.5.8

https://pypi.org/project/aprsd/#history