I have a Json package which is published by an arduino on the MQTT broker. This JSON is then interpreted by a raspberry with this function.
pacdata = msg.payl