Hi Angelo,
I'm studying the installation of your system, but I need to reach relays at "long" distance point (let's say 50 meters, with margin).
Currently, I was testing your project on a desk driving relays on GPIOs, but it is not suitable for my installation.
I think the best way to send commands to this distance is to use RS485.
I was wondering if you already studied this case ?
The idea is to use either a USB dongle
(I have no idea how peripherals connected on USB could be integrated in your project)
or a pi hat (driven through I2C).
If this integration is possible, then it would need a configuration layer with address(and probably a second driver layer to implement required commands of these relays boards)...
I would like to know if you're interested in this integration ?
Another solution for me without modifications of your software would be to add an interface board (arduino ?) to translate GPIO states/edges from your software to RS485 commands. But I think if all can be integrated on the PI board and in your software, that would be a great addition.
PS: links in this post are just samples to illustrate, it needs to be checked for real compatibility
Regards,
Jerome