sgupta999/mqtt-bridge-smartthings

how do i configure mqtts connection?

Opened this issue · 1 comments

gobba commented

ive been trying to connect to my mqtt broker using ssl, and username/pass but cant get it to work. Whats the options or format of the host?

right now the server just supports mqtt using username / password.
since i am using the npm mqtt i guess you could configure to use tls over mqtt to connect - but you will have to pass additional parameters in config and modify the code to connect to mqtt broker.

no plans on my part to do it right now. If enough people request it I might look into it,

not sure how handy you are with coding - but if you are you could relatively easily make the changes.

Look under
https://www.npmjs.com/package/mqtt#client for tls.connect

and

http://nodejs.org/api/tls.html#tls_tls_connect_options_callback