mqtt-bridge-smartthings icon indicating copy to clipboard operation
mqtt-bridge-smartthings copied to clipboard

how do i configure mqtts connection?

Open gobba opened this issue 4 years ago • 1 comments

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?

gobba avatar Jan 22 '20 21:01 gobba

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

sgupta999 avatar Jan 23 '20 04:01 sgupta999