AWS, Technology, Entrepreneurship, Startup, Internet of Things.
successfully connect with the MQTT Broker. def on_connect(client, userdata, flags, rc): print("Connected with result code "+str(rc)) # Subscribe to a topic where some other node would be publishing client.subscribe("HumiditySensor\Sensor1") # This function is called whenever data is published on