Stingracer wrote: 
> 
> Second question: I now use %E instead of %T. The temperature is shown
> without decimal place for example 1°C instead of 1.2°C. Is there a way
> to change that to get more precise temperatures? I thought that only %R
> shows rounded values?

BoomX2 wrote: 
> I plan to correct this in the next release.  Currently SDT always pulls
> Fahrenheit values from wunderground and then converts to centigrade. 
> The values are getting rounded in the "FtoC" subroutine.  In the next
> release I will pull centigrade values directly from wunderground that
> include the decimal value if the "Temperature Units" setting is equal to
> Celsius in SDT.


@Stingracer...  I do not have a way to fix this at this time.  The
wunderground json data file contains rounded values for temperature even
when the web interface shows decimal values.  Here is the data returned
from your weather station tonight and a screenshot of the wunderground
webpage at the same time.


Code:
--------------------
    
  {
        "observations": [{
                        "stationID": "IGERMANY5",
                        "obsTimeUtc": "2021-01-06T03:54:19Z",
                        "obsTimeLocal": "2021-01-06 04:54:19",
                        "neighborhood": "Berliner Stadtforst",
                        "softwareType": "EasyWeatherV1.5.4",
                        "country": "DE",
                        "solarRadiation": 0.0,
                        "lon": 13.683539,
                        "realtimeFrequency": null,
                        "epoch": 1609905259,
                        "lat": 52.466488,
                        "uv": 0.0,
                        "winddir": 329,
                        "humidity": 98,
                        "qcStatus": 1,
                        "metric": {
                                "temp": 2,
                                "heatIndex": 2,
                                "dewpt": 2,
                                "windChill": 1,
                                "windSpeed": 5,
                                "windGust": 7,
                                "pressure": 997.22,
                                "precipRate": 0.00,
                                "precipTotal": 1.30,
                                "elev": 21
                        }
                }
        ]
  }
  
  
--------------------


+-------------------------------------------------------------------+
|Filename: Capture.JPG                                              |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32850|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
BoomX2's Profile: http://forums.slimdevices.com/member.php?userid=33529
View this thread: http://forums.slimdevices.com/showthread.php?t=112122

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to