Hi, I still haven't found the cause of the problem.
But I have found a workaround :)
The problem is captured in the serial output of my previous post.
As you can see the payload ? of the incomming message is for some reason messed up.
I still suspect the mqtt-cllient-gateway to be responsible for this, but i can not prove this.
So the workaround is to filter out only the good info from the messedup payload. The good info seems to be found in the first bytes of the payload, while the last part acts up randomly.
I filtered using substring as follows :+1:
String hexstring = message.getString();
String String3 = hexstring.substring(0,1); // Filter out unwanted additional characters = workaround bug