Sensors & relays

hi
im starting a automation project i’d like to control 24 relays with 20 humidity sensors
i’ve already done a prototype with an arduino uno 2 sensors & 4 relays due to the limitations pins of the arduino i know i have to use MUX like your Grove - 8 Channel I2C Multiplexer/I2C Hub but do you think i’d rather use an arduino or a raspi 4 instead of an arduino i need some advices please tell me what do you think about & tell what are the best products you have to make my project coming true
thank you so much best regards

If you have too few pins for Arduino Uno, we recommend using an Arduino Mega