bastlirna / mqtt-wall

Twitter wall for your MQTT broker
MIT License
42 stars 9 forks source link

MQTT name, password, secure connection #25

Closed joysfera closed 7 years ago

joysfera commented 7 years ago

Please provide an example in index.html with name and password for connecting to MQTT broker and also a flag to enforce secure (TLS encrypted) connection. Thanks! :)

ah01 commented 7 years ago

It was not possible till now. Thx for hint :smile:

Example settings:

server: {
  uri: "wss://example.org/mqtt", // <-- wss (for secured websockets)
  username: "tester", 
  password: "cGFzc3dvcmQ=" // <-- string "password" in base46
}

See comment in settings for detail.

joysfera commented 7 years ago

Thanks for after-midnight fix :)