partnerstations block

Post Reply
dtwrlewis
Observer
Observer
Posts: 16
Joined: Sun Nov 19, 2017 7:24 pm
Location: Rothesay, NB, Canada
Station model: Ecowitt HP2553
Software: Ecowitt GW1100
Contact:

partnerstations block

Post by dtwrlewis » Sat Mar 19, 2022 6:54 pm

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
Image

User avatar
Jolumarali
Forecaster
Forecaster
Posts: 241
Joined: Sun Aug 20, 2017 2:06 pm
Location: Lignerolles
Station model: Vantage Vue
Software: WlIP
Contact:

Re: partnerstations block

Post by Jolumarali » 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
Attachments
partnerStations.zip
(240.62 KiB) Downloaded 52 times
Image
Station météo amateur Lignerolles
OS : Windows 10 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya

https://meteo-lignerolles.fr

José Luis

dtwrlewis
Observer
Observer
Posts: 16
Joined: Sun Nov 19, 2017 7:24 pm
Location: Rothesay, NB, Canada
Station model: Ecowitt HP2553
Software: Ecowitt GW1100
Contact:

Re: partnerstations block

Post by dtwrlewis » Sun Mar 20, 2022 1:22 pm

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
Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: partnerstations block

Post by davidefa » Sun Mar 20, 2022 3:04 pm

You need to set your wu api key in the meteotemplate main setup
Image

dtwrlewis
Observer
Observer
Posts: 16
Joined: Sun Nov 19, 2017 7:24 pm
Location: Rothesay, NB, Canada
Station model: Ecowitt HP2553
Software: Ecowitt GW1100
Contact:

Re: partnerstations block

Post by dtwrlewis » Sun Mar 20, 2022 8:50 pm

That works. Thank you!
Image

User avatar
amonphi
Advisor
Advisor
Posts: 64
Joined: Mon Sep 10, 2018 12:52 pm
Location: Italy
Station model: Ecowitt GW1003
Software: WU
Contact:

Re: partnerstations block

Post by amonphi » 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 API key, still does not want to know, the values remain at 0. I don't know why
Last edited by amonphi on Thu Nov 23, 2023 1:57 pm, edited 1 time in total.
Image

User avatar
MonyMony
Forecaster
Forecaster
Posts: 184
Joined: Sun Aug 20, 2017 12:54 pm
Location: Elkton, Maryland, US
Station model: Davis Pro 2
Software: WeatherCat/Meteobridge
Contact:

Re: partnerstations block

Post by MonyMony » Tue May 31, 2022 6:38 pm

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.
Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: partnerstations block

Post by davidefa » 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
Image

User avatar
amonphi
Advisor
Advisor
Posts: 64
Joined: Mon Sep 10, 2018 12:52 pm
Location: Italy
Station model: Ecowitt GW1003
Software: WU
Contact:

Re: partnerstations block

Post by amonphi » Thu Jun 02, 2022 5:55 pm

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
Image

User avatar
amonphi
Advisor
Advisor
Posts: 64
Joined: Mon Sep 10, 2018 12:52 pm
Location: Italy
Station model: Ecowitt GW1003
Software: WU
Contact:

Re: partnerstations block

Post by amonphi » Thu Jun 02, 2022 5:56 pm

MonyMony wrote: Tue May 31, 2022 6:38 pm 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.
Hello,

Thanks I saw and with your mod now it works!
Image

User avatar
MeteoElMasnou
Observer
Observer
Posts: 26
Joined: Sat Feb 05, 2022 1:56 pm
Location: El Masnou / Catalunya
Station model: Davis Vantage Vue
Software: Weewx
Contact:

Re: partnerstations block

Post by MeteoElMasnou » Thu Nov 23, 2023 1:45 pm

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

Post Reply