Page 1 of 1
partnerstations block
Posted: Sat Mar 19, 2022 6:54 pm
by dtwrlewis
Doesn't seem to be working anymore. Despite trying to change settings etc I can't get it to display values. I notice that the demo version isnt updating either.
http://www.meteotemplate.com/template/i ... erStations
Re: partnerstations block
Posted: Sun Mar 20, 2022 7:51 am
by Jolumarali
Hello
you add the stations in the settings2.php file and do not forget to empty the cache file each time this file is modified.
good installation
José Luis
Re: partnerstations block
Posted: Sun Mar 20, 2022 1:22 pm
by dtwrlewis
Thanks Jose, I did the edit settings2. php and empty cache, but still not working. I notice in your page your partners block - Bailleval and Brno - dont work. I presume I have a typo somewhere - i'll keep looking
Re: partnerstations block
Posted: Sun Mar 20, 2022 3:04 pm
by davidefa
You need to set your wu api key in the meteotemplate main setup
Re: partnerstations block
Posted: Sun Mar 20, 2022 8:50 pm
by dtwrlewis
That works. Thank you!
Re: partnerstations block
Posted: Sun May 29, 2022 11:27 am
by amonphi
davidefa wrote: ↑Sun Mar 20, 2022 3:04 pm
You need to set your wu api key in the meteotemplate main setup
Hi Davidefa,
Although I set the settings2.php file, empty the cache and reset the wu API key, still does not want to know, the values remain at 0. I don't know why
Re: partnerstations block
Posted: Tue May 31, 2022 6:38 pm
by MonyMony
Take a look at
viewtopic.php?f=56&t=1823&p=9155&hilit= ... tion#p9155
Not sure if the block posted for download has the API path settings updated to what Weather Underground now expects.
Re: partnerstations block
Posted: Thu Jun 02, 2022 1:31 pm
by davidefa
amonphi wrote: ↑Sun May 29, 2022 11:27 am
davidefa wrote: ↑Sun Mar 20, 2022 3:04 pm
You need to set your wu api key in the meteotemplate main setup
Hi Davidefa,
Although I set the settings2.php file, empty the cache and reset the wu bees key, still does not want to know, the values remain at 0. I don't know why
The block posted by José Luis contains the mods by ManyMany, but I see your block cache/stationData.txt file has only 0 values.
I obtain similar result changing my wu api key ( in the main setup, section services ) with an invalid one.
So check that your api key is correct
You can test the validity of your api key using the following link ( substitute the YOURAPIKEY with the correct value ):
https://api.weather.com/v2/pws/observations/current?stationId=IFANO20&format=xml&units=e&apiKey=YOURAPIKEY
Re: partnerstations block
Posted: Thu Jun 02, 2022 5:55 pm
by amonphi
davidefa wrote: ↑Thu Jun 02, 2022 1:31 pm
amonphi wrote: ↑Sun May 29, 2022 11:27 am
davidefa wrote: ↑Sun Mar 20, 2022 3:04 pm
You need to set your wu api key in the meteotemplate main setup
Hi Davidefa,
Although I set the settings2.php file, empty the cache and reset the wu bees key, still does not want to know, the values remain at 0. I don't know why
The block posted by José Luis contains the mods by ManyMany, but I see your block cache/stationData.txt file has only 0 values.
I obtain similar result changing my wu api key ( in the main setup, section services ) with an invalid one.
So check that your api key is correct
You can test the validity of your api key using the following link ( substitute the YOURAPIKEY with the correct value ):
https://api.weather.com/v2/pws/observations/current?stationId=IFANO20&format=xml&units=e&apiKey=YOURAPIKEY
Hello,
After reading your answer I went to the API Key and the services and apps that I use with that, they all work except partnerstions, then I went to check on Wunderground and I noticed that the API Key had expired on 07/10/2019 (but All so far worked, I don't explain it).
I created another in doubt but, despite this, until I updated The Block Posted by José Luis Contains the Mods by Manymany, he kept not working!
Now I have canceled cache and everything is ok thanks
Re: partnerstations block
Posted: Thu Jun 02, 2022 5:56 pm
by amonphi
Hello,
Thanks I saw and with your mod now it works!
Re: partnerstations block
Posted: Thu Nov 23, 2023 1:45 pm
by MeteoElMasnou
Jolumarali wrote: ↑Sun Mar 20, 2022 7:51 am
Hello
you add the stations in the settings2.php file and do not forget to empty the cache file each time this file is modified.
good installation
José Luis
It didn't work for me and with your block and placing the WU API working correctly.
Thank you José Luis