diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -1,4 +1,16 @@ -# MQTT Topics +# Getting started + + npm install + +Create a database user and database called 'diller' with the password 'diller' and run: + + ./node_modules/.bin/db-migrate up + +Run Diller: + + node diller.js | node_modules/.bin/bunyan + +# MQTT topics /diller /<device id> @@ -12,4 +24,4 @@ mosquitto_pub -h trygvis.io -t /diller/aa:bb:cc:dd:ee:ff/property/temp-0/value -m 12.3 mosquitto_pub -h trygvis.io -t /diller/aa:bb:cc:dd:ee:ff/property/temp-0/name -m Bathroom - mosquitto_pub -h trygvis.io -t /diller/aa:bb:cc:dd:ee:ff/property/temp-0/description -m "Second Floot" + mosquitto_pub -h trygvis.io -t /diller/aa:bb:cc:dd:ee:ff/property/temp-0/description -m "Second Floor" |