I need some clear eyes on what's wrong in my setup
I have no problems with the realtimesgauges.txt or gauges-ss.htm. I have testet it on my windows PC and on a new Raspberry, which i prefer to select.
I normally use saratoga on my page, but would like to test if the steelseries gauges should be a part of my page. The web page is on http://brugergruppen.dk/vejr/index.php
I have also tried uploading the realtimesgauges.txt as php and made a change of link in gauges.js - still with no positive result.
As You see on the picture from http:/brugergruppen.dk/vejr/gauges-ss.htm - nothing happens with the gauges. I have put some picture from the web.
I appreciate some suggestions on what I should try.
Per
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
Help setting up
Moderator: mcrossley
-
- Posts: 52
- Joined: Wed 24 Jun 2015 7:02 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Buster Lite rPi
- Location: Taasinge, Denmark
- Contact:
Help setting up
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Help setting up
The gauges.js file is asking for the URL of your realtimegauges.txt and you have given it the location on the ftp server file store. JavaScript is client side code, it can't access your ftp server file store.
Steve
-
- Posts: 52
- Joined: Wed 24 Jun 2015 7:02 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Buster Lite rPi
- Location: Taasinge, Denmark
- Contact:
Re: Help setting up
I am still a bit confused.steve wrote:The gauges.js file is asking for the URL of your realtimegauges.txt and you have given it the location on the ftp server file store. JavaScript is client side code, it can't access your ftp server file store.
In the file gauges.js is written: The realtime files should be absolute paths, "/xxx.txt" refers to the public root of your web server
This would be http://brugergruppen.dk/vejr/realtimegauges.txt
In the Readme file by Mark Crossley form July 2011 updated 12 Januar 2016 is written: If required edit the "gauges.js", the key items are at the top: The relative path on your website to "realtimegauges.txt" file
This would be "../realtimegauges.txt" I guess ( because Your are in the the file gauges.js, which are in the folder <scripts> in the root of my website).
I have tried both of theese adresses with no luck.
Now I have this in gauges.js file:
imgPathURL : './images/',
oldGauges : './gauges.htm',
realTimeURL_Cumulus: 'http://brugergruppen.dk/vejr/realtimegauges.txt',
and I hope this is correct.
But there is still no reaction on the gauges. Any suggestions what I should do?
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Help setting up
You have 'dashboard' mode set, but this is a web page, not part of the MX dashboard.
dashboardMode : true, //Used by Cumulus MX dashboard - SET TO FALSE OTHERWISE
Note that the relative URL for your realtimegauges.txt would be
realTimeURL_Cumulus: 'realtimegauges.txt',
It's relative to the web page, not to the js file.
dashboardMode : true, //Used by Cumulus MX dashboard - SET TO FALSE OTHERWISE
Note that the relative URL for your realtimegauges.txt would be
realTimeURL_Cumulus: 'realtimegauges.txt',
It's relative to the web page, not to the js file.
Steve
-
- Posts: 52
- Joined: Wed 24 Jun 2015 7:02 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Buster Lite rPi
- Location: Taasinge, Denmark
- Contact:
Re: Help setting up
You have truly strong eyes. I am very grateful and sent you a small donation of my retirement pension.
I can see that I still have much to learn - thanks for your great work.
_________
Per
I can see that I still have much to learn - thanks for your great work.
_________
Per