Gauges page in interface
Posted: Sat 18 Apr 2020 12:38 pm
I'm sure everybody knows this interface page is based on Steel Series library that Mark introduced long before Cumulus 3 existed.
If you are a MX user who has just downloaded the MX package as provided, without having read up about Steel Series, and you feel you might do some user interface customisation, then this post might give you some useful ideas towards achieving your plan.
Read more about Steel Series options in the section of forum viewforum.php?f=21 devoted to that feature. MX user interface includes (currently) version 2.5.5 of relevant Steel Series scripts, just in case you look at material related to earlier or later versions. The web pages provided by MX ( and BCJKiwi's web pages - see viewtopic.php?f=18&t=17845) use the later version 2.7.3, so don't try to apply the files with modifications as attached to the web pages, those files are only for the user interface.
Therefore, there are a lot of customisation options available in the script \CumulusMX\interface\lib\steelseries\scripts\gauges.js
showIndoorTempHum can be changed from true to false if you don't want your interface to remind you of indoor/outdoor differences. This is only way to do this.
Similarly, you can remove gauges that you don't have sensors for:
showUvGauge : false, Hides the UV Index gauge
showSolarGauge : false, Hides the Solar gauge
The trouble with that is you are left with ugly empty blocks (see screenshot), to remove those (see other screenshot) you have to edit the webpage \CumulusMX\interface\gauges.html. For this reason, I don't think editing gauges.js is useful for removing those 2 gauges, I recommend editing the HTML file.
The attachment contains the two files referenced above after I edited them and the two screen images that illustrate what I mean. (The background on my screen was taken on a sunny day before I moved my transmitter/temperature/humidity sensor which is now close to the wind vane in a new enclosure described in another topic).
If you are a MX user who has just downloaded the MX package as provided, without having read up about Steel Series, and you feel you might do some user interface customisation, then this post might give you some useful ideas towards achieving your plan.
Read more about Steel Series options in the section of forum viewforum.php?f=21 devoted to that feature. MX user interface includes (currently) version 2.5.5 of relevant Steel Series scripts, just in case you look at material related to earlier or later versions. The web pages provided by MX ( and BCJKiwi's web pages - see viewtopic.php?f=18&t=17845) use the later version 2.7.3, so don't try to apply the files with modifications as attached to the web pages, those files are only for the user interface.
Therefore, there are a lot of customisation options available in the script \CumulusMX\interface\lib\steelseries\scripts\gauges.js
showIndoorTempHum can be changed from true to false if you don't want your interface to remind you of indoor/outdoor differences. This is only way to do this.
Similarly, you can remove gauges that you don't have sensors for:
showUvGauge : false, Hides the UV Index gauge
showSolarGauge : false, Hides the Solar gauge
The trouble with that is you are left with ugly empty blocks (see screenshot), to remove those (see other screenshot) you have to edit the webpage \CumulusMX\interface\gauges.html. For this reason, I don't think editing gauges.js is useful for removing those 2 gauges, I recommend editing the HTML file.
The attachment contains the two files referenced above after I edited them and the two screen images that illustrate what I mean. (The background on my screen was taken on a sunny day before I moved my transmitter/temperature/humidity sensor which is now close to the wind vane in a new enclosure described in another topic).