Hi All, I have written a small python script to send and receive MQTT messages. Messages are send when inputs on the UniPi are changed, and UniPi outputs are changes if MQTT messages are received.
More information here; https://github.com/matthijsberg/unipi-mqtt/
Don't expect clean of fancy coding, just an amateur that build this for his own purpose, integrating UniPi into my Home Assistant setup.

Hello @sbr,
the IOs of the Neuron are not connected to the GPIOs. Instead, they are accessible via local ModbusTCP server (you can see the Modbus Registers Map)
Or better yet, check the official Neuron plugin for Codesys: https://store.codesys.com/unipi-neuron-for-codesys-sl.html?___store=en&___from_store=default
Best regards,
Martin

Hi @RobRemote,
Unfortunately PiDome is in a bit of a state of flux right now (without a stable version in fact), which makes it difficult to recommend a specific solution. If you are still struggling with this issue you may be able to cobble something together with EVOK and WS-to-MQTT plugin posted on the forum.
Apologies for taking so long to reply,
Kind Regards,
Tomas

Hi @methlouthi-hathemi,
first of all, are you sure you have the correct cable? The cable has to be crossed, not null modem.
Second of all - are you sure you have some register number 0? It is common that the number and the address of registers are mismatched (numbers of the registers should go from 1, addresses should go from 0).
Best regards,
Martin