updated meteogram block

User avatar
tobydude
Forecaster
Forecaster
Posts: 192
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: updated meteogram block

Post by tobydude » Sat Aug 21, 2021 3:48 pm

Hi.
Great block.
Could there have been added colors of choice in "wind-line", "pressure- line", "temperature-line" and "precipitation -line"?
And the wind arrows? :roll:

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: updated meteogram block

Post by davidefa » Sat Aug 28, 2021 10:45 am

ver 3.3d
- added corrections of daali and meteopomezia
- added options to define color of line series
Attachments
meteogram_3.3d1.zip
(756.32 KiB) Downloaded 105 times
Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 192
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: updated meteogram block

Post by tobydude » Sat Aug 28, 2021 11:41 am

That´s fantastic!
Thanks so much. :)
Image

User avatar
Daali
Advisor
Advisor
Posts: 56
Joined: Mon Jul 26, 2021 8:06 pm
Location: Georgia, US
Station model: Ecowitt GW1002
Software: Meteobridge, FOSHKplugin
Contact:

Re: updated meteogram block

Post by Daali » Sat Aug 28, 2021 4:18 pm

perfect! Thank you davidefa!
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

User avatar
LOBWX
Forecaster
Forecaster
Posts: 104
Joined: Sun Mar 11, 2018 6:43 pm
Location: Los Osos, CA
Station model: Ambient WS 1401-IP
Software: MeteoBridge
Contact:

Re: updated meteogram block

Post by LOBWX » Sat Sep 04, 2021 4:30 am

Awesome, thanks for sharing your work.
Just BE NICE! That's all it takes to be a decent human...

User avatar
Sarrow
Newbie
Newbie
Posts: 8
Joined: Sun Apr 19, 2020 11:15 am
Location: Grafton, Vermont, USA
Station model: Davis Vantage Vue
Software: Meteobridge
Contact:

Re: updated meteogram block

Post by Sarrow » Mon Jan 24, 2022 5:06 pm

I love meteograms and have been trying (and trying) to install the block on my site. I, too, keep getting the error "failed to load data from external source" in spite of loading each of the updated versions listed here in the Forum. I am not a coder, and I am not able to do the debugging suggested below. Any hope for us mere mortal users? I am amazed at the expertise represented here.

Thanks!

Steve

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

Re: updated meteogram block

Post by davidefa » Mon Jan 24, 2022 5:35 pm

Hi Steve, please share the url of your site ( and the first parameter in the setting of the block ).
This is, for example, my setting:

Code: Select all

Fano-Italy,lat=43.84&lon=13.01&altitude=12
Image

User avatar
Sarrow
Newbie
Newbie
Posts: 8
Joined: Sun Apr 19, 2020 11:15 am
Location: Grafton, Vermont, USA
Station model: Davis Vantage Vue
Software: Meteobridge
Contact:

Re: updated meteogram block

Post by Sarrow » Mon Jan 24, 2022 6:18 pm

David:

Thank you for the quick response!

My site: https://sarrowweather.com/template/indexDesktop.php

Block setting:
Grafton-Vermont, lat=43.17174&lon=-72.6062&altitude=256

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

Re: updated meteogram block

Post by davidefa » Mon Jan 24, 2022 10:14 pm

Try installing this version ( after installing, or after editing settings, always delete block cache via meteotemplate control panel, settings are ok )

ver 3.4
- corrected rain/pressure rounding ( imperial units )
- derived from ver 3.3d1
Attachments
meteogram_3.4.zip
(761.01 KiB) Downloaded 101 times
Last edited by davidefa on Tue Jan 25, 2022 8:50 am, edited 1 time in total.
Image

User avatar
Sarrow
Newbie
Newbie
Posts: 8
Joined: Sun Apr 19, 2020 11:15 am
Location: Grafton, Vermont, USA
Station model: Davis Vantage Vue
Software: Meteobridge
Contact:

Re: updated meteogram block

Post by Sarrow » Tue Jan 25, 2022 2:48 am

Brilliant! That worked!

I thought that I had tried v3.4, but this time it worked.

Thank you so much for your patience!

Steve

User avatar
tobydude
Forecaster
Forecaster
Posts: 192
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: updated meteogram block

Post by tobydude » Tue Jan 25, 2022 8:21 am

is it with colors?

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

Re: updated meteogram block

Post by davidefa » Tue Jan 25, 2022 9:07 am

Sorry for not explaining, yes is it with colors, is derived from ver 3.3d1, it is only relevant for those using imperial units ( or for visitors selecting imperial units )
Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 192
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: updated meteogram block

Post by tobydude » Wed Jan 26, 2022 8:29 am

I´m using v. 3.3 that was postet earlier. Works fine with colors in metric. (European units)
Added some colors to the cloudes, too.
Image

riteoh
Observer
Observer
Posts: 36
Joined: Wed Oct 27, 2021 4:44 am

Re: updated meteogram block

Post by riteoh » Thu Feb 24, 2022 6:34 am

It's nice to see an updated meteogram block available. My site has not had this data for months, and I didn't know there was a solution.

I have replaced all the files in my current Meteogram folder with the ones in the Meteogram 3.3c zip file. I have updated the settings to reflect my location - details I have saved in the block settings are
Wantirna,lat=-37.860722&lon=145.238586&altitude=125
I have also cleared the cache.

However no data is being uploaded. Previously I was at least getting the place name of Wantirna.. with a Failed loading data, please try again later message - but now I am not even getting the place name to come up.

My site is www.eyesontheweather.com.au. Can anybody give me tips on what the issue might be?

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

Re: updated meteogram block

Post by davidefa » Thu Feb 24, 2022 8:07 am

I see you reverted to the original block. Please try ver3.4:
- copy the compressed archive in homepage/blocks
- unzip the compressed archive ( it will overwrite the files already present )
- don't rename the folder ( I mean the final folder name should be homepage/blocks/meteogram )
- rerun setup ( and clear the cache )
If it still does not work you may take a look at the 'console' ( in firefox tools -> browser tools -> web developer tool -> console ) to see if there is any useful error/warning ( or at least when the block is installed I can take a look for you )
Image

riteoh
Observer
Observer
Posts: 36
Joined: Wed Oct 27, 2021 4:44 am

Re: updated meteogram block

Post by riteoh » Thu Feb 24, 2022 9:31 am

Hi David,

Thanks for the prompt reply. Not sure if I have done things correctly - but here is what I did.

I unzipped V3.4 and then using FTP uploaded the directory contents. Block setup now shows the new version number and instructions, so looks like I am getting somewhere. From the file, I copied the following details for my location..

lat=-37.85&lon=145.21667&altitude=91

It seems like the block is now just 'thinking' about getting the data, but not getting it, as the wheel is just spinning next to Loading Data from external source before finally saying it cannot load the data.

I use chrome (I can't seem to gain admin access using Firefox....) and looked at console. It came up with a few errors which I have no idea what they mean.

If you can point me (or firmly direct me) in the right direction, it would be appreciated.

Thanks,

Elton

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

Re: updated meteogram block

Post by davidefa » Thu Feb 24, 2022 9:46 am

Your configuration seems correct.
The cached data ( homepage/blocks/meteogram/cache/yrNo0.txt ) says:

Code: Select all

400 Bad Request
Mandatory parameters 'lat', 'lon' missing in call to Metno::WeatherAPI::Controller::Product::try {...} 
Try deleting the cache again or if this does not help attach the content of the homepage/blocks/meteogram/settings.php script
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: updated meteogram block

Post by davidefa » Thu Feb 24, 2022 10:56 am

Only a small update, your setup should look like ( starting with a location name and a ',' after it ):

Code: Select all

Melbourne,lat=-37.85&lon=145.21667&altitude=91
Image

riteoh
Observer
Observer
Posts: 36
Joined: Wed Oct 27, 2021 4:44 am

Re: updated meteogram block

Post by riteoh » Thu Feb 24, 2022 9:43 pm

WOW!! I am now super happy - working as required. Thanks so much for your help. It's great to have a community of people out there who can assist those of us who don't know what we are doing!!

On a side note - I also use the summary block, but the forecast 'tab' doesn't seem to give me a forecast any more. Any ideas about this one?

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

Re: updated meteogram block

Post by davidefa » Thu Feb 24, 2022 10:48 pm

The summary blocks get the forecast from yr.no. So it needs to be updated to the new api 2.0.
Added to my todo list.
Image

riteoh
Observer
Observer
Posts: 36
Joined: Wed Oct 27, 2021 4:44 am

Re: updated meteogram block

Post by riteoh » Thu Mar 03, 2022 3:41 am

I've just noticed that there was an update to V 4.0 of this block. Once updated, the new version seems to have white see though panels on both sides of the graph (refer image link below).

Has anybody else experienced this?

https://ibb.co/mvG9R90

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

Re: updated meteogram block

Post by davidefa » Thu Mar 03, 2022 7:38 am

Where did you download ver 4.0?
Image

User avatar
lemimi
Advisor
Advisor
Posts: 86
Joined: Wed Dec 12, 2018 3:31 pm
Location: France - Normandie
Station model: Brandson 304557
Contact:

Re: updated meteogram block

Post by lemimi » Thu Mar 03, 2022 10:24 am

Hello,

We can do this automatically via Blocks setup.
I had tested and reverted to the saved version 3.4 :-)

Image

To the pleasure... Michel

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

Re: updated meteogram block

Post by davidefa » Thu Mar 03, 2022 11:25 am

Ok, didn't noticed that, it has been updated by Jachym
Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 192
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: updated meteogram block

Post by tobydude » Thu Mar 03, 2022 2:16 pm

I´v used this version a long time and it works fine. With colors .

https://fjærvollan.no/template/indexDesktop.php
Attachments
meteogram_3.3d1.zip
(756.32 KiB) Downloaded 36 times

Post Reply