diff --git a/config.js b/config.js index cc5b33f..b3d6771 100644 --- a/config.js +++ b/config.js @@ -1,8 +1,9 @@ -websocketserver = '127.0.0.1'; -websocketport = 9001; -topic = '#'; +host = '127.0.0.1'; // hostname or IP address +port = 9001; +topic = '#'; // topic to subscribe to useTLS = false; -// username = null; -// password = null; -username = "jjolie"; -password = "aa"; +username = null; +password = null; +// username = "jjolie"; +// password = "aa"; +cleansession = true; diff --git a/index.html b/index.html index 923b912..cf970cd 100644 --- a/index.html +++ b/index.html @@ -9,52 +9,61 @@ @@ -62,13 +71,10 @@

Mosquitto Websockets

- Subscribed to Status: -

Messages

+
Subscribed to + Status:
- +
- -