Closed manolof closed 3 months ago
Hmm, that is not good. I need to investigate this.
Ah, this is some how correct.... The settle time is calculated from the moment the relay went on. Not off. So if the relay is on for 1 hour, and the settle time is less than 1 hour, it does not settle... :(
And that sounds not correct...
I made this settle time with water sprayers in mind. So spray for 1 minute, and settle for 5 at least to get a correct new humidity average. And that worked, as it looked. Other people do the same thing. For example fans. On for 1 minute, settle for 10 etc.. So that worked always..
So I fixed the code, and now the settle time is based on the last power off action. That should make it work like it should, after all those years... :)
hmm, it is getting late... so code had a bug. Do another git pull
and it all should work again.
Thanks! Any chance you can update the docker image too? I am using docker
New docker images are uploaded. No version change. But I guess with a docker compose pull you will get a new image
Thanks, seems to work now!
Setup:
Describe the bug The following settings are defined for a heating area:
Originally I had tried with 300 seconds, but lowered to 60 while debugging.
Then, when looking at the Relay's behavior, I see the following:
As you notice, the value changes back to 100 within a second after it became 0.
Expected behavior The relay should wait for the duration of the Settle Time, before it becomes active again. Or what is the exact behavior in this case? What is the Settle time used for? Right now it seems that if there is a sensor alarm, the relay fires up immediately.