Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Saratoga World template gets alerts from meteoalarm.org...
Moderator: saratogaWX
- saratogaWX
- Posts: 1211
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Saratoga World template gets alerts from meteoalarm.org...
Whew, for European Saratoga template users, it's taken a while since the old get-meteoalarm-warning-inc.php script stopped getting data from the (now defunct) meteoalarm.eu site. Thanks to Wim van der kuil for giving permission to adapt his pwsdashboard.com code to use meteoalarm.org data (which is the current, operational site for EUMETNET-METEOalarm).
get-meteoalarm-warning-inc.php V3.00 - 12-May-2022 is now on the distribution (in Base-World.zip)
Get the update via the update tool with a query of Base-World, *-plugin, 12-May-2022
Note: the update includes a revised Settings.php, but you don't have to install it .. you can add the one new $SITE entry to your current Settings.php easily. The other files in ./ajax-images/*.svg, wxadvisory.php and get-meteoalarm-warning-inc.php should be uploaded to your site (no config needed there).
Go to https://saratoga-weather.org/meteoalarm-map/ to find the needed EMMA_IDs for your location and how to configure it in Settings.php
Thanks again to Wim!
Enjoy!
get-meteoalarm-warning-inc.php V3.00 - 12-May-2022 is now on the distribution (in Base-World.zip)
Get the update via the update tool with a query of Base-World, *-plugin, 12-May-2022
Note: the update includes a revised Settings.php, but you don't have to install it .. you can add the one new $SITE entry to your current Settings.php easily. The other files in ./ajax-images/*.svg, wxadvisory.php and get-meteoalarm-warning-inc.php should be uploaded to your site (no config needed there).
Go to https://saratoga-weather.org/meteoalarm-map/ to find the needed EMMA_IDs for your location and how to configure it in Settings.php
Thanks again to Wim!
Enjoy!
- ConligWX
- Posts: 1660
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
Thanks for the updates Ken.
just to clarify something, get-meteoalarm-warning-inc.php (BASE) has two entries of
I take it both lines are not needed? line 90 and 93
just to clarify something, get-meteoalarm-warning-inc.php (BASE) has two entries of
Code: Select all
$warn_cache = 'meteoalarm.arr';
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- saratogaWX
- Posts: 1211
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
Yep.. leftover line from copy-paste. Thanks for spotting that !
I'll fix with a future update.
Best regards,
Ken
I'll fix with a future update.
Best regards,
Ken
- saratogaWX
- Posts: 1211
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
Just released V3.10 with a major update.. a summary display of alerts for the homepage with links to the alerts display details on wxadvisory.php page.
3 files updated: get-meteoalarm-warning-inc.php V3.10, wxindex.php V1.01, and wxadvisory.php V1.02
You also need to add to Settings.php: to have the full function enabled.
get-meteoalarm-warning-inc.php now only directly prints HTML comments about the operation of the script when included.
The ./cache/meteoalarm-details.html and ./cache/meteoalarm-summary.html files are maintained by the script and used by wxadvisory.php and wxindex.php respectively.
I'll be putting up more docs about the changes shortly and reenabling the detailed script page again.
Enjoy!
3 files updated: get-meteoalarm-warning-inc.php V3.10, wxindex.php V1.01, and wxadvisory.php V1.02
You also need to add to Settings.php:
Code: Select all
$SITE['useMeteoalarm'] = true;
get-meteoalarm-warning-inc.php now only directly prints HTML comments about the operation of the script when included.
The ./cache/meteoalarm-details.html and ./cache/meteoalarm-summary.html files are maintained by the script and used by wxadvisory.php and wxindex.php respectively.
I'll be putting up more docs about the changes shortly and reenabling the detailed script page again.
Enjoy!
- ConligWX
- Posts: 1660
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
Excellent!
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- ConligWX
- Posts: 1660
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
saratogaWX wrote: ↑Wed 18 May 2022 8:56 pm Just released V3.10 with a major update.. a summary display of alerts for the homepage with links to the alerts display details on wxadvisory.php page.
3 files updated: get-meteoalarm-warning-inc.php V3.10, wxindex.php V1.01, and wxadvisory.php V1.02
You also need to add to Settings.php:to have the full function enabled.Code: Select all
$SITE['useMeteoalarm'] = true;
get-meteoalarm-warning-inc.php now only directly prints HTML comments about the operation of the script when included.
The ./cache/meteoalarm-details.html and ./cache/meteoalarm-summary.html files are maintained by the script and used by wxadvisory.php and wxindex.php respectively.
I'll be putting up more docs about the changes shortly and reenabling the detailed script page again.
Enjoy!
Ken is there anyway to get a more meaningful text to display on the summary on the wxindex (or in my case index.php) page?
Code: Select all
No current alerts for EMMA_ID(s): "UK108".
Code: Select all
No current Weather Alerts in this area
Also the get-meteoalarm-warning-inc.php encoding is ANSI, it this not meant to be UTF-8?
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- saratogaWX
- Posts: 1211
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
I think you can put an entry in language-en.txt of then the alert would display (for you as)
Does that work for you?
Code: Select all
langlookup|No current alerts for EMMA_ID(s)|No current Weather Alerts in this area - |
Code: Select all
No current Weather Alerts in this area - "UK108".
- ConligWX
- Posts: 1660
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
Sure does. Thanks for the help
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- saratogaWX
- Posts: 1211
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
From another forum thread, I decided to add some more features (area name(EMMA_ID) when no alerts, and the ability to suppress (or see) level=1 (Green) events (which were posted in some Belgian alerts).
The lookup function for area names uses data provided by a new file meteoalarm-codenames.json.
Try the attached if you like .. I'm in the process of releasing it.
The lookup function for area names uses data provided by a new file meteoalarm-codenames.json.
Try the attached if you like .. I'm in the process of releasing it.
You do not have the required permissions to view the files attached to this post.
- ConligWX
- Posts: 1660
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
yes just seen it on wxforums. working well here.saratogaWX wrote: ↑Thu 19 May 2022 7:58 pm From another forum thread, I decided to add some more features (area name(EMMA_ID) when no alerts, and the ability to suppress (or see) level=1 (Green) events (which were posted in some Belgian alerts).
The lookup function for area names uses data provided by a new file meteoalarm-codenames.json.
Try the attached if you like .. I'm in the process of releasing it.
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- ConligWX
- Posts: 1660
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
Just wondering when and up often meteoalarm gets its updates from the met office. is this for future weather warnings of just the day it is viewed.
I have a weather warning from Met Office today yet nothing showing for Northern Ireland on the script.
Met Office warning gives upto 6 days of warnings. https://www.metoffice.gov.uk/weather/wa ... k-warnings
I have another script running on my page that loads a small warning box from another site direct from the Met office
now look at the Meteoalarm page. nothing......
even the rss feed gives the warning. https://www.metoffice.gov.uk/public/dat ... /Region/ni
I have a weather warning from Met Office today yet nothing showing for Northern Ireland on the script.
Met Office warning gives upto 6 days of warnings. https://www.metoffice.gov.uk/weather/wa ... k-warnings
I have another script running on my page that loads a small warning box from another site direct from the Met office
now look at the Meteoalarm page. nothing......
even the rss feed gives the warning. https://www.metoffice.gov.uk/public/dat ... /Region/ni
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Met Office warnings for Northern Ireland</title>
<link>https://www.metoffice.gov.uk/weather/warnings-and-advice/uk-warnings</link>
<description>Weather warnings of severe and extreme weather from the Met Office</description>
<language>en-gb</language>
<copyright>(c) Crown copyright</copyright>
<pubDate>Wed, 29 Jun 2022 12:19:07 GMT</pubDate>
<dc:creator>webteam@metoffice.gov.uk</dc:creator>
<item>
<title>Yellow warning of rain affecting Northern Ireland</title>
<link>https://www.metoffice.gov.uk/weather/warnings-and-advice/uk-warnings#?date=2022-06-30&id=523657f2-799f-4eec-abc7-338f192e92a6&referrer=rss</link>
<description>Yellow warning of rain affecting Northern Ireland: County Antrim, County Armagh, County Down valid from 0400 Thu 30 Jun to 0900 Thu 30 Jun</description>
<guid isPermaLink="false">https://www.metoffice.gov.uk/weather/warnings-and-advice/uk-warnings#?date=2022-06-30&id=523657f2-799f-4eec-abc7-338f192e92a6&referrer=rss&region=Northern Ireland</guid>
<enclosure length="98657" type="image/png" url="https://cdn.prod.weathercloud.metoffice.gov.uk/warnings/rss/image/yellow-rain.png"/>
</item>
</channel>
</rss>
You do not have the required permissions to view the files attached to this post.
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
-
- Posts: 2502
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
The Met Office doesn't send the warning data to meteoalarm via it's RSS feed - it uses a format the name of which escapes me at the moment, and is pushed to meteoalarm. There may well have been an issue with sending the data today. Normally the warnings appear pretty swiftly on meteoalarm.
- ConligWX
- Posts: 1660
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
Thanks. I havent seen any warning as yet in NI since I have been using this template script, but seems to be out of sync as of today. I'll leave it on the site for now, but if Met office and Meteoalarm cant sync up, there is no point in using this script.freddie wrote: ↑Wed 29 Jun 2022 6:16 pm The Met Office doesn't send the warning data to meteoalarm via it's RSS feed - it uses a format the name of which escapes me at the moment, and is pushed to meteoalarm. There may well have been an issue with sending the data today. Normally the warnings appear pretty swiftly on meteoalarm.
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- saratogaWX
- Posts: 1211
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
The get-meteoalarm-warning-inc.php script doesn't use the XML RSS feeds, it uses the JSON feeds instead.
For the UK:
https://hub.meteoalarm.org/api/v1/strea ... ty_minor=1
which currently shows only (the 'null' response for no warnings active)
It may be an issue with the Met Office submissions to meteoalarm.org .. they have to provide EMMA_IDs for the warn areas along with the alert details. The RSS feed you displayed above has none of that.
The 'official legacy RSS feed' from meteoalarm.org for the UK:
https://feeds.meteoalarm.org/feeds/mete ... ed-kingdom and
https://feeds.meteoalarm.org/feeds/mete ... ed-kingdom
show and respectively.
I do suspect it's a Met Office -> meteoalarm.org issue for the UK
For the UK:
https://hub.meteoalarm.org/api/v1/strea ... ty_minor=1
which currently shows only
Code: Select all
{"geocodes":[],"warnings":[]}
It may be an issue with the Met Office submissions to meteoalarm.org .. they have to provide EMMA_IDs for the warn areas along with the alert details. The RSS feed you displayed above has none of that.
The 'official legacy RSS feed' from meteoalarm.org for the UK:
https://feeds.meteoalarm.org/feeds/mete ... ed-kingdom and
https://feeds.meteoalarm.org/feeds/mete ... ed-kingdom
show
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:cap="urn:oasis:names:tc:emergency:cap:1.2">
<link href="https://pubsubhubbub.appspot.com/" rel="hub"/>
<link href="https://feeds.meteoalarm.org/feeds/meteoalarm-legacy-atom-united-kingdom" rel="self" type="application/atom+xml"/>
<link href="https://meteoalarm.org" rel="alternate" type="text/html"/>
<rights>Copyright (c) 2022, meteoalarm.org</rights>
<generator>Meteoalarm Producer Server</generator>
<logo>https://feeds.meteoalarm.org/images/logo.svg</logo>
<author>
<name>meteoalarm.org</name>
<uri>https://meteoalarm.org</uri>
<email>meteoalarm@zamg.ac.at</email>
</author>
<id>tag:meteoalarm.org,2021-02-19:UK</id>
<title>Meteoalarm - severe weather warnings for Europe</title>
<updated>2022-06-29T19:14:33.767350Z</updated>
</feed>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cap="urn:oasis:names:tc:emergency:cap:1.2">
<channel>
<atom:link href="https://pubsubhubbub.appspot.com/" rel="hub"/>
<atom:link href="https://feeds.meteoalarm.org/feeds/meteoalarm-legacy-rss-united-kingdom" rel="self" type="application/rss+xml"/>
<ttl>10</ttl>
<title>Meteoalarm United Kingdom</title>
<link>https://meteoalarm.org?region=UK</link>
<description>Metoalarm actual warnings from United Kingdom</description>
<language>en</language>
<item>
<title>United Kingdom</title>
<description><![CDATA[<table border="0" cellspacing="0" cellpadding="3"><tr><th colspan="1" align="left">Today</th><td width="28"> </td><th colspan="1" align="left">Tomorrow</th></tr><tr><td width="28"></td><td width="28"> </td><td width="28"></td></tr></table>]]></description>
<pubDate>Wed, 29 Jun 22 19:14:45 +0000</pubDate>
<link>https://meteoalarm.org?region=UK</link>
<guid isPermaLink="false">d41d8cd98f00b204e9800998ecf8427e</guid>
</item>
</channel>
</rss>
I do suspect it's a Met Office -> meteoalarm.org issue for the UK
-
- Posts: 2502
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Saratoga World template gets alerts from meteoalarm.org...
Met Office switched over to the new format (called CAP) and method of delivery in January 2021, and as far as I know it has been running just fine since. Certainly on the few occasions I have looked, Met Office warnings were displayed. But when I looked today the thunderstorm warning for southern UK was absent. I raised an internal ticket for this and it is being looked into. Having said this, Meteoalarm are having problems this afternoon, with their warnings map not even loading, and the website being unresponsive. It was working at lunchtime, but certainly isn't now.ConligWX wrote: ↑Wed 29 Jun 2022 7:15 pmThanks. I havent seen any warning as yet in NI since I have been using this template script, but seems to be out of sync as of today. I'll leave it on the site for now, but if Met office and Meteoalarm cant sync up, there is no point in using this script.freddie wrote: ↑Wed 29 Jun 2022 6:16 pm The Met Office doesn't send the warning data to meteoalarm via it's RSS feed - it uses a format the name of which escapes me at the moment, and is pushed to meteoalarm. There may well have been an issue with sending the data today. Normally the warnings appear pretty swiftly on meteoalarm.