MMM-MyWeather not working with Southern Hemisphere co-ordinates
@jolt02 All these weather sites use data from private weather enthusiasts that have varying equipment so the accuracy will never be 100% spot on. Im using data from a Bassendean site which is in the proximity of my place. It is “close” but as there is no official BOM reading for the area, who is to say its wrong. BOM get there Temps for ‘Perth’ from their site at the airport and in the city,
I find a lot of the “Pro” sites like weather channel, Google etc are using data from sites in the northern Hemisphere. This can make it very hard to know what is the correct temp. I have an API from BOM but haven’t figured out the coding as they don;t use Json.
I would like to get data from Windy.com for cloud and wave data but that is expensive
@harney thats a pitty the BOM doesnt have close data for your site.
I have found that all the regular weather providers (Open weather, darksky etc) forecasts and observations are less than adequate for Oz.
So I have been reworking the Weather Module from WallberryTheme to use Aus govs BOM data. getting observations was easier enough as they provide that in JSON format which makes it some what easy but they only provide XML data for forecasts and the format is different for every site so my plans to “release” my module have stalled. because it has to be customised for each site.
@saabman yep. I have found the xml to be a problem and out of my range of knowledge. OpenWeather is close to accurate for my location for current conditions,. the particular site location uses excellent monitoring equipment, just a few degrees out, but for forecasting its not that accurate.
@harney use a lib to convert to json…
nodejs xml to json
there are a few…
some let you target a specific section of the xml
nodejs xml to json
Thanks Sam, I will see what i can do
yes the XML issue was a problem but I got around that by downloading the XML then as sdetweil suggested using XLM2JS to convert the file to JSON which I could ten search for the relevant fields unfortunately its not very tidy and needs customizing for each site.
IF you want to have a look at how Ive done it the files are here
I am not by any means a programmer - just kept hacking away at the weather module till it did what I wanted - Im sure there are better ways to do it… hopefully it is help full any way