OpenSprinkler stations jumping straight back to OFF when ON command sent

Hardware version 3.1 DC.

Firmware 2.1.9 (9) - the latest version AFAIK

It’s only a problem that arose with OH sending commands to the OS - if I ignore OH altogether and just use the functions of the OS, it behaves perfectly normally.

The signal is excellent where it is. This is a known problem where if left running for a long (but indeterminate) period of time, sometimes the unit will drop off wifi and not rejoin without a reboot regardless of the quality of signal. It is no longer a problem since the function to schedule a reboot was added to the firmware, which serves as an effective workaround. There’s a fairly extensive thread on the OS forum about it.

I haven’t tried either of these steps yet - I might give those a try, see if I can narrow it down. I figured 5 seconds was enough to be an eternity for an API and not long enough that I’d care about it one way or another.

OK - I suspect it’s an artefact rather than commanded behaviour being time-shifted (and both openhab and opensprinkler are set to the correct timezone). I use the OpenSprinkler binding in OH only to send station on and off commands - never any other command - so how a “openhab says turn off station 1” and “openhab says turn on station 2” gets turned into “schedule a run of station 2 arbitrary (maximum?) length in 36 hours time”

I understand that sleep is to be avoided if you don’t want that particular rule to completely stop responding during the sleep, but in this case that’s not a problem - there’s no concurrency needed in the watering system, and I am very happy to avoid race conditions where (for example) the system ends up thinking a station is on when it isn’t, or vice versa.

That’s really good advice - thanks! I’ve just been looking over the documentation, and it seems like the binding might have moved along under me, because I don’t think those features were available before. I’ll check it out.