In my project i read using pymodbus a registry value from my raspberry py connected via RS486 usb adapter to a sensor and whant to publish to a MQTT topic using greengrass: