Hello,
I am a mushroom producer and for my fruiting room, I need to monitor and control some of parameters. Humidity, Temperature, CO2 and light. At the moment, light and fan are plugged on timer and my humidifier on a non really acurate Inkbird = quite poor automation = not the best mushroom quality
I am in the process of conception of a box to control everything in one place and also get data when I am not in the farm. I started my research with arduino and finally ended up with Rasberry Pi + ESP32 solution with ESPHome and Home assistant( I'm not closed to change). From a skills standpoint, I can weld but not the best. I understand electronic concept, what pin for what use, but still in the beginning of the learning curve.
I also have some basic code skills and okay to take hours to debug if needed
In terms of real electricity skills, I am good in "big" elec like for a home proejct, but the little one, ohms, resistors... This is where my understanding stop and I would be happy if I do not need to go here hahaha.
I also add that it is not a hobby project, so I prefer to put few more $ for better module or sensor if it give me better result. I already ordered the rasberry pi, an ESP32 devboard and few composant to play with.
My requirement and understanding are now (again open to change):
1 Rasberry Pi box to run Home Assistant and be the central brain (I would add others box for my lab and incubation later)
I will be able to use ESPHome that should help me but I know that depending of what module I will use, I will need to put my hand in code
1 ESP32/relay/sensor box. In this box :
BOX
A big electrical box, with mounting plate, 12v power supply and few buck dc dc converter for 5v and 3.3 v composant
Microprocessor
An ESP32 devboard that I would prefer linked to the rasberry by ethernet or other wired solution. I would prefer to avoid wifi as i am in a cave with BIG walls.
QUESTION : It is more reliable to go with a ESP32 card with an inegrated Ethernet or add a module? And I begin to understand that this ethernet feature needed can be a pain in the ?
Relay
2x 4 relay board, one for my 12V equipment, the other for my 220v equipment. Connected to ESP32 with GPIO pins.
8 buttons on the box, which should not be so used but still better to be able to light up in the night or shut down humidifier when I harvest.
QUESTION : Regarding thoose buttons, I feel that the code I make will be the answer
but I need 3 "position". Normal, forced ON (light on in the night) and forced OFF (shut the humdifier when I harvest). Is it easy to implemente or would require lot more stuff?
Sensors
I would like to make a "sensor hub", allowing me to had more sensors if needed. Now 2 humidity/temp, then 1 CO2 and more.
I was planning to use I2C sensors but I understant that it shoud be used in short distance. My sensors will be 4 to 10 meters from the box so it is not the good solution. Some says that RS485 could be a good solution, others prefer CANBUS...
QUESTION : I rely on your advice here, easiest vs more acurate solution?
Pass-through
On of my main goal is that the box can be easy to unplug. Following the "sensors hub" things, I want to have on the left side : my 220 and 12 plug for equipment, on the bottom, power supply, ethernet and usb plug and on the right side plug for my sensors.
QUESTION : For the sensors, I was thinking of a row of Panel Mount Chassis RJ45, linked to each of my choosen sensor system pin, do you thinks it is a good idea?
Air conditioning
I also want to connect my not yet installed AC unit to this, I am talking with my AC guy to know what is feasable. Maybe another ESP32 plugged inside the AC or a infrared remote. This part of the project is is still unclear...
Display
While we're at it, why not add a little I2C screen to monitor data. It is not mandatory at all but hey, lets build a complete solution.
I found some card with ESP32, 8 relay, Ethernet port like this ( https://fr.aliexpress.com/item/1005003336002666.html?spm=a2g0o.cart.0.0.1bf1378dO2L9hP&mp=1&gatewayAdapt=glo2fra ). It could be a good start point as it as most of what I want and would allow me to avoid lot of connexion myself. But the problem is that if only one relay fail/break, do I will need to change the whole?
Lot of info, lot of questions, I know...
That summarizes the 87 chrome tab I currently have hahaha.
I'm not waiting for a full tuto but any advices or guidances and even warning would be much appreciated.
I'll be sure to keep you posted on the project's progress !
Have a good day !
Greto








