Kind regards.
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
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
Nice gauges but no readings
Moderator: daj
-
Trainman
- Posts: 33
- Joined: Fri 21 May 2010 5:47 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Kvistgård Danmark
- Contact:
Nice gauges but no readings
First off all, it´s some really great gauges. But I give up. There is no movement or read out from the gauges. Having read some previous posts about paths I have tried nearly any combination but have run in to a dead end.
The full gauges-ss folder is uploaded. RealtimegaugesT.txt is proccessed and uploaded to kvistgaardvejr.dk/gauges-ss/realtimegauges.txt. I have modified the gauges.js to point at kvistgaardvejr.dk/gauges-ss/realtimegauges.txt. Somewhere I must have done something wrong.
Kind regards.
Kind regards.
Kenneth
http://www.kvistgaardvejr.dk/
http://www.kvistgaardvejr.dk/
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Nice gauges but no readings
Kenneth
As you are uploading the realtimegauges.txt to the gauges-ss folder, all you need to do is set
var realTimeURL = "realtimegauges.txt"
I notice that there is a problem with your text file though
I wonder if the tag format= command is failing because of your comma decimal seperator?
As you are uploading the realtimegauges.txt to the gauges-ss folder, all you need to do is set
var realTimeURL = "realtimegauges.txt"
I notice that there is a problem with your text file though
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Nice gauges but no readings
Kenneth
One of the more recent changes to the gauge code means they will only work with the latest beta version of Cumulus. Sorry, I hadn't realised this and made it clear
This is why your realtimegauges.txt is incomplete, as it includes the new <#timeUTC> tag.
So, not only do you need to change the realTimeURL, but you need to upgrade Cumulus too in order to get them to work.
One of the more recent changes to the gauge code means they will only work with the latest beta version of Cumulus. Sorry, I hadn't realised this and made it clear
So, not only do you need to change the realTimeURL, but you need to upgrade Cumulus too in order to get them to work.
-
Trainman
- Posts: 33
- Joined: Fri 21 May 2010 5:47 pm
- Weather Station: Davis VP2
- Operating System: Windows 10
- Location: Kvistgård Danmark
- Contact:
Re: Nice gauges but no readings
I was just about writing a long story when you answered. I´ll upgrade one of these days. And hopefully it will help. By the way I did it right from the start, but offcourse if I need and upgrade, I could spend all night tweaking pathsmcrossley wrote:Kenneth
One of the more recent changes to the gauge code means they will only work with the latest beta version of Cumulus. Sorry, I hadn't realised this and made it clearThis is why your realtimegauges.txt is incomplete, as it includes the new <#timeUTC> tag.
So, not only do you need to change the realTimeURL, but you need to upgrade Cumulus too in order to get them to work.
Kenneth
http://www.kvistgaardvejr.dk/
http://www.kvistgaardvejr.dk/
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Nice gauges but no readings
I see you are picking up the text file OK now. If you feel like making the gauges work with version 1.9.1, then edit gauges.js, and change line 630 from
var then = eval("Date.UTC("+cumulus.timeUTC+")");
to
var then = now;
and you should be good.
var then = eval("Date.UTC("+cumulus.timeUTC+")");
to
var then = now;
and you should be good.