Raspberry Pi

Alt text

IMAGE ALT TEXT HERE

IMAGE ALT TEXT HERE

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 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
  3. Go to the Connect Page
  4. Click Add Node
  5. Select Gateblu
  6. Click Already Downloaded
  7. A drop down will appear with options. Youre Pi will show up as a discoverable device. Select it.
  8. 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
  9. 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
  3. Go to the Connect Page
  4. Click Add Node
  5. Select Generic Device
  6. From the drop down look for device:rpi-servo or 'device:raspberrypi
  7. Select that device
  8. 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, the only diference being that you're using the Raspberry Pi as Gateblu instead of the desktop application.