Snowing? how to understand?

Hi folks,

I’m looking for a weather info that can help me in managing properly my Velux roller shutter if it’s snowing. But it’s hard to find the right API.

I see OpenWeatherMap should have something in XML format (but not JSON):

precipitation.mode

it could be no/rain/show.

But I don’t see in the Binding doc:

Any chance to implement it? or still I need to use the HTTP binding?

thanks for your support
Andrea

You can hold of a condition-id from the OWM binding. This is something like “511”, used for a short textual description like “freezing rain”.
Pick out the range you are interested in
https://openweathermap.org/weather-conditions#Weather-Condition-Codes-2

Or I suppose you could get the text condition string channel, and see if it contains the word “snow”

1 Like