I switched from my free trial Aeris to a free one based on the thread you 
mention.  I got back the same client ID and secret.  It continues to work for 
me.

You should be able to do something like the following to test:

PYTHONPATH=/home/weewx/bin python3 bin/user/forecast.py --method Aeris --action 
download --client-id XXX --client-secret XXX--loc "37.431495,-122.110937"

If you could do that, you could quickly see wether the issue is that no 
forecast is available for the location you requested.

Alas, I notice that Aeris isn’t supported when running as main.  I added the 
support to do that and fixed some bugs WRT command line arguments.  I will add 
it to my fork, but I will need to test more.

What version of WeeWX and the forecast plugin are you running?

ALSO, PLEASE REPLY ON THE LIST RATHER THAN DIRECTLY TO ME.


> On Apr 25, 2020, at 12:23 PM, David Barto <[email protected]> wrote:
> 
> 
> galfert posted that you can get free Aeris forecasting:
> 
> The free Aeris Weather account is not advertised. You have to use the link I 
> provided to get in on the special "Contributor account" only for those that 
> contribute with their station to PWSweather.com.
> 
> This link: https://www.aerisweather.com/signup/pws/
> 
> -----
> So I signed up for Aeris through the pws, and got my 2 hashes.
> 
> I added the Aeris data to weewx.conf and restarted.
> The forecast page doesn't show any forecast for Aeris, while the
> NWS does show up.
> 
> https://www.kdbarto.org/weather/forecast/multiple-tables.html
> 
> The log output for weewx is showing an error:
> /var/log/system.log:Apr 25 11:17:16 Magrathea weewx[28709]: forecast: 
> AerisThread: Aeris: failed attempt 1 to download forecast: HTTP Error 400: 
> Bad Request
> /var/log/system.log:Apr 25 11:17:16 Magrathea weewx[28709]: forecast: 
> WUThread: WU: failed attempt 1 to download forecast: HTTP Error 503: Service 
> Unavailable
> /var/log/system.log:Apr 25 11:17:17 Magrathea weewx[28709]: forecast: 
> AerisThread: Aeris: failed attempt 2 to download forecast: HTTP Error 400: 
> Bad Request
> /var/log/system.log:Apr 25 11:17:17 Magrathea weewx[28709]: forecast: 
> WUThread: WU: failed attempt 2 to download forecast: HTTP Error 503: Service 
> Unavailable
> /var/log/system.log:Apr 25 11:17:17 Magrathea weewx[28709]: forecast: 
> AerisThread: Aeris: failed attempt 3 to download forecast: HTTP Error 400: 
> Bad Request
> /var/log/system.log:Apr 25 11:17:17 Magrathea weewx[28709]: forecast: 
> AerisThread: Aeris: failed to download forecast
> /var/log/system.log:Apr 25 11:17:17 Magrathea weewx[28709]: forecast: 
> AerisThread: Aeris: no forecast data for 32.983056,-117.04 from 
> http://api.aerisapi.com/forecasts/
> 
> Clearly I've not configured something correctly. Anyone want to point out the 
> error of my ways?
> 
> Thanks.
> 
>       David
> -- 
> You received this message because you are subscribed to the Google Groups 
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/B0791C0B-3281-4B24-B3BF-9C0FB08F650F%40kdbarto.org.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/D9F2FB46-0DB0-444F-A6B1-2FA010DA09AE%40johnkline.com.

Reply via email to