naofireblade / homebridge-weather-plus

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

De-icing cable control #81

Closed marcap02 closed 4 years ago

marcap02 commented 4 years ago

I'd like to control my roof de-icing heat cable but I'm struggling hard to implement a working ruleset. Could you please post a sample configuration or rules which are similar or matching the following criteria?

Turn on heat tape (electrical outlet)

Turn off:

Right now I defined: { "platform": "WeatherPlus", "name": "WeatherPlus", "service": "darksky", "key": "404e2919e42ce7cff3444c9fb8ee160e", "locationGeo": [44.991009, -93.002839], "forecast": [1,2] },

And a rule in eve: 1) Trigger: In 1 day condition category = , scene 'heat tape on' 2) Rigger: Power of outlet =on, condition category in 1 day <=2

But it doesn't work as expected.

That would help a lot. Thank you!

naofireblade commented 4 years ago

Since version 3.0.0 I added two simple sensors for rain / ice in the forecast that should help you.