Hi,
thanks for your responses they really helped.
The x channel relay board is new to me; I looked into it and they sounds like a great option, so I go for it. The aquariums are located in different places in our house. I therefore have to make two “tank controllers”. So I decided to go for two four channel relay boards, with I2C support. Is this a good choice? GeeekPi Raspberry Pi Expansion Board 4 Channel Relay Board Module Power Relay Module for Raspberry Pi 4B & Raspberry Pi 3 Model B+ & Raspberry Pi 3/2 Model B (No Programming Required/Programmable). Sorry - I can’t put in the link since newbies are limited to two links per post
I will be redesigning my nano aquariums soon. I am going to use a rich soil substrate with lots of nutrients, so the water values will fluctuate considerably in the first weeks. Many water changes are also required during this period. I want to follow that process closely and am therefore engineering the measuring station. The measuring station will become a separate unit that I can optionally use in one or the other aquarium. The ESP32 is also new to me, and again it seems a good option, and again, I go for it!
I still have to figure out if my PH sensor is compatible with the ESP. I have seen that some models work with the ESP (https://www.youtube.com/watch?v=EqFw561pO5k), but I don’t know for sure if that also counts for mine. If not, then I have to use an Arduino (or Rpi) and come up with a solution for the connectivity with my “smart home network”.
I expect to take measurements of 2 a 4 water values: two samples per hour for let’s say two months. I have bought a sensor for the measurement of PH (E60) and temperature (E8). I still doubt if I will also buy a sensor for dissolved oxygen (E170) and conductivity (E70) mainly because those sensors are indeed expensive.
The PH sensors that I bought: https://www.dfrobot.com/product-1110.html
The amount of data is limited. I consider to initially store the data on a sdCcard of the measureStation and maybe later in the on-board database of the home assistant Rpi. Do you think that’s a good approach? End goal is to have the data available on a PC/laptop in our home network for analysis. Maybe I don’t need to use the database at all and can I retrieve the data directly off the SD-card via Blue tooth or WiFi.
Taking all this into consideration, I have adjusted my architecture as follows:
Something that I have not yet figured out is the configuration of the relay board. The idea is to do that through a scene, script or automation in HA. Do you foresee an issue there?
Everything together it becomes a real project. The bill of material so far is as follows:
- 3 x Rpi4B @ E35 => E105
- 2 x Relayboard @ E15 => E30
- 1 x ESP32 => E15
- 1 x SD card => E12
- 1 x PH sensor kit => E60
- 1 x temp sensor kit => E8
- 10% @ power adpaters and other small material
- Total +/- E250 (serious money )
The next step is to formulate a backlog for HA, the tank controller and the measuringStation (Automating, timing, measuring, configuration, output, controlling, dosing pumps, sensors etc.). And to think about the power supply of the constituent three subSystems. And to think about ……
Please let me know what you think. I am curious about your reactions, tips and suggestions.
Regards, Ko