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

Extra Sensors

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
legi
Posts: 8
Joined: Tue 18 Aug 2015 7:26 am
Weather Station: WMR200
Operating System: Windows10
Location: Henggart, Switzerland
Contact:

Extra Sensors

Post by legi »

Great solution for cumulus, thanks to the developer!

After installing Cumulus & using the "steel theme" for my site I would like to add my extra sensors (4) on this page - any hint how this can be done?

thanks
peter
legi
Posts: 8
Joined: Tue 18 Aug 2015 7:26 am
Weather Station: WMR200
Operating System: Windows10
Location: Henggart, Switzerland
Contact:

Re: Extra Sensors

Post by legi »

As I have some time to work on my cumulus page, I come back to my question. Maybe it is not clear. I have the Oregon WMR200 Station. In addition I have 4 extra sensors placed in different places. It would be great if I could add these sensors to my Cumulus page and get so the temperatures online. I can see it on my cumulus Window on the bottom and on the extra data log viewer under extra temp 4, 5, 6 & 7
Any hints how to do that?
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Extra Sensors

Post by mcrossley »

Well, the simplest solution would be to replace four of the five temperatures display on the "dew point" gauge. I'd keep, dew point, and change the rest.

You would need to change the web tags in the reatimegaugesT.txt file.

You can then change all the labels by editing the language.js file and reminifying it - or just edit the .min.js file directly, but that is harder to do.
legi
Posts: 8
Joined: Tue 18 Aug 2015 7:26 am
Weather Station: WMR200
Operating System: Windows10
Location: Henggart, Switzerland
Contact:

Re: Extra Sensors

Post by legi »

Thank you Mark for this hint. That would be a great solution.
Just to aks if I understand it right.
I've found this for example:
"heatindex":"1,9",
"heatindexTH":"2,6"
in the realtimeguges.txt. Has this to be replaced? What kind of tag I have to put here instead?
In the language file I think I found the nessecary parts. However, I don't understand the word "reminifying" (I speak German). I changed for test the Word Windkühle in the German section to Windchill, but nothing happens.

Thanks again for your help,
Peter
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Extra Sensors

Post by mcrossley »

legi wrote:Just to aks if I understand it right.
I've found this for example:
"heatindex":"1,9",
"heatindexTH":"2,6"
in the realtimeguges.txt. Has this to be replaced? What kind of tag I have to put here instead?
No, you need to look in realtimegaugesT.txt...

"heatindex":"<#heatindex>",
"heatindexTH":"<#heatindexTH>",

change to (for example)...

"heatindex":"<#ExtraTemp1>",
"heatindexTH":"<#ExtraTemp1>",

(the extra temperature values do not have high/low tags :( )
legi wrote: In the language file I think I found the necessary parts. However, I don't understand the word "reminifying" (I speak German). I changed for test the Word Windkühle in the German section to Windchill, but nothing happens.
The gauges html page uses the file language.min.js - not language.js - so you need to run language.js through a "minifier" (compression routine) such as Googles Closure Compiler. OR, change your HTML page to use languade.js rather than language.min.js.
legi
Posts: 8
Joined: Tue 18 Aug 2015 7:26 am
Weather Station: WMR200
Operating System: Windows10
Location: Henggart, Switzerland
Contact:

Re: Extra Sensors

Post by legi »

Thanks again Mark, I finally could do it and it works perfectly for me. :lol: 8-)
Post Reply