Hi, the last few days I’ve been learning to use hass.io to automate a fridge using some tasmota/sonoffs.
I first loaded hass.io on a virtualbox and started configuring the switches and playing my way into learning.
So when I was able to do some simple tasks I decided to start with the project, the simple description would be:
Use three switches that control:
1 Humidifier
2 Fridge
3 Dehumidifier
Using the input of a DHT22 sensor for Temperature and Humidity.
Here is the flowchart I’m trying to automate:
The flowchart shows the on/off trigger points of every device for each process, these aren’t correlative, all three trigger concurrently based on each device ruleset
Think about this project like automating a house with three rooms with different necessities but using the same sensors and switches
So the first thing I did was to configure the switches and then created two sensors.
Then the fun part began, don’t know why but I started with the drying process, being a newbie the first thing that I tried and made it work is to create a set of five automations that control the on/off of every switch
Made a table of truth of all the possible options, tested, it worked and went to bed as happy as you could imagine
The following day I realized that going this way was going to be a PITA because I still need to automate the other two tasks. So I saved the whole automations in a text file and restarted…
This time I used the climate/generic thermostat, yes I duped it to work with both my sensors for temperature and humidity and being creative with the values, ac/heat options and carefully tuned options I made it work again with the same ruleset and not a single automation. Yes, I’m proud
Now is when I ask for help: do you guys have a better way to do this? given that I’m a newbie the answer is probably yes, could you give some ideas on how to better implement this?
Also, help regarding how to enable one of the processes while disabling the other would be great.
Thanks a ton
Pablo