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&key=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&key=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 = YYYY where YYYY 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
