IMPORTANT! The server may go down soon - possibly permanently. Please read the latest post in Announcements and News

FTP is broken. I strongly advise all users using my server for their web site to make alternative arrangements.

Outgoing mail is disabled because of the malware on the server. No new forum registrations are currently possible, and mail to the forum administrator will not work.

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

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

Best/safest way to edit gauges.js?

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

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

Best/safest way to edit gauges.js?

Postby oh6hps » Tue Dec 26, 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
Toxic17
Posts: 696
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis VPro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

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

Postby Toxic17 » Wed Dec 27, 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://www.conligwx.org/pws/
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

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

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

Postby oh6hps » Wed Dec 27, 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: 74
Joined: Thu Sep 06, 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?

Postby ronwright418 » Wed Dec 27, 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 Dec 19, 2017 7:27 am
Weather Station: Davis Vantage Pro2
Operating System: RaspberryPi 2
Location: Finland
Contact:

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

Postby oh6hps » Wed Dec 27, 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
Toxic17
Posts: 696
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis VPro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

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

Postby Toxic17 » Wed Dec 27, 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://www.conligwx.org/pws/
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image


Return to “SteelSeries Gauges”

Who is online

Users browsing this forum: No registered users and 4 guests