Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

betel's Multi-Colored Thermometer Script

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
User avatar
JennyLeez
Posts: 336
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

betel's Multi-Colored Thermometer Script

Post by JennyLeez »

I am not sure whether the attached script is listed anywhere on this forum. I have not been able to find it but if there is, I will move this.

I thought I would upload it in case like me, others are looking for it. Also as with the many scripts betel wrote I would hate to lose it :)

This is the Multi Colored version of the thermometer.php script 'fudged' together by beteljuice and initially written by Ken True - https://saratoga-weather.org
This version is compatible with PHP 8.1 thanks to Leo (Ise-cumulus) for correcting the issues that were PHP 8.1.31 version dependent.

Example image:
Image
Example live website:
http://wairoa.net/weather/index.htm

Cheers
Jenny
You do not have the required permissions to view the files attached to this post.
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
User avatar
De Hout
Posts: 92
Joined: Thu 09 Oct 2014 5:40 pm
Weather Station: Davis Vantage Pro2+ FARS
Operating System: Windows 11 | CU v1.9.4 (10992)
Location: Alkmaar, The Netherlands
Contact:

Re: betel's Multi-Colored Thermometer Script

Post by De Hout »

Thanks Jenny!
For what it's worth, I've never encountered this version before.
Derk

Image
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: betel's Multi-Colored Thermometer Script

Post by ConligWX »

De Hout wrote: Thu 30 Jan 2025 9:03 pm Thanks Jenny!
For what it's worth, I've never encountered this version before.
indeed, the versioning is conflicting. mine is :

Code: Select all

// Version 1.18 - 18-Jan-2022 - fixes for PHP 8.1 Deprecated errata
// Version 1.19 - 27-Dec-2022 - fixes for PHP 8.2

I'm actually running 8.3 without issue.

and betels:

Code: Select all

// Version 1.18 - 24-Sep-2021 - fixed issues arising from upgrade to PHP 8.0
// version 1.19 - 28-Jan-2025 - leo at PWS - Suttonbrunn fixed php 8.1 Deprecated: Implicit conversion from float by adding typecast (int) at a number of locations, especially $Y
User avatar
BeaumarisWX
Posts: 409
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: betel's Multi-Colored Thermometer Script

Post by BeaumarisWX »

Hi,
I am struggling to understand the view of Jenny's Betel version (maybe just me - though looks a tad confusing).
I modified a version years ago and increased the max temp and many other things for higher temps here in Australia and played a lot with the gradients.

Each Time Ken upgrades his version I modify mine (so it does not result in aversion check on my Saratoga Template).

Here is Simon's : Ken True Thermometer.
SimonKenTrueVersion.png
Here is Jenny's : Betel Thermometer.
JennyBetelVersion.png
Here is My : Thermometer (cannot remember where I first found the original of it before I modified it).
BeaumarisVersion.png
Kindest Regards,
You do not have the required permissions to view the files attached to this post.
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
User avatar
JennyLeez
Posts: 336
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: betel's Multi-Colored Thermometer Script

Post by JennyLeez »

All good Tony, all to there own, as so to speak.

Yes I like yours, neat and tidy.

I just did not want one of Betel's scripts to fall by the wayside and hence it is now on this forum :)

Cheers
Jenny
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
User avatar
BeaumarisWX
Posts: 409
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: betel's Multi-Colored Thermometer Script

Post by BeaumarisWX »

Yes Jenny, too true and well done matey.
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
Post Reply