#STEP 1 Create a meteor app
#STEP 2 Add some routes
meteor add iron:router
meteor add twbs:bootstrap
#STEP 3 Add home page content
-
Add colpick CSS/JS to the public folder
-
Create a send color function
-
Intialize the colpick when the home template is rendered
#STEP 4 Connect app to the MQTT Server
-
Add MQTT support to the app
meteor add kandizzy:meteor-mqtt-fork meteor add meteorhacks:npm
-
Update the packages.json with the MQTT npm package and restart meteor
-
Initialize the connection to the MQTT server
-
Configure environment variables before running Meteor
source config/env.sh meteor
#STEP 5 Send colors from Meteor to MQTT