leoherzog/WundergroundStationForwarder

WindGust is missing for PWSWeather

judgetom opened this issue · 4 comments

Hello,

in the function updatePWSWeather_() the following line is missing:
if (station.imperial.windGust != null) request += '&windgustmph=' + station.imperial.windGust;

By adding this line the windGust will also be provided.

Best regards, and thanks for the script,
judgetom

Thanks! I was basing this built URL off of the PWSWeather uploader in acuparse.

https://gitlab.com/acuparse/acuparse/-/blob/dev/src/fcn/cron/uploaders/pwsweather.php

Is this parameter actually supported by PWSWeather? They don't have any API docs :(

Yes, it works well since I added it.

Thanks again!