[weewx-user] Re: Forcast Problem

2017-01-08 Thread 'Mike Whimick' via weewx-user
Thankyou for replying.

I think that I may have forecat working now, how ever I have not been able 
to add it to the standard skin, despite following instructions on the wilki 
page and searching this group.

Can some kind person post some example code so I may do it.   Or better 
still a complete Standard skin folder with forcast correctly setup.

Michael

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Forcast Problem

2017-01-02 Thread mwall
mike,

the ukmo locations are described here:

http://www.metoffice.gov.uk/datapoint/support/documentation/uk-locations-site-list-detailed-documentation

the actual list is here:

http://datapoint.metoffice.gov.uk/public/data/val/wxfcs/all/json/sitelist?key=XXX

the location you specified, 2337, is not a valid location.

m

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Forcast Problem

2017-01-02 Thread mwall
On Monday, January 2, 2017 at 1:31:57 PM UTC-5, Mike Whimick wrote:
>
> Thanks for replying,
>
> Sadley I'm still not able to get it to work.
>

mike,

what do you see when you enter this url in your web browser:

http://datapoint.metoffice.gov.uk/public/data/val/wxfcs/all/json/2337?res=3hourly=XXX

substitute your apikey for XXX

i get this:

{"SiteRep":{"Wx":{"Param":[{"name":"F","units":"C","$":"Feels Like 
Temperature"},{"name":"G","units":"mph","$":"Wind 
Gust"},{"name":"H","units":"%","$":"Screen Relative 
Humidity"},{"name":"T","units":"C","$":"Temperature"},{"name":"V","units":"","$":"Visibility"},{"name":"D","units":"compass","$":"Wind
 Direction"},{"name":"S","units":"mph","$":"Wind 
Speed"},{"name":"U","units":"","$":"Max UV 
Index"},{"name":"W","units":"","$":"Weather 
Type"},{"name":"Pp","units":"%","$":"Precipitation 
Probability"}]},"DV":{"dataDate":"2017-01-02T17:00:00Z","type":"Forecast"}}}


which is an empty forecast.

what do you see when you enter this url:

http://datapoint.metoffice.gov.uk/public/data/val/wxfcs/all/json/3772?res=3hourly=XXX

this is the forecast for london.  you should get valid json with the london 
forecast.

you cannot simply enter random urls in weewx.conf - of course that will 
"throw many error"

the syntax for the UKMO section is:

[[UKMO]]
location = 

where  is a valid location code, such as 3063 for aviemore.

m 

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Forcast Problem

2017-01-02 Thread 'Mike Whimick' via weewx-user
Thanks for replying,

Sadley I'm still not able to get it to work.

I have installed the latest version today.

Has any one managed to get to work from the UK metoffice if so please can 
the post how the set it up.

My API key works and I tried it using the web page suggest. I also copied 
it into the config, so it looks as below. 

[[UKMO]]
enable = true
# An API key is required to access the UK Met Office forecasts.
# Create an account and obtain datapoint access here:


http://datapoint.metoffice.gov.uk/public/data/val/wxfcs/all/json/03772?res=3hourly=##
# The location is one of the 5,000 or so locationIDs in the UK
# location = London

# How often to download the forecast, in seconds
interval = 10800

This brings up HEATHROW

but throw many error.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Forcast Problem

2017-01-01 Thread mwall
On Sunday, January 1, 2017 at 5:41:50 PM UTC-5, Mike Whimick wrote:
>
> I have been playing with the lastest Forcasting module and cannot seem to 
> gather information from from the MetOffice.
>
> This error keeps appearing
>
> forecast: UKMOThread: UKMO: forecast failure: 'Location'
>

the forecast is empty.  go ahead and try it:

http://datapoint.metoffice.gov.uk/public/data/val/wxfcs/all/json/2337?res=3hourly=

forecast version 3.2.9 provides better log messages when this happens.

m 

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Forcast Problem

2017-01-01 Thread Andrew Milner
A silly question - but have you checked that 2337 is a valid location ID 
for the forecast type being selected?



On Monday, 2 January 2017 00:41:50 UTC+2, Mike Whimick wrote:

> Hi All,
> HAPPY NEW YEAR
>
> I have been playing with the lastest Forcasting module and cannot seem to 
> gather information from from the MetOffice.
>
> This error keeps appearing
>
> forecast: UKMOThread: UKMO: forecast failure: 'Location'
>
> My settings are below
>
> weewx.conf 
>
> [[UKMO]]
> enable = true
> # An API key is required to access the UK Met Office forecasts.
> # Create an account and obtain datapoint access here:
> # http://metoffice.gov.uk/datapoint
> api_key = 123456789*# specify a UK met office 
> api_key
> 
> # The location is one of the 5,000 or so locationIDs in the UK
> location = 2337
> 
> # How often to download the forecast, in seconds
> interval = 10800
>
> Can some one tell me what may be wrong
>
> Michael
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.