naofireblade / homebridge-weather-plus

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

Weather Condition Category incorrect #60

Closed ghost closed 4 years ago

ghost commented 5 years ago

Hi,

I installed your plugin to make some automations with the telegram Plugin etc.

According to your README file you configured the plugin like this:

Condition Category (Sun = 0, Clouds = 1, Rain = 2, Snow = 3)

I then checked in the controller App to use 0, 1, 2, 3 as a condition but there it shows me for 0: Bewoelkt, 1 for Nebel, ...

So something is not correct here...

If I can not properly choose the condition category numbers, do you know if there is a way to use your sentence for Weather Condition in Telegram? So that it checks your sentence and copies it into a telegram notification?

Thx in advance!

naofireblade commented 5 years ago

Hey, which weather service do you use?

ghost commented 5 years ago

34F4F705-1427-417A-8FC3-E7575B1505DF I am using the Dark Sky Weather Service.

Today for example it should rain in Berlin 92%. Weather Condition says Überwiegend bewölkt bis Abends. And Weather Condition Category is set to 0.

ghost commented 5 years ago

12D72578-B84E-4934-9065-E6BAFEF67E6E The Now section seems correct with category 2 and Nieselregen. But on all the other days, it does not update the category!

naofireblade commented 4 years ago

Will be fixed in v3.0.0. The keyword for "Überwiegend bewölkt" in darsky is "partly-cloudy-day". I expected this keyword to imply a overall sunny day. I changed it now to cloudy (1).

naofireblade commented 4 years ago

Alright, this is fixed in v3.0.0-beta.1 This version also has an option for more detailed categories. You can test the beta with npm install -g homebridge-weather-plus@beta