Raspberry Pi : GPIO to MQTT
Here’s a short tutorial on how to update the status of GPIO connectors from a Raspberrypi to an MQTT server, using docker images.
You’ll be able to read the GPIO status, but also modify it if, like me, you have a relay connected to it.