Python script for sending/receiving commands to/from GPIO pins via MQTT messages