Commit f7724159 authored by dongwoo.koh's avatar dongwoo.koh

[MQTT] replace user/password name after enhanced ttn-receiver.py

parent 58acd067
......@@ -62,8 +62,8 @@ if __name__ == '__main__':
mqttc.on_disconnect=on_disconnect
log.debug("Connecting to ttn")
username="" #Put your username
password="" #Put your password
username=os.environ['ttn_user']
password=os.environ['ttn_password']
mqttc.username_pw_set(username, password)
mqttc.connect("eu.thethings.network",1883,10)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment