def on_connect(client, userdata, flags, rc):
    print(('Connected with result code ' + str(rc)))
    client.subscribe('/blue')
    print('Topics Subscribed Successfully')
def on_connect(client, userdata, flags, rc):
    print(('Connected with result code ' + str(rc)))
    client.subscribe('/blue')
    print('Topics Subscribed Successfully')