naofireblade / homebridge-weather-plus

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

SyntaxError: Unexpected end of JSON input (WeatherUnderground) #154

Open salmundo11 opened 4 years ago

salmundo11 commented 4 years ago
[7/28/2020, 4:07:47 PM] [WeatherPlus] Error retrieving weather report and forecast
[7/28/2020, 4:07:47 PM] [WeatherPlus] Error Message: SyntaxError: Unexpected end of JSON input
[7/28/2020, 4:11:48 PM] [WeatherPlus] Error retrieving weather report and forecast
[7/28/2020, 4:11:48 PM] [WeatherPlus] Error Message: SyntaxError: Unexpected end of JSON input
[7/28/2020, 4:15:48 PM] [WeatherPlus] Error retrieving weather report and forecast
[7/28/2020, 4:15:48 PM] [WeatherPlus] Error Message: SyntaxError: Unexpected end of JSON input
[7/28/2020, 4:19:48 PM] [WeatherPlus] Error retrieving weather report and forecast
[7/28/2020, 4:19:48 PM] [WeatherPlus] Error Message: SyntaxError: Unexpected end of JSON input
[7/28/2020, 4:23:48 PM] [WeatherPlus] Error retrieving weather report and forecast
[7/28/2020, 4:23:48 PM] [WeatherPlus] Error Message: SyntaxError: Unexpected end of JSON input
[7/28/2020, 4:27:48 PM] [WeatherPlus] Error retrieving weather report and forecast
[7/28/2020, 4:27:48 PM] [WeatherPlus] Error Message: SyntaxError: Unexpected end of JSON input
[7/28/2020, 4:31:48 PM] [WeatherPlus] Error retrieving weather report and forecast
[7/28/2020, 4:31:48 PM] [WeatherPlus] Error Message: SyntaxError: Unexpected end of JSON input
[7/28/2020, 4:35:48 PM] [WeatherPlus] Error retrieving weather report and forecast
[7/28/2020, 4:35:48 PM] [WeatherPlus] Error Message: SyntaxError: Unexpected end of JSON input
[7/28/2020, 4:39:48 PM] [WeatherPlus] Error retrieving weather report and forecast
[7/28/2020, 4:39:48 PM] [WeatherPlus] Error Message: SyntaxError: Unexpected end of JSON input
angladacamps commented 3 years ago

Having same problem here from today... updated to NodeJS LTS 14.15.1 today...

1PlusN commented 3 years ago

[26/08/2021, 11:26:07] [homebridge-weather-plus] Error retrieving weather report and forecast [26/08/2021, 11:26:07] [homebridge-weather-plus] Error Message: SyntaxError: Unexpected end of JSON input

Have this happening on mine as well.

jakehawkes commented 3 years ago

Me too:

[18/09/2021, 17:23:43] [WeatherPlus] Error retrieving weather report and forecast [18/09/2021, 17:23:43] [WeatherPlus] Error Message: SyntaxError: Unexpected end of JSON input

Config: { "units": "si", "interval": 15, "stations": [ { "nameNow": "Weather", "service": "weatherunderground", "key": "<key>", "stationId": "<id>", "language": "en", "compatibility": "both", "conditionCategory": "simple", "now": true, "extraHumidity": false, "hidden": [ "Cloud Cover", "Dew Point", "Ozone", "Rain 1h", "Solar Radiation", "Temperature Min", "UV Index", "Visibility" ] } ], "platform": "WeatherPlus" },

dacarson commented 7 months ago

Dup of #246

Check to make sure that your PWS is currently online, otherwise you won't get data.