c5te1n / node-red-contrib-dwd-local-weather

Node Red node to retrieve local weather forecast from DWD (Germany)
Apache License 2.0
13 stars 12 forks source link

Add precipitationNext24h: a summed up value of RR1c #4

Closed ontje closed 5 years ago

ontje commented 5 years ago

Adds precipationNext24h as a default value which is calculated from the next 24 datapoints of RR1c (total precipation in the last one hour)

Internally adds a sumFutureValue(mosmixStation, attribute, hours, forecastDate) function which sums up x (hours) datapoints