I am trying to run a simple program to turn on a Dehumidifier when it gets to humid.
Currently I am triggering off of an Insteon Thermostat (2441TH) and controlling the Dehumidifier using a Insteon On/Off Module (2635-222).
Here is the program I am currently running on the ISY:
If
Module 'Climate' Temperature > 50 °F
and Status 'Thermostat - Main' > 50% (Humidity)
Then
Set 'Dehumdifier' On
Else
Set 'Dehumdifier' Off
The problem that I am running into is that the Dehumidifier keeps flapping on/off at that 50% humidity mark. I'd like it stay on long enough to drop the humidity to like 45%, so that it is off for a little bit (until the humidity rises above 50% again). I tried inserting a wait after the ON command, but that doesn't seem to be working either. I think that the Thermostat sends another humidity update and just starts the loop all over again at the initial If statement.
Can any ISY programming wizards suggest some ideas to help me figure out a better way to do this?
Regards,