I want to build a wired home system, with a lots of on/off switches for lamps, and a few magnetic, smoke, presence, temp and humidity sensors.
I need 30-40 IO ports.
I find Arduino/Genuino Mega, with 54 DIO ports. https://store.arduino.cc/product/GBX00067
The RBPI has some expansion boards: https://www.abelectronics.co.uk/p/18/IO-Pi and with this we can have a lots of IO ports (4x32).
I am absolutely newbie in programming language, and pimatic, so please give me some advice on which solution and how could be the used with pimatic software.
Thanks a lot