Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward weather data from Weather Underground to FANET #128

Open
MrMorice opened this issue May 15, 2023 · 3 comments
Open

Forward weather data from Weather Underground to FANET #128

MrMorice opened this issue May 15, 2023 · 3 comments

Comments

@MrMorice
Copy link

Dear Team, first a compliment to this great piece of software. A great contribution to the paragliding community!

With a couple of friends I would like to install a couple of weather stations in Wildschönau, which provide valley weather data via FANET. As we have some local weather stations in Weather Underground it would be great to forward their data via FANET as well.

My coding skills are a bit rusty and I can't even get Platform.io up and running at the moment, but happy to contribute a weather station once I finished my design.

Best, Mo

@rvt
Copy link
Contributor

rvt commented May 15, 2023

If I am not mistaken, this is already in the code : https://github.com/gereic/GXAirCom/blob/master/src/main.cpp#L413

@gereic I did notice that this bit of code needs to be wrapped in a conditional compiler, when the compiler definition GSMODULE is not provided, compilation fails because WeatherUnderground is not compiled in. I think sendFanetWeatherData2WU/sendFanetWeatherData2WI needs to be wrapped in #if defined(GSMODULE) and the calling functions at line https://github.com/gereic/GXAirCom/blob/master/src/main.cpp#L4648 and https://github.com/gereic/GXAirCom/blob/master/src/main.cpp#L4654

I can provide a PR..

@gereic
Copy link
Owner

gereic commented May 15, 2023

You can already send 1 WU-Station by 1 GxAircom to FANET.
Sending multiple WU-Stations from 1 GxAircom is not implemented yet.

@MrMorice
Copy link
Author

Thank you both for the super quick response 👌!

@rvt One station is already a good start, multiple would be amazing, as we have five good WU stations in the valley 🎉.
@gereic Cant seem to find the settings in 5.3.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants