Vertical Farm Automation
If this is for a commercial project then go for industrial hardware.



Figure 1. 16 Channel Digital Input with Pulse Counting RS485 Modbus Slave. Source: Audon.

Figure 1 shows a randomly chosen RS485 remote I/O module. These are usually 24 V powered  and can feature screw terminals, input and output isolation, etc. The RS485 network will give noise immunity, etc., each station will have its own address and the rest of the system will work if that node drops off the network.

One of the big benefits of using commercial hardware is that there is support and someone else will be able to repair it.

You can still have all the fun of creating the HMI and control software on the hardware of your choice - but a PLC (programmable logic controller) would be the standard approach for industry.