{"_id":"rbn-pi","_rev":"33-547d947ec429447dd5818721e3586e88","name":"rbn-pi","time":{"modified":"2022-06-25T14:11:31.091Z","created":"2014-02-21T20:33:56.794Z","0.0.2":"2014-02-21T20:33:58.035Z","0.0.3":"2014-02-21T21:01:35.260Z","0.0.4":"2014-02-27T18:41:54.365Z","0.0.5":"2014-02-27T18:58:16.747Z","0.0.6":"2014-02-27T19:18:44.513Z","0.0.7":"2014-03-07T20:41:05.300Z","0.0.8":"2014-03-07T20:42:55.809Z"},"description":"Supervisor and updater for raspberry pis","readme":"rbn\n==========\n\nThis is a bit of software that was built for the raspberry pi, but should work on any linux box. It's good at doing things like passing data from bluetooth low energy devices over a websocket connection, or sending data from a connected arduino up to firebase. It consists of two parts - interfaces and transports.\n\nInterfaces\n===\n\nInterfaces allow the pi to collect data from other devices. Currently, the following interfaces are supported:\n\n* [rbn-ble](http://github.com/robinpowered/rbn-ble) - bluetooth low energy\n* [rbn-rfid](http://github.com/robinpowered/rbn-rfid) - usb-based rfid readers\n* [rbn-arduino](http://github.com/robinpowered/rbn-arduino) - arduino over serial\n\nTo add an interface, just add the interface's name in the `dependancies` section of your package.json file and run `rbn-base.js`. Make sure to use `latest` for the version if you want the package to auto-update. If your interface has options you can configure, you can set them in config.json.\n\nTransports\n===\n\nGot some data from an interface? Awesome. Transports let you send that data somewhere on the internet.\n\n* [rbn-websockets](http://github.com/robinpowered/rbn-websockets) - uses websockets\n* [rbn-http](http://github.com/robinpowered/rbn-http) - http POST requests\n* [rbn-firebase](http://github.com/robinpowered/rbn-firebase) - firebase\n\nThe process for adding a transport is the same as that for an interface.\n\nEasy Mode\n===\n\n1. Install raspbian on your Pi.\n2. SSH onto your pi.\n3. Run `curl -h http://...`\n4. Run `sudo node rbn-pi.js`\n\nConfiguration\n===\n\nTo add or remove interfaces and transports, and configure the behavior of the grid, change the options in config.json. By default, config.json looks like this:\n\n``` json\n{\n  \"autoUpdate\": false,\n  \"runOnBoot\": true,\n  \"transports\": {\n    \"rbn-websocket\": {\n        \"endpoint\": \"http://robin-grid.omrdev.com\"\n    }\n  },\n  \"interfaces\": {\n    \"rbn-rfid\": {}\n  }\n}\n\n```\n\nBesides the `interfaces` and `transports` objects, the supported options are:\n\n* `autoUpdate` - update all modules automagically when a new version is released (default: `true`)\n* `runOnBoot` - run the grid automatically when the OS boots up using `forever` (default: `true`)\n\nStreaming logs and debugging\n===\n\nEvery module emits logs on a [debug](github.com/visionmedia/debug) namespace equal to the name of the module. There is also a `base` namespace with the most general logs. To listen on a namespace, run pass a `DEBUG` argument to node, like so:\n\n`sudo DEBUG=base,websocket,ble node rbn-pi.js`\n\nIf you're looking to stream logs out to a service, you should write a transport to do so!\n\nContributing\n===\n\nThe Robin OS is designed to make it easy to add custom modules.\n\n(finish this)\n\nCreating an interface\n---\n\nYour module should export a single class. Your constructor will be called ","maintainers":[{"email":"siralonsoholmes@gmail.com","name":"holmesal"}],"versions":{"0.0.4":{"name":"rbn-pi","version":"0.0.4","description":"Supervisor and updater for raspberry pis","main":"rbn-pi","repository":{"type":"git","url":"http://github.com/robinpowered/rbn-pi.git"},"scripts":{"prepublish":"coffee -c rbn-pi.coffee"},"dependencies":{"debug":"~0.7.4","winston":"~0.7.2","semver":"~2.2.1","forever-monitor":"~1.2.3","npm":"~1.4.3","rbn-base":"git+ssh://git@github.com/robinpowered/rbn-base.git","rbn-ble":"git+ssh://git@github.com/robinpowered/rbn-ble.git","rbn-websocket":"git+ssh://git@github.com/robinpowered/rbn-websocket.git"},"bugs":{"url":"https://github.com/robinpowered/rbn-pi/issues"},"_id":"rbn-pi@0.0.4","dist":{"shasum":"b7fadc8dd550db6246605a73c012abd74656af62","tarball":"https://registry.npmjs.org/rbn-pi/-/rbn-pi-0.0.4.tgz","integrity":"sha512-nBFcgQf8GQEN5HKeWIPwjnaRvATAT0d70pMqQDwYz4RZEd8j/YOD2ckSrIznWCmB+qIug/LmHSYRr+wG2xDSCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDesf3saV4ETrm1+8D1F5pWRBrD5lyVtDe0MHE7VVZW+wIgYS32wt7mZ1ni8u/WBrgwuEW6rYwmSX/VNpDporIF5fU="}]},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"holmesal","email":"alonso@onemightyroar.com"},"maintainers":[{"name":"holmesal","email":"alonso@onemightyroar.com"}]},"0.0.5":{"name":"rbn-pi","version":"0.0.5","description":"Supervisor and updater for raspberry pis","main":"rbn-pi","repository":{"type":"git","url":"http://github.com/robinpowered/rbn-pi.git"},"scripts":{"prepublish":"coffee -c rbn-pi.coffee"},"dependencies":{"debug":"~0.7.4","winston":"~0.7.2","semver":"~2.2.1","forever-monitor":"~1.2.3","npm":"~1.4.3","rbn-base":"git+ssh://git@github.com/robinpowered/rbn-base.git","rbn-ble":"git+ssh://git@github.com/robinpowered/rbn-ble.git","rbn-websocket":"git+ssh://git@github.com/robinpowered/rbn-websocket.git"},"bugs":{"url":"https://github.com/robinpowered/rbn-pi/issues"},"_id":"rbn-pi@0.0.5","dist":{"shasum":"eb703baf6cb02babc3b824fe9532c02231b83653","tarball":"https://registry.npmjs.org/rbn-pi/-/rbn-pi-0.0.5.tgz","integrity":"sha512-0P2UycYRcngEWRqCZcjB3WgjFW0fPIn87vyaq7f5m/WPYNK9h/O12+87IHTmWnuaQi1JFmX4ODgICmQRhaa+Jg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIES2dOOXuCB1Y/4CChuE+LueQlc1vIBzeFLUJBLYlbrdAiA18ajR2fgzt37YTHpaxT5UIp8MxEomo3s34a3kal1DCw=="}]},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"holmesal","email":"alonso@onemightyroar.com"},"maintainers":[{"name":"holmesal","email":"alonso@onemightyroar.com"}]},"0.0.6":{"name":"rbn-pi","version":"0.0.6","description":"Supervisor and updater for raspberry pis","main":"rbn-pi","repository":{"type":"git","url":"http://github.com/robinpowered/rbn-pi.git"},"scripts":{"prepublish":"coffee -c rbn-pi.coffee"},"dependencies":{"debug":"~0.7.4","winston":"~0.7.2","semver":"~2.2.1","forever-monitor":"~1.2.3","npm":"~1.4.3","rbn-base":"git+ssh://git@github.com/robinpowered/rbn-base.git","rbn-ble":"git+ssh://git@github.com/robinpowered/rbn-ble.git","rbn-websocket":"git+ssh://git@github.com/robinpowered/rbn-websocket.git"},"bugs":{"url":"https://github.com/robinpowered/rbn-pi/issues"},"_id":"rbn-pi@0.0.6","dist":{"shasum":"6b8e5afec0b57fa8721ae2a4b1c80cba99b845f1","tarball":"https://registry.npmjs.org/rbn-pi/-/rbn-pi-0.0.6.tgz","integrity":"sha512-hHbKIqQvB+UjrBfEE8QoYuxNaqJDNcQHAGydGJDUlwpYyD6JiOMYmNOlWsJoepkXc1gDAsv0weLskXg02AxHQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBKW09BL/4lN7P3EdocodWLi3YuUAGtSChrN0sRKlBMwAiEAt5y9ZiA8kSP1lQsCA0rZJkfpw0CBe0GrN/u38A1P3L8="}]},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"holmesal","email":"alonso@onemightyroar.com"},"maintainers":[{"name":"holmesal","email":"alonso@onemightyroar.com"}]},"0.0.7":{"name":"rbn-pi","version":"0.0.7","description":"Supervisor and updater for raspberry pis","main":"rbn-pi","repository":{"type":"git","url":"http://github.com/robinpowered/rbn-pi.git"},"scripts":{"prepublish":"coffee -c rbn-pi.coffee"},"dependencies":{"debug":"~0.7.4","winston":"~0.7.2","semver":"~2.2.1","forever-monitor":"~1.2.3","npm":"~1.4.3","rbn-base":"git+ssh://git@github.com/robinpowered/rbn-base.git","rbn-ble":"git+ssh://git@github.com/robinpowered/rbn-ble.git","rbn-websocket":"git+ssh://git@github.com/robinpowered/rbn-websocket.git"},"bugs":{"url":"https://github.com/robinpowered/rbn-pi/issues"},"_id":"rbn-pi@0.0.7","dist":{"shasum":"c70781299ffd969f7d18cf38694afc2fe318a2b3","tarball":"https://registry.npmjs.org/rbn-pi/-/rbn-pi-0.0.7.tgz","integrity":"sha512-6MjV6I1q2tXcfCY3PqngwXlMai5cKim6uAgjA92PQVf8HJvlVoVLm8Sqa35PhXCKG+aTOMYyMQIRWq8KXrvRbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAPBRxqLrXahvaO/9WxaTJ8HZotSaE4JCYxRV29cdVHkAiEA5ASbOBYKSL2pODUH14q2WjSetnJwkbR+oplnIFvgvSk="}]},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"holmesal","email":"alonso@onemightyroar.com"},"maintainers":[{"name":"holmesal","email":"alonso@onemightyroar.com"}]},"0.0.8":{"name":"rbn-pi","version":"0.0.8","description":"Supervisor and updater for raspberry pis","main":"rbn-pi","repository":{"type":"git","url":"http://github.com/robinpowered/rbn-pi.git"},"scripts":{"prepublish":"coffee -c rbn-pi.coffee"},"dependencies":{"debug":"~0.7.4","winston":"~0.7.2","semver":"~2.2.1","forever-monitor":"~1.2.3","npm":"~1.4.3","rbn-base":"latest","rbn-ble":"latest","rbn-websocket":"latest"},"bugs":{"url":"https://github.com/robinpowered/rbn-pi/issues"},"_id":"rbn-pi@0.0.8","dist":{"shasum":"b54c5c7c104889e84fc12d655a4c53a012bf595e","tarball":"https://registry.npmjs.org/rbn-pi/-/rbn-pi-0.0.8.tgz","integrity":"sha512-fSLoJPwqdCgTkxw/okw8Eq1IIFmdv1Rm86wZAv+h7qwrjOTSsGoIPllpg/YzJXA0amO74pCMLgozbG4vbnNTRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA+HHwVU95INuoU173zaq9HC1C4O2F9+zTzZtOP7pcSiAiBy5RNTycpvEjSShp/i4Uc+lIblPjVMX+cbb+NYFzIoGQ=="}]},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"holmesal","email":"alonso@onemightyroar.com"},"maintainers":[{"name":"holmesal","email":"alonso@onemightyroar.com"}]}},"dist-tags":{"latest":"0.0.8"},"readmeFilename":"README.md","repository":{"type":"git","url":"http://github.com/robinpowered/rbn-pi.git"},"bugs":{"url":"https://github.com/robinpowered/rbn-pi/issues"}}