This commit is contained in:
2016-06-25 15:44:13 +02:00
parent 348cb7effa
commit 61bd19ee85
3 changed files with 21 additions and 7 deletions

View File

@ -20,7 +20,7 @@ if __name__ == '__main__':
client = mqtt.Client()
client.on_message = on_message
client.connect("mqttbroker", 1883, 60)
client.connect("172.16.2.15", 1883, 60)
for i in sys.argv[1:]:
client.subscribe(i)