2pk03 / bacnet-mqtt-gateway

BACnet MQTT Gateway
Apache License 2.0
49 stars 26 forks source link

username and password authentication #4

Closed kskenyon closed 3 years ago

kskenyon commented 4 years ago

Need help to use with mosquitto broker using username/password authentication.

Need to modify mqtt_client.js and default.json?

Kevin

2pk03 commented 4 years ago

Hey Kevin, yes the config needs to be adjusted: https://github.com/InfiniteDevices/bacnet-mqtt-gateway/blob/master/config/default.json

2pk03 commented 3 years ago

solved

kskenyon commented 3 years ago

Not enough to edit default.json alone. mqtt_client.js needs to modified to eliminate looking for cert paths and adding looking for username: and password:

refer to mqtt.js docs as needed.

wendtc commented 1 year ago

mosquitto broker

hello I would also like to log in locally on a mosquitto broker with username and password. Can you please send me the necessary changes. Thank you Christian

mikihacia commented 1 year ago

Hi. Has anyone managed to get this working with user/pass authentication (mosquito)?

wendtc commented 1 year ago

i didn't make it