{"_id":"56009c911503430d007cc958","githubsync":"","category":{"_id":"56009c581503430d007cc955","__v":41,"project":"56009c541503430d007cc951","version":"56009c571503430d007cc954","pages":["56009c591503430d007cc957","56009c7f0c703d19009531c6","56009c911503430d007cc958","56009c9c1503430d007cc95a","56009ca697f69f1700f21a55","56009cb81503430d007cc95c","56009cc80c703d19009531c8","56009ce18c0c9d0d00dcaef8","56009cf21503430d007cc95e","56009cfe81a9670d006d146a","56009d0781a9670d006d146c","56009d1d81a9670d006d146e","56009d271503430d007cc960","56009d581503430d007cc962","56009d651503430d007cc964","56009d711503430d007cc966","56009d8d81a9670d006d1472","56009d970c703d19009531ce","56009da197f69f1700f21a5a","56009dae3aa0520d00da0bff","56009db83aa0520d00da0c01","56009dcf81a9670d006d1474","56009ddb3aa0520d00da0c04","56009de597f69f1700f21a5d","56009df80c703d19009531d0","56009e0d8c0c9d0d00dcaefa","56009e213aa0520d00da0c08","56009e2c81a9670d006d1476","5600a4971503430d007cc97d","561c5a6b01e1c417001f54f1","561d9845d712bc0d00777b72","563cfe55d8f2d20d00448d14","563d09d9913e650d00b65f92","566b3b8614c22f1900f00b7b","568ff8529ebef90d00872887","568ff8ed4719c119002ce637","5690922a208b910d00ed77b4","56a93fd311d0390d00a3d29a","56b25cc8a5a1020d00cf4cc3","56b25f02147e900d00d64990","56b291ed4e71701700232ea4"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-22T00:10:00.324Z","from_sync":false,"order":9999,"slug":"documentation","title":"Documentation"},"user":"5564f227f0f70f0d00a9ab20","__v":1,"project":"56009c541503430d007cc951","version":{"_id":"56009c571503430d007cc954","__v":1,"project":"56009c541503430d007cc951","createdAt":"2015-09-22T00:09:59.421Z","releaseDate":"2015-09-22T00:09:59.421Z","categories":["56009c581503430d007cc955"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-22T00:10:57.381Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":7,"body":"![Alt text](https://raw.githubusercontent.com/octoblu/Gateblu_RPi/master/Screen%20Shot%202015-05-05%20at%203.45.42%20PM.png)\n\n[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/Lohp9l_S6N4/0.jpg)](http://www.youtube.com/watch?v=Lohp9l_S6N4)\n\n\n[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/UAT1F8hF-nI/0.jpg)](http://www.youtube.com/watch?v=UAT1F8hF-nI)\n\n\n\n#SET-UP\n\n##What you need\n\n1. Raspberry Pi A+,B+,2\n2. USB Power ( for the pi )\n3. 4gb+ SD card\n4. Raspian compatible USB WiFi Adaptor\n5. (Optional) BLE 4 Dongle if you want to use BLE devices like the Light Blue Bean. We used a GHS2 BLE 4.0\n6. An Octoblu account! app.octoblu.com\n\n##Download the Gateblu Image for Raspberry Pi \n\nhttps://citrix.sharefile.com/d-sa9804f2a1204d4b9\n\n\n##Burn Image to SD Card\n\nFor this part you will need at least a 4gb SD card.\n\n\nFollow [these instructions](http://lifehacker.com/how-to-clone-your-raspberry-pi-sd-card-for-super-easy-r-1261113524) to burn the image.\n\n##Configure WiFi (Headless)\n\n1. Do not remove your SD card from your computer just yet\n2. The mounted SD card will show up as \"boot\" after having burned the image.\n3. In the volume there is a file called `wifi.conf` open that in a programming text editor like Sublime, note++, or Atom as opposed to a regular text editor.\n4. In the quotations add your wifi `ssid` and password `psk`.\n5. Eject the SD card and place it in your Raspberry Pi SD card slot\n6. BOOT UP your Raspberry Pi! \n\n##Claim your Newly Connected Raspberry Pi Gateblu in the Cloud\n\n1. Connect to the same WiFi network as your Raspberry Pi\n2. Log onto app.octoblu.com\n2. Go to the `Connect` Page\n3. Click `Add Node`\n4. Select `Gateblu`\n5. Click `Already Downloaded`\n6. A drop down will appear with options. Youre Pi will show up as a discoverable device. Select it.\n7. If you couldn't find your Gateblu's UUID, you can select the claim existing option and find the corresponding credentials in the Pi's boot folder as `meshblu.json`\n8. Give it a name and click `update/save`\n\n##Claim RPI-Servo from Local Devices\n\nThis is a script that boots on your raspberry pi that becomes a claimable Octoblu node that gives you access to\nthe Raspberry Pi's GPIO. Currently this support digitalWrite and Servo functions. This is a preview version. There will be\na drastically advanced version of this to come. https://github.com/octoblu/meshblu-johnny-five-rpi\n\n\n1. Connect to the same WiFi network as your Raspberry Pi\n2. Log onto app.octoblu.com\n2. Go to the `Connect` Page\n3. Click `Add Node`\n4. Select `Generic Device`\n5. From the drop down look for `device:rpi-servo` or 'device:raspberrypi\n6. Select that device\n7. Name it and then click `update`\n\nSame as with the Gateblu, if you cannot find your device's UUID you can check the boot folder on the SD card!\n\n##Install Devices to your Gateblu!\n\nYou can install device plugins to your Raspberry Pi. For example. If you have a Light Blue Bean and a BLE 4.0 usb adapter you merely need to follow [this tutorial](http://www.hackster.io/3043/lightblue-bean-octoblu), the only diference being that you're using the Raspberry Pi as Gateblu instead of the desktop application.","excerpt":"","slug":"raspberry-pi","type":"basic","title":"Raspberry Pi"}
![Alt text](https://raw.githubusercontent.com/octoblu/Gateblu_RPi/master/Screen%20Shot%202015-05-05%20at%203.45.42%20PM.png) [![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/Lohp9l_S6N4/0.jpg)](http://www.youtube.com/watch?v=Lohp9l_S6N4) [![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/UAT1F8hF-nI/0.jpg)](http://www.youtube.com/watch?v=UAT1F8hF-nI) #SET-UP ##What you need 1. Raspberry Pi A+,B+,2 2. USB Power ( for the pi ) 3. 4gb+ SD card 4. Raspian compatible USB WiFi Adaptor 5. (Optional) BLE 4 Dongle if you want to use BLE devices like the Light Blue Bean. We used a GHS2 BLE 4.0 6. An Octoblu account! app.octoblu.com ##Download the Gateblu Image for Raspberry Pi https://citrix.sharefile.com/d-sa9804f2a1204d4b9 ##Burn Image to SD Card For this part you will need at least a 4gb SD card. Follow [these instructions](http://lifehacker.com/how-to-clone-your-raspberry-pi-sd-card-for-super-easy-r-1261113524) to burn the image. ##Configure WiFi (Headless) 1. Do not remove your SD card from your computer just yet 2. The mounted SD card will show up as "boot" after having burned the image. 3. In the volume there is a file called `wifi.conf` open that in a programming text editor like Sublime, note++, or Atom as opposed to a regular text editor. 4. In the quotations add your wifi `ssid` and password `psk`. 5. Eject the SD card and place it in your Raspberry Pi SD card slot 6. BOOT UP your Raspberry Pi! ##Claim your Newly Connected Raspberry Pi Gateblu in the Cloud 1. Connect to the same WiFi network as your Raspberry Pi 2. Log onto app.octoblu.com 2. Go to the `Connect` Page 3. Click `Add Node` 4. Select `Gateblu` 5. Click `Already Downloaded` 6. A drop down will appear with options. Youre Pi will show up as a discoverable device. Select it. 7. If you couldn't find your Gateblu's UUID, you can select the claim existing option and find the corresponding credentials in the Pi's boot folder as `meshblu.json` 8. Give it a name and click `update/save` ##Claim RPI-Servo from Local Devices This is a script that boots on your raspberry pi that becomes a claimable Octoblu node that gives you access to the Raspberry Pi's GPIO. Currently this support digitalWrite and Servo functions. This is a preview version. There will be a drastically advanced version of this to come. https://github.com/octoblu/meshblu-johnny-five-rpi 1. Connect to the same WiFi network as your Raspberry Pi 2. Log onto app.octoblu.com 2. Go to the `Connect` Page 3. Click `Add Node` 4. Select `Generic Device` 5. From the drop down look for `device:rpi-servo` or 'device:raspberrypi 6. Select that device 7. Name it and then click `update` Same as with the Gateblu, if you cannot find your device's UUID you can check the boot folder on the SD card! ##Install Devices to your Gateblu! You can install device plugins to your Raspberry Pi. For example. If you have a Light Blue Bean and a BLE 4.0 usb adapter you merely need to follow [this tutorial](http://www.hackster.io/3043/lightblue-bean-octoblu), the only diference being that you're using the Raspberry Pi as Gateblu instead of the desktop application.