I have been using these boards with Home assistant however wish to have more inputs than I can with 4 boards direct on to a Pi. As I use MQTT for the main parts of the house automation using Mosquitto as the broker I thought the best way forward would be to have another Pi with the boards attached and for that to read the pin and send an MQTT message to the broker where Home Assistant could be subscribed to and then react.
It would be great to do this the outher way round as well so Home Assistant could publish a MQTT messge and the Pi could then turn on the output.
So I know what I want to happen and that it can be done but I do not know how in python to program the boards and to interface with the Mosquitto python library.
Is there a great python programmer that can help me I do not think it should be very hard to achieve - if you know how to program python.
If I can get this to work it will allow endless automations and real life onteraction