The module does not seem to function in the 2.1.2 version of ORP.
Here is the log:
Tue Mar 31 08:44:41 2020: ORP_RepeaterLogic_Port1: Activating module MetarInfo…
Tue Mar 31 08:44:41 2020: *** WARNING: Could not look up host “https://aviationweather.gov”: Name or service not known
Tue Mar 31 08:44:46 2020: TX_Port1: Turning the transmitter OFF
Tue Mar 31 08:46:44 2020: ORP_RepeaterLogic_Port1: Module timeout: MetarInfo
Tue Mar 31 08:46:44 2020: ORP_RepeaterLogic_Port1: Deactivating module MetarInfo…
Yes, this module is still in early beta. I am just now starting to get some other testers involved to try it. In working with another tester that seems to be the consensus right now, but we have not fully verified this. Version 2.1.2 of ORP is built with the 17.12.2 release of SVXLink.
While the METAR module is a native SVXLINK module with an ORP wrapper, it appears at this point that it will require the 19.09.1 release of SVXLink or newer to work. As of this post 19.09.1 is the latest release beside the development trunk. We have a development branch of ORP currently versioned as 2.2.0. This is what I build the module under. This is not available as a downloadable IMG file an needs built with a script.
I am talking with another tester that is working to make this build and test the METAR module under 2.2.0 to validate my theory. He was reporting the same issues on 2.1.1 and 2.1.2. This should resolve the https issues the module is having issues with. I suspect it should work after that, but there is another minor issue in the SVXLink code that will cause the report to play twice. Not a horrible issue, but I don’t expect that to be resolved until SVXLink drops another release from their trunk code.
Aaron – N3MBH
OpenRepeater is offered free of charge. Find out how you can support us.
Tue Mar 31 22:49:55 2020: ORP_RepeaterLogic_Port1: Activating module MetarInfo…
Tue Mar 31 22:49:59 2020: TX_Port1: Turning the transmitter OFF
Tue Mar 31 22:50:00 2020: ORP_RepeaterLogic_Port1: Sending short identification…
Tue Mar 31 22:50:00 2020: TX_Port1: Turning the transmitter ON
Tue Mar 31 22:50:07 2020: TX_Port1: Turning the transmitter OFF
Tue Mar 31 22:52:07 2020: ORP_RepeaterLogic_Port1: Module timeout: MetarInfo
Tue Mar 31 22:52:07 2020: ORP_RepeaterLogic_Port1: Deactivating module MetarInfo…
So I guess we will wait for newer code, let me know if you want me to put a beta image on my pi and I can test it along with you, if you decide to move forward.
The problem is that the website aviationweather.gov has switched to https and this absolutely requires the libcurl-dev library to query the weather data. Simply switching from https to http is not enough. Incidentally, the problem was solved in 2018 and the current trunk contains the changes for this. Unfortunately I don’t know when there will be a new release.