{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]},"settings":""},"next":{"description":"","pages":[]},"title":"Connectors","type":"basic","slug":"connectors","excerpt":"Create new connectors for Gateblu","body":"Creating a new connector is easy, we have created a [generator](https://github.com/octoblu/generator-meshblu-connector) to help you quickly create a skeleton application.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"npm install -g yo generator-meshblu-connector meshblu-util\\n\\nmkdir my-cool-connector\\ncd my-cool-connector\\n\\nyo meshblu-connector\\n\\nmeshblu-util register > meshblu.json\\nmeshblu-util claim\\n\\nnpm start\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nOnce you've generated your connector, register it with Meshblu, claim it on Octoblu, and enjoy!\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Debug\"\n}\n[/block]\nGateblu uses the [debug](https://github.com/visionmedia/debug) module. To see debug output for a particular connector:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"cd {gateblu_dir}/devices/{device-uuid}\\nDEBUG=gateblu*,meshblu* npm start\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]","updates":["56edb7735babe30e009bd82b"],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5577bd07a042551900b0044c","createdAt":"2015-06-10T04:28:55.044Z","user":"5564f227f0f70f0d00a9ab20","category":{"sync":{"isSync":false,"url":""},"pages":["5577bd07a042551900b0044c","55d224ab945e481700afbb79"],"title":"Developers","slug":"developers","order":9999,"from_sync":false,"reference":false,"_id":"5577bceaa042551900b0044b","createdAt":"2015-06-10T04:28:26.541Z","project":"557790abe6063e0d00481466","version":"557790ace6063e0d00481469","__v":2},"project":"557790abe6063e0d00481466","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["557790ace6063e0d0048146a","5577bceaa042551900b0044b","55d222fa3c74062300aee56e","55db5726b0e9140d00a632ba"],"_id":"557790ace6063e0d00481469","__v":4,"project":"557790abe6063e0d00481466","createdAt":"2015-06-10T01:19:40.071Z","releaseDate":"2015-06-10T01:19:40.071Z"},"__v":8,"githubsync":""}

Connectors

Create new connectors for Gateblu

Creating a new connector is easy, we have created a [generator](https://github.com/octoblu/generator-meshblu-connector) to help you quickly create a skeleton application. [block:code] { "codes": [ { "code": "npm install -g yo generator-meshblu-connector meshblu-util\n\nmkdir my-cool-connector\ncd my-cool-connector\n\nyo meshblu-connector\n\nmeshblu-util register > meshblu.json\nmeshblu-util claim\n\nnpm start", "language": "shell" } ] } [/block] Once you've generated your connector, register it with Meshblu, claim it on Octoblu, and enjoy! [block:api-header] { "type": "basic", "title": "Debug" } [/block] Gateblu uses the [debug](https://github.com/visionmedia/debug) module. To see debug output for a particular connector: [block:code] { "codes": [ { "code": "cd {gateblu_dir}/devices/{device-uuid}\nDEBUG=gateblu*,meshblu* npm start", "language": "shell" } ] } [/block]