First, you will need to create your own UUID and token. You can do this by running the following command from your terminal window:
curl -X POST -d "type=example" http://meshblu.octoblu.com/devices
This should return a response from Meshblu with your very own UUID and Token like this one! Please use your own UUID and Token in the examples below.
{"type":"example","ipAddress":"70.171.192.231","uuid":"0cf6c7e1-b2f8-11e3-a36b-61e66c96102e","timestamp":"2014-03-24T02:00:19.038Z","token":"63jous8wnn42huxrdz2456y1ypmk7qfr","channel":"main","online":false}
We will be using the Meshblu and Request NPM modules in the examples below. You can install them using the following terminal commands:
npm install meshblu
npm install request