#Proofread my automation for sufficient hysteresis

1 messages · Page 1 of 1 (latest)

unborn tide
#

I made an automation that should turn on a dehumidifier only if there is solar power production OR the humidity is quite high. And if neither is true, to turn it off.

Now, my big fear is that under some circumstances this may lead to rapid toggling. I have made some attempts to avoid this, but I have a hard time judging whether they are logically valid.

Also, the boolean may be redundant? Not sure. See screenshots for my two automations.

Also open to radically different approaches to achieving the same thing.

#

Oh crap, I think I just realized, as written, it will constantly loop the cooldown

#

This essentially makes it perform the off check every 60s. OK I am deleting the cooldown trigger from the off so at least it won't trigger itself

#

If my "for 5 minutes" things are enough to prevent rapid toggling, I will just delete the entire cooldown toggle concept

stoic bramble
#

It might be better to use the Generic hygrostat integration (which has the option to define minimum cycle duration) instead of an automation for the humidity-to-switch connection. Then have an automation that triggers on the solar production that sets the hygrostat on or off.

unborn tide
#

the device itself has a hydrometer that will stop it from running if it's really so dry that it's pointless (but I don't think that will come up)

#

or hygro

#

I suppose what I could do is set the target humidity in generic hygrostat, based on whether the sun is out

#

and then I have basically the same set-up except I am taking advantage of the minimum cycle duration

#

I feel like these erroneously reflect only their meaning if used for a humidifier

#

but I don't know which way around it is for a dehumidifier, is it dry/wet that's wrong or is it on/off that's wrong

#

I'll make a separate thread for that

unborn tide
#

It also doesn't trigger lowering at the correct time but that could be me misunderstanding the units that solar production is in

#

NVM that part is just actually not getting almost any solar

#

but it doesn't turn on even when it's well above the threshold