Connectors

Create new connectors for Gateblu

Creating a new connector is easy, we have created a generator to help you quickly create a skeleton application.

npm install -g yo generator-meshblu-connector meshblu-util

mkdir my-cool-connector
cd my-cool-connector

yo meshblu-connector

meshblu-util register > meshblu.json
meshblu-util claim

npm start

Once you've generated your connector, register it with Meshblu, claim it on Octoblu, and enjoy!

Debug

Gateblu uses the debug module. To see debug output for a particular connector:

cd {gateblu_dir}/devices/{device-uuid}
DEBUG=gateblu*,meshblu* npm start