naofireblade / homebridge-weather-plus

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

Underground API causing error messages #251

Closed bondskin closed 8 months ago

bondskin commented 1 year ago

Hi,

I am moving from Dark Sky API to Undeground. Although the virtual devices Temperature and Humidity are added, the values are zero.

In the log I see the following: [22/12/2022, 11:25:21] [WeatherPlus] Error parsing weather report for Weather Underground [22/12/2022, 11:25:21] [WeatherPlus] Error Message: TypeError: Cannot read properties of undefined (reading '0') [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Station': characteristic value expected string and received undefined. See https://homebridge.io/w/JtMGR for more info. [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Observation Time': characteristic value expected string and received undefined. See https://homebridge.io/w/JtMGR for more info. [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Wind Direction': characteristic value expected string and received undefined. See https://homebridge.io/w/JtMGR for more info. [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Solar Radiation': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'UV Index': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Dew Point': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Air Pressure': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Wind Speed': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Wind Speed Max': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [22/12/2022, 11:25:21] [homebridge-weather-plus] This plugin generated a warning from the characteristic 'Rain All Day': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.

dacarson commented 1 year ago

Although I didn't use DarkSky nor do I use Weather Underground, I wanted to check in to see if this was still an issue.

dacarson commented 8 months ago

@bondskin is this still an issue?

bondskin commented 8 months ago

@bondskin is this still an issue?

Hi @dacarson , no idea, honestly. I am not using it any longer for quite a while

dacarson commented 8 months ago

Maybe we could close it.