vinteo / hass-opensprinkler

OpenSprinkler Integration for Home Assistant
MIT License
214 stars 41 forks source link

Run program ignores weather integration in opensprinkler #185

Open kimfr opened 2 years ago

kimfr commented 2 years ago

I have a OpenSprinkler with Weather Integration enabled (ETo method) - my OS programs have Weather Adjustment enabled as well. When running a program from within HA - the weather adjustment is ignored.

Looking at the OS API - it seems that with a http request - all that is needed is to add "&uwt=1" Example from API doc: http://os-ip/mp?pw=xxx&pid=1&uwt=1

Would it be possible to add this to the integration?

I would like to use HA to start the watering of the garden once certain conditions has been meet (for example, past Sunset and the Alarm has been turned on) - at the same time I would like to make use of the Weather Adjustments.

vinteo commented 1 year ago

Some owrk is being done for this: https://github.com/vinteo/py-opensprinkler/pull/80