theyosh / TerrariumPI

Home automated terrarium/aquarium or other enclosed environment with a Raspberry Pi
https://terrarium.theyosh.nl
GNU General Public License v3.0
413 stars 100 forks source link

Using the same switch for low and high alarm #527

Closed fabi2803 closed 3 years ago

fabi2803 commented 3 years ago

Hello, first of all, thanks for working on this great project, I love it and I'm going to use it for my mushroom grow room. I'll send you pictures in a few weeks when I put them in the tent.

Now to my little problem: I'm using a ultrasonic humidifier with a fan to control the humidity, both with their own switches. With low alarm both should power up, with high alarm I want just the fan to blow.

Bildschirmfoto 2021-03-12 um 17 15 20 Bildschirmfoto 2021-03-12 um 17 15 40

At first I didn't have a high alarm and it worked fine as you see at the middle of the graph. As I added the Fan at the high alarm, it turned on and off all the time when humidity was to low.

Bildschirmfoto 2021-03-12 um 17 16 23

I could minimize the problem with a settle timeout at the high alarm setting but I don't think that's a solution. I don't know how much sense my high alarm strategy makes but maybe there is a scenario where a switch is used at high and low alarm.

Best regards

theyosh commented 3 years ago

Hi, at the moment it is not possible to use a relay twice. So if a relay is selected in the low part, you cannot use it in the high part. That will not work.

In my new version it will work. So for now, you could add a second fan and use that for the high alarm settings.

fabi2803 commented 3 years ago

Do you want to reveal when the new version might go online?

theyosh commented 3 years ago

The new version will be online (I hope) this month. But it is a major rewrite, so I call it beta. And it can have (new) bugs.

fabi2803 commented 3 years ago

Nice! I am looking forward testing it.