Hi, I would like to show the weather conditions icon but without success because the problem seems to be the current.txt file which is not created/updated in my .../script/forecast/cache folder.
(if I add an user's current.txt file the icon is displayed, but then the file exipres the icon no longer appears)
where I'm wrong? something is missing?
tnx for any comments
condition icon on current block
- meteoesine
- Forecaster
- Posts: 182
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
condition icon on current block
- Attachments
-
- Screenshot - 08_01_2024 , 12_16_11.jpg (52.23 KiB) Viewed 5603 times
- steph
- Observer
- Posts: 37
- Joined: Fri May 12, 2023 10:26 am
- Station model: Ecowitt
- Software: Ecowitt gw1100/Raspberry
- Contact:
Re: condition icon on current block
I'm also interested in this icon if anyone has a solution. 

-
- Expert
- Posts: 888
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: condition icon on current block
You need:
- block current >= v24.5
- in block setup: enable current conditions icon using openweather api
- in meteotemplate main setup, in place of darksky api key ( now useless ) insert your openweather api key
- block current >= v24.5
- in block setup: enable current conditions icon using openweather api
- in meteotemplate main setup, in place of darksky api key ( now useless ) insert your openweather api key
- Attachments
-
- current_24.5.zip
- (393.58 KiB) Downloaded 464 times
- meteoesine
- Forecaster
- Posts: 182
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: condition icon on current block
Ciao Davide,
ho già tutto, compresa l'ultima versione del blocco.
secondo me il problema è il file .../script/forecast/cache/current.txt che non si genera
if(file_exists("../../../pages/forecast/cache/current.txt")){
ce le hai ancora le credenziali per entrare nel mio hosting se vuoi fare delle prove?
grazie
ho già tutto, compresa l'ultima versione del blocco.
secondo me il problema è il file .../script/forecast/cache/current.txt che non si genera
if(file_exists("../../../pages/forecast/cache/current.txt")){
ce le hai ancora le credenziali per entrare nel mio hosting se vuoi fare delle prove?
grazie
Last edited by meteoesine on Tue Jan 09, 2024 7:30 am, edited 1 time in total.
-
- Expert
- Posts: 888
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: condition icon on current block
Had to update the block due to changes in openweather free api calls.
The 'one call api 2.5' is not available to new subscription ( mine from 2021 is still valid )
v24.6 - Jan 08, 2024
- modified openweather call from 'onecall' ( now available on subscription; 1000 free calls/day ) to 'weather' ( free 60/calls minutes; 1000000/month )
P.S.
this update is needed only to show the icon on the right of the block if you have a 'recent' openweather api key ( > end 2022 )
The 'one call api 2.5' is not available to new subscription ( mine from 2021 is still valid )
v24.6 - Jan 08, 2024
- modified openweather call from 'onecall' ( now available on subscription; 1000 free calls/day ) to 'weather' ( free 60/calls minutes; 1000000/month )
P.S.
this update is needed only to show the icon on the right of the block if you have a 'recent' openweather api key ( > end 2022 )
- Attachments
-
- current_24.6.zip
- (393.66 KiB) Downloaded 300 times
- steph
- Observer
- Posts: 37
- Joined: Fri May 12, 2023 10:26 am
- Station model: Ecowitt
- Software: Ecowitt gw1100/Raspberry
- Contact:
Re: condition icon on current block
Hello,
thanks for the new block it works now for me.
I'll just try to find some new icons as they are very small.
The 01d 02d ect...
Thanks in any case.
thanks for the new block it works now for me.
I'll just try to find some new icons as they are very small.
The 01d 02d ect...
Thanks in any case.