Page 1 of 1

Temp Gauges Gone Whacky

Posted: Fri 30 Jul 2021 5:13 pm
by NorthSharon
Hi, in version 3.12.0 (build 3141), on the Gauges page, the Outside temperature and the Other Temperatures gauges are broken (Inside temperature works). The symptom is that the needle cycles clockwise repeatedly, and the displayed value ranges from -9999 to about -1500. The tooltip hover bubble shows the correct data.
download.png

Re: Temp Gauges Gone Whacky

Posted: Fri 30 Jul 2021 10:32 pm
by N0BGS
I can confirm I'm having this same issue. This is only on the internal admin display page for me, i.e. the port 8998 page.
Specifically: http://127.0.0.1:8998/gauges.html

--Kurt

Re: Temp Gauges Gone Whacky

Posted: Sat 31 Jul 2021 5:22 am
by freddie
Have you ruled out a caching issue - i.e. force refresh of page, or manually clear the cache?

Re: Temp Gauges Gone Whacky

Posted: Sat 31 Jul 2021 7:54 am
by mcrossley
Is it just the temp gauges on the gauges page?

Do you use a locale with comma decimal points?

Could you use a Chrome or Edge browser, then...
Open the DevTools (F12).
Load the gauges page again.
In the DevTools | Network, scroll down to find the entry "ws", click this row.
In the right-hand pane that opens, click one of the entries.
In the bottom right-hand pane that opens select all the data (Ctl-A, Ctl-C), and paste it here please.
.
gauges.jpg

Re: Temp Gauges Gone Whacky

Posted: Sat 31 Jul 2021 11:27 am
by NorthSharon
Just the Temp gauges, and only Outside temp (not Inside), and each/all of the Other temps.
Locale is US - comma and decimal.
Interestingly, when the keepalives stop and the page stops websockets, the gauge stops spinning and correctly shows the last temperature.

{AlarmBattery: false, AlarmGust: false, AlarmHighPress: false, AlarmHighTemp: false, AlarmHttp: false,…}
AlarmBattery: false
AlarmGust: false
AlarmHighPress: false
AlarmHighTemp: false
AlarmHttp: false
AlarmLowPress: false
AlarmLowTemp: false
AlarmMySql: false
AlarmPressDn: false
AlarmPressUp: false
AlarmRain: false
AlarmRainRate: false
AlarmSensor: false
AlarmSpike: false
AlarmTempDn: false
AlarmTempUp: false
AlarmUpgrade: false
AlarmWind: false
AlltimeHighPressure: "31.01"
AlltimeLowPressure: "28.66"
AppTemp: "54.4"
AvgTempToday: "54.4"
Avgbearing: 0
Bearing: 210
BearingRangeFrom10: 0
BearingRangeTo10: 0
Beaufort: "F0"
BeaufortDesc: "Calm"
Build: "3141"
Cloudbase: 931
CloudbaseUnit: "ft"
CurrentSolarMax: 184
DataStopped: false
DominantWindDirection: "-"
FeelsLike: "54.4"
Forecast: "Exceptional Weather, Stormy, much precipitation"
HeatIndex: "54.3"
HighAppTempToday: "60.3"
HighAppTempTodayTime: "00:00"
HighBeaufortToday: "F0"
HighDewpointToday: "53.2"
HighDewpointTodayTime: "00:21"
HighFeelsLikeToday: "60.0"
HighFeelsLikeTodayTime: "00:00"
HighGustBearingToday: 232
HighGustToday: "1"
HighGustTodayTime: "01:00"
HighHeatIndexToday: "59.4"
HighHeatIndexTodayTime: "00:00"
HighHourlyRainToday: "0.00"
HighHourlyRainTodayTime: "00:00"
HighHumToday: 91
HighHumTodayTime: "02:23"
HighHumidexToday: "17.2"
HighHumidexTodayTime: "00:00"
HighPressToday: "29.91"
HighPressTodayTime: "07:03"
HighRainRateToday: "0.00"
HighRainRateTodayTime: "00:00"
HighSolarRadToday: 32
HighSolarRadTodayTime: "07:20"
HighTempToday: "59.4"
HighTempTodayTime: "00:00"
HighUVindexToday: "0.0"
HighUVindexTodayTime: "00:00"
HighWindToday: "0"
Humidex: "13.7"
IndoorHum: 44
IndoorTemp: "72.9"
LastDataRead: "07:21:01"
LastRainTipISO: "2021-07-30 15:46"
LowAppTempToday: "51.6"
LowAppTempTodayTime: "06:03"
LowDewpointToday: "48.3"
LowDewpointTodayTime: "05:58"
LowFeelsLikeToday: "51.9"
LowFeelsLikeTodayTime: "06:03"
LowHumToday: 78
LowHumTodayTime: "00:00"
LowPressToday: "29.87"
LowPressTodayTime: "04:28"
LowTempToday: "51.9"
LowTempTodayTime: "06:03"
LowWindChillToday: "51.9"
LowWindChillTodayTime: "06:03"
Moonrise: "-----"
Moonset: "13:29"
OutdoorDewpoint: "50.2"
OutdoorHum: 86
OutdoorTemp: "54.3"
PressTrend: "0.01"
PressUnit: "in"
Pressure: "29.91"
RainLast24Hour: "0.02"
RainLastHour: "0.00"
RainMonth: "10.41"
RainRate: "0.00"
RainToday: "0.00"
RainUnit: "in"
RainYear: "25.44"
RainYesterday: "0.03"
Recentmaxgust: "0"
SolarRad: 32
StormRain: "0.11"
StormRainStart: "7/29/2021"
Sunrise: "05:37"
Sunset: "20:04"
SunshineHours: "0.4"
TempTrend: "0.4"
TempUnit: "°F"
UVindex: "0.0"
Version: "3.12.0"
WindAverage: "0"
WindChill: "54.3"
WindLatest: "0"
WindRoseData: "0,0,0,0,0,0,0,0,0,3,0,5,0,2,0,0"
WindRunToday: "0.0"
WindUnit: "mph"

Re: Temp Gauges Gone Whacky

Posted: Sat 31 Jul 2021 12:59 pm
by mcrossley
Could you try putting this updated script in your /interface/js/ folder please - and force a full page refresh...

Re: Temp Gauges Gone Whacky

Posted: Sat 31 Jul 2021 1:14 pm
by NorthSharon
Yeah! That did it! Thank you so much.

Re: Temp Gauges Gone Whacky

Posted: Sat 31 Jul 2021 1:25 pm
by mcrossley
OK, you may want to try this new Gauges page that goes with that script....
put in /interface/

The issue was I had added Feels Like, but half cocked. :groan:
That new script and this updated page finish it off :bash:

Re: Temp Gauges Gone Whacky

Posted: Sat 31 Jul 2021 1:45 pm
by NorthSharon
Wicked nice!
The gaugefeed.js script was missing a line ... I added:
feelslike: inp.FeelsLike.toString(),

Re: Temp Gauges Gone Whacky

Posted: Sat 31 Jul 2021 1:50 pm
by NorthSharon
On a side note, do you know why the Humidex value is so low (21.9) while the Apparent temp is 68.2 ... guessing that it is Celsius?

Re: Temp Gauges Gone Whacky

Posted: Sat 31 Jul 2021 2:35 pm
by mcrossley
NorthSharon wrote: Sat 31 Jul 2021 1:45 pm Wicked nice!
The gaugefeed.js script was missing a line ... I added:
feelslike: inp.FeelsLike.toString(),
Ta. I have updated the .zip file above
NorthSharon wrote: Sat 31 Jul 2021 1:50 pm On a side note, do you know why the Humidex value is so low (21.9) while the Apparent temp is 68.2 ... guessing that it is Celsius?
It's Humidity index - an index so technically it is unitless, but yes based upon Celsius.

Re: Temp Gauges Gone Whacky

Posted: Sat 31 Jul 2021 8:57 pm
by BCJKiwi
I presume this
feelslike: inp.FeelsLike.toString(),
relates to the
undefined
which should read
Feels Like

If so what line is this on?

Thanks

Re: Temp Gauges Gone Whacky

Posted: Sat 31 Jul 2021 10:09 pm
by mcrossley
No, the "undefined" on the gauge when displaying Feels Like is because the language file that comes with the SteelSeries weather gauges needs the additional Feels Like text adding. I've added that for the next release, but meantime it's a minor hiccup.

Cumulus runs a slightly customised version of the SteelSeries gauges anyway, I had already added the feels like code to gauges.js, but the lang and gaugefeed scripts got missed. Looks like I got distracted half way through implementing this! :roll:

Re: Temp Gauges Gone Whacky

Posted: Sat 31 Jul 2021 10:23 pm
by BCJKiwi
Mark,

This is the current MXUI template gauges language file which includes updates supplied by the various contributors.
language.zip

Re: Temp Gauges Gone Whacky

Posted: Sun 01 Aug 2021 2:23 am
by N0BGS
Thanks, Mark. That's done it.

Cheers,

--Kurt