This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

IBM Watson and MQTT
#2
You need to pass device id to mqtt.new:
Code:
client = mqtt.new(device_id)

Username is use-token-auth:
Code:
client:login_set('use-token-auth', password)

Use port 1883 to connect to broker.

See this for more info: https://cloud.ibm.com/docs/services/IoT?...arted#mqtt
Reply


Messages In This Thread
IBM Watson and MQTT - by eirik - 30.04.2019, 18:41
RE: IBM Watson and MQTT - by admin - 02.05.2019, 06:59

Forum Jump: