Weather Parser Forecasts vs Stations
Hello,
So, as a portuguese user of a RainMachine device I was prompt to download and user the IPMA parser. What I soon noticed is that the API URL that is loaded in the current parser doesn't work.
The "https://api.ipma.pt/json/alldata/{}.json" API URL isn't working anymore as you can confirm - at least for the nearest station returned by the still working: "http://api.ipma.pt/json/locations.json".
I've been looking at https://api.ipma.pt/ and noticed alot of things changed. The forecast API doesn't provide much info beside min and max Temperature, POP and weathertype. I've adjusted the IPMA parser to retrieve this info but I don't find it useful as it is from a station more than 20Km away from my home.
I then took a look at the observed data API and it got my interest since it is from a station 5 Km away and it as alot of info such as: humidity, pressure, radiation, temperature, acc rain, wind speed.
So what I did was to turn the IPMA "Weather Forecast" parser into a "Weather Station" one... It doesn't forecast anymore, it just registers what happened. But my RainMachine still identifies it as a "Weather Forecast" one. How can I change this so that my parser can be marked as a "Weather Station" one, instead of "Weather Forecast"?
Thanks in advance,
Vasco Mesquita
-
any chance you could share your changes?
I should point out that the forecasting data still works when inserting appropriate station id at:
Please sign in to leave a comment.
Comments
2 comments