stjohnjohnson / mqtt-dasher

Notifies MQTT when an Amazon Dash button is pressed
https://www.npmjs.com/package/mqtt-dasher
40 stars 10 forks source link

Add the option to define a port, username and password in the config.yaml #3

Closed nielstron closed 7 years ago

nielstron commented 7 years ago

I just set the parsed settings from the config.yaml as object as options to mqtt.connect. By adding username, password and port those settings can be changed. Accepted values will apply.

nielstron commented 7 years ago

So yeah the indentation should be fixed now

stjohnjohnson commented 7 years ago

Thanks!