Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See the Wiki for download

Best/safest way to edit gauges.js?

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
User avatar
oh6hps
Posts: 22
Joined: Tue 19 Dec 2017 7:27 am
Weather Station: Davis Vantage Pro2
Operating System: RaspberryPi 2
Location: Finland
Contact:

Best/safest way to edit gauges.js?

Post by oh6hps » Tue 26 Dec 2017 9:58 am

I guess this topic is discussed a million times already, but I'm having a hard times to edit gauges.js without getting Å-characters on gauges. I´m aware of UTF-8, but still getting those scands.

I'm using Filezilla and tried to use HTML5 edit, Textwrangler (macOS) with same results most of the times. I simply want to edit some basic things such as frame colours of SteelSeries etc. Nothing fancy :-). Now it is always a holding a breath -moment after uploading a edited file.

My main goal is to find safe/proper "workflow" to edit gauges.js. I have spend my Christmas reading boards and trying things. Now it is time to admit my ability read / understand what is my main issue. Well, at the same time having a good time with Cumulus MX & SteelSeries. My gauges looks ok now, after uploading a backup file...


Happy holidays!

User avatar
ConligWX
Posts: 728
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: Best/safest way to edit gauges.js?

Post by ConligWX » Wed 27 Dec 2017 3:11 am

I'm using notepad++ https://notepad-plus-plus.org/ work brilliantly on most files
Regards Simon

https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2 Plus - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS Templates

User avatar
oh6hps
Posts: 22
Joined: Tue 19 Dec 2017 7:27 am
Weather Station: Davis Vantage Pro2
Operating System: RaspberryPi 2
Location: Finland
Contact:

Re: Best/safest way to edit gauges.js?

Post by oh6hps » Wed 27 Dec 2017 7:39 am

Thanks for your reply Simon, I´ll try it with my Windows laptop. I guess it is also part of a safe method to stop Cumulus while editing?

UPDATE: After closing down Cumulus MX before editing: Success with Notepad ++ and Textwrangler. HTML5 Editor messed up gauges with extra characters. I'm happy again :)

ronwright418
Posts: 75
Joined: Thu 06 Sep 2012 7:08 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi 2
Location: Chesapeake, VA
Contact:

Re: Best/safest way to edit gauges.js?

Post by ronwright418 » Wed 27 Dec 2017 12:13 pm

Notepad++ can be used within FileZilla. Have mine set up that way and it works very well. :D
Ron Wright (ronwright418)
Image

User avatar
oh6hps
Posts: 22
Joined: Tue 19 Dec 2017 7:27 am
Weather Station: Davis Vantage Pro2
Operating System: RaspberryPi 2
Location: Finland
Contact:

Re: Best/safest way to edit gauges.js?

Post by oh6hps » Wed 27 Dec 2017 2:03 pm

Thanks Ron, I´ll try it. Now it is time to get those graphs populated on gauges. Like you have... :)

User avatar
ConligWX
Posts: 728
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: Best/safest way to edit gauges.js?

Post by ConligWX » Wed 27 Dec 2017 2:09 pm

I use WinSCP on my Windows PC to my CumulsMX server, and then edit any files with Notepad++.
Regards Simon

https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2 Plus - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS Templates

Post Reply