naofireblade / homebridge-weather-plus

A comprehensive weather plugin for homebridge.
MIT License
313 stars 63 forks source link

DarkSky: temperatureHigh not availible in HomeKit #140

Closed identd113 closed 4 years ago

identd113 commented 4 years ago

When looking at the HomeKit with eve or Home+, the "temperatureHigh" value is not seen in forcasts, but temperatureMin is. Config below:
{ "platform": "WeatherPlus", "name": "WeatherPlus", "service": "darksky", "key": "XXXXXXXXX", "interval": 15, "units": "us", "forecast": [ 0, 1 ], "nameForecast": "Home Forecast", "locationGeo": [ XX.83661047, -XX.45644018 ] }

Also, when setting "units" to "us", we start seeing strange numbers: Dew Point: 12F Apparent Temp: 29F TemperatureMin: 16 F

but we see the correct temps on:

Current Temperature

When I remove the units part, this looks more resonable:

Dew Point: 54 F Apparent Temp: 84 F TemperatureMin: 61 F

Current Temp is still unaffected by the "units" measurement.

naofireblade commented 4 years ago

In the forecast the temperature high for the day is the "Temperature". I will look into the unit issue. I think that belongs to #129