Question about forecast ?
-
- Observer
- Posts: 19
- Joined: Fri Jan 08, 2021 7:22 pm
- Station model: Davis Pro 2
- Software: Weatherlink live
Question about forecast ?
Hi,
As darksy.net is not giving anymore API key, is there a way to have forecast menu entry working without it ?
I see that source is not only darksky ?
Thanks
As darksy.net is not giving anymore API key, is there a way to have forecast menu entry working without it ?
I see that source is not only darksky ?
Thanks
- Daali
- Advisor
- Posts: 56
- Joined: Mon Jul 26, 2021 8:06 pm
- Location: Georgia, US
- Station model: Ecowitt GW1002
- Software: Meteobridge, FOSHKplugin
- Contact:
Re: Question about forecast ?
I guess you and I are the only ones without darksky api keys. visualcrossing has a pretty decent free api (1000 calls a day). With the cache function, you shouldn't hit more than 96 a day.
https://www.visualcrossing.com/resource ... k-sky-api/
Line 51 in /pages/forecast/index.php:
I added my key in place of the darksky.net key in the config.php, and I have it pulling data. However, my php skills are beyond the transformation to read the json data, present it and keep it clean as the original
https://www.visualcrossing.com/resource ... k-sky-api/
Line 51 in /pages/forecast/index.php:
Code: Select all
$fIOURL = "https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/".$stationLat.",".$stationLon."?key=".$fIOKey;
https://www.jeffersonweather.com
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture
- Daali
- Advisor
- Posts: 56
- Joined: Mon Jul 26, 2021 8:06 pm
- Location: Georgia, US
- Station model: Ecowitt GW1002
- Software: Meteobridge, FOSHKplugin
- Contact:
Re: Question about forecast ?
It actually should be cleaner to use the visualcrossing API since it dumps 15-day forecast(with individual 24 hour data points) vs darksky's (currently, hourly[48 data points], daily [8 data points], and flags)
https://www.jeffersonweather.com
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture
-
- Forecaster
- Posts: 182
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: Question about forecast ?
I added the visualcrossing api in the darksky api field, as mentioned above.
and it works!
I can now choose the darksky forecast, nice!
thx
but in the current conditions, i selected the use the darksky icon, but doesn't show up,
in the forecast comparision plugin, no data either, (same for yr.no,...)
but progress!
grtz
alex
and it works!
I can now choose the darksky forecast, nice!
thx
but in the current conditions, i selected the use the darksky icon, but doesn't show up,
in the forecast comparision plugin, no data either, (same for yr.no,...)
but progress!
grtz
alex
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Question about forecast ?
You can try this mod ( it uses the openweathermap.org api, which is more similar to the original darksky api).
Copy in the pages directory and unzip the file.
Register to openweathermap.org generate an api key and copy in place of the DarkSky api key ( in the meteotemplate main setup ).
Not sure everything is ok ( I have never seen the darksky version )
Copy in the pages directory and unzip the file.
Register to openweathermap.org generate an api key and copy in place of the DarkSky api key ( in the meteotemplate main setup ).
Not sure everything is ok ( I have never seen the darksky version )
- Attachments
-
- forecast_1.0a.zip
- (694.6 KiB) Downloaded 47 times
-
- Forecaster
- Posts: 182
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: Question about forecast ?
thx, I will play with it.
maybe a stupid question:
i can see https://www.sint-katelijne-waver-meteo. ... /forecast/
but how do I add it to the menu, is it through 'custom pages'
grtz
Alex
maybe a stupid question:
i can see https://www.sint-katelijne-waver-meteo. ... /forecast/
but how do I add it to the menu, is it through 'custom pages'
grtz
Alex
-
- Forecaster
- Posts: 182
- Joined: Mon Jan 31, 2022 4:41 pm
- Location: Sint-Katelijne-Waver, Belgium
- Station model: Davis Vantage Pro 2
- Software: Meteobridge
- Contact:
Re: Question about forecast ?
thank you,
works all fine, at first glance,
check it out on
https://www.sint-katelijne-waver-meteo. ... esktop.php
thank you
Grtz
Alex
works all fine, at first glance,
check it out on
https://www.sint-katelijne-waver-meteo. ... esktop.php
thank you
Grtz
Alex