Page 1 of 1

SteelSeries Gauges

Posted: Sun Dec 31, 2017 12:11 pm
by ckoebke
Hello all,

i have a problem with this plugin. It always tell me that there is an parse error in the json object. You can see the error here:
https://www.koebbes.de/wetter/plugins/s ... /index.php

Hope you can help me.

Thanks and regards,
Carsten

Re: SteelSeries Gauges

Posted: Sun Dec 31, 2017 12:21 pm
by ozgreg
The problem is in the generation of your Steelgauges JSON file

This is what mine looks like most likely your missing a variable so the JSON import is failing..

{"date":"23:19:45",
"dateFormat":"d/m/y",
"temp":"17.3",
"tempTL":"11.6",
"tempTH":"31.2",
"intemp":"23.8",
"dew":"13.2",
"dewpointTL":"",
"dewpointTH":"",
"apptemp":"20.2",
"apptempTL":"20.2",
"apptempTH":"20.2",
"wchill":"17.3",
"wchillTL":"",
"heatindex":"17.3",
"heatindexTH":"17.3",
"humidex":"20.2",
"wlatest":"0.0",
"wspeed":"0.4",
"wgust":"3.1",
"wgustTM":"7.2",
"bearing":"121",
"avgbearing":"121",
"press":"1010.1",
"pressTL":"1008.0",
"pressTH":"1014.6",
"pressL":"",
"pressH":"",
"rfall":"0.0",
"rrate":"0.0",
"rrateTM":"",
"hum":"77",
"humTL":"",
"humTH":"",
"inhum":"53.0",
"SensorContactLost":"0",
"forecast":"Conditions updated: 23:19:45",
"tempunit":"C",
"windunit":"km/h",
"pressunit":"hPa",
"rainunit":"mm",
"temptrend":"-0.5",
"TtempTL":"06:11",
"TtempTH":"16:15",
"TdewpointTL":":",
"TdewpointTH":":",
"TapptempTL":"00:00",
"TapptempTH":"00:00",
"TwchillTL":":",
"TheatindexTH":"n/a",
"TrrateTM":"00:00",
"ThourlyrainTH":"00:00",
"LastRainTipISO":"n/a",
"hourlyrainTH":"0.0",
"ThumTL":":",
"ThumTH":":",
"TpressTL":"16:57",
"TpressTH":"00:10",
"presstrendval":"-0.1",
"Tbeaufort":"F0",
"TwgustTM":"18:45",
"windTM":"7.2",
"bearingTM":"121",
"timeUTC":"2017,12,31,12,19,45",
"BearingRangeFrom10":"359",
"BearingRangeTo10":"0",
"UV":"0.0",
"UVTH":"10.9",
"SolarRad":"0.0",
"CurrentSolarMax":"0.0",
"SolarTM":"",
"domwinddir":"ESE",
"WindRoseData":"[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]",
"windrun":"0.0",
"version":"3.5",
"build":"11744",
"ver":"10"}

Re: SteelSeries Gauges

Posted: Sun Dec 31, 2017 12:53 pm
by Jachym
The gauges also compare today´s data with yesterday. It looks like you have no data for yesterday. If that is the case just give it 24h and tomorrow it will work fine.

Re: SteelSeries Gauges

Posted: Sun Dec 31, 2017 1:52 pm
by ckoebke
Jachym wrote: Sun Dec 31, 2017 12:53 pm The gauges also compare today´s data with yesterday. It looks like you have no data for yesterday. If that is the case just give it 24h and tomorrow it will work fine.
OK, will see if it works tomorrow :) thanks to both of you