You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line print "Data: " + msg.payload on the file mqtt_Listen_Sensor_Data.py can't print the content of the payload. The value cames as byte. I already used the decode('utf-8') to fix it.
Line
print "Data: " + msg.payloadon the filemqtt_Listen_Sensor_Data.pycan't print the content of the payload. The value cames as byte. I already used thedecode('utf-8')to fix it.print ("Data: " + msg.payload.decode('utf-8'))I'm using Python3.