Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Gauges showing WXSim forecast

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
broadstairs
Posts: 744
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW1003/GW1103/GW2000
Operating System: Windows 7 and Linux
Location: Broadstairs, Kent, UK
Contact:

Gauges showing WXSim forecast

Post by broadstairs »

For users of WXSim I have created a small PHP script which allows the current forecast formatted by Ken True's plantext-parser script to be displayed in the rolling ticker on the gauges page of the standard CMX website or on your own custom website using the steelseries gauges.

You can see the CMX standard page at https://www.stella-maris.org.uk/CumulusMX/gauges.htm

or my own custom page at https://www.stella-maris.org.uk/Cumulus ... uges.phtml

I also have a version generated as part of a Weather Display website at https://www.stella-maris.org.uk/wxgauges.phtml

If anyone would like to try this out please let me know, it does require getting the plaintext-parser to work but otherwise the changes in CMX are minimal.

Stuart

PS. I should have said send me a PM with an email address as I want to keep it restricted until I'm sure my instructions etc are OK :roll:
Last edited by broadstairs on Tue 26 Jul 2022 3:13 pm, edited 1 time in total.
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: Gauges showing WXSim forecast

Post by dazza1223 »

yea i give it a go look nice?
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
BeaumarisWX
Posts: 357
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

Re: Gauges showing WXSim forecast

Post by BeaumarisWX »

Hi Stuart,
As discussed via PM, your instructions easy to follow (works well).
I have implemented on my Saratoga Template only : https://beaumaris-weather.com/wxssgauges.php but not the other 3.
Thanks Again,
Kindest Regards,
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
Mapantz
Posts: 1774
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Gauges showing WXSim forecast

Post by Mapantz »

I did a similar thing for the ticker on my front page..

The "rest of tonight" "this afternoon" etc, is never more than 3 lines long for me, so I just did this:

Code: Select all

<?php $wxsim = file('plaintext.txt'); echo $wxsim[3], $wxsim[4], $wxsim[5]; ?>
Cheap and nasty, but it hasn't failed me yet!
Image
Post Reply