Support Center

Using a Raspberry Pi as a Ninja Block

Last Updated: Jun 04, 2014 12:04PM EST


 













Before starting this tutorial, check our our brand new Raspberry PI Crust


To get started, follow these instructions:
 
1. SSH to your raspberry pi by typing "ssh raspberrypi.local" into your terminal.  If you're unable to access the raspberry pi, you might have to reference your router's DHCP lease table.  Once you're in, the default username is "pi" and the password is "raspberry."

2. Execute the following command: 
wget -O - http://assets.ninjablocks.com/raspberrypi/install.sh | sudo bash

3. When installation has completed, Nina will grant you a screen that looks like this:




4. Register an account at https://a.ninja.is/born

 5. After you've registered and logged onto the site, click on the "pair block" in the upper right, and enter the serial number Nina has given you.

6. If all goes well, you should see a dialog that says you've paired successfully.

7. The world is your oyster! Try making a rule, adding a camera, or controlling a remote power point! For more ideas, join us on the forums!


For more features, check out our Raspberry PiCrust! This will allow you to access a huge range of features that were previously unavailable for Raspberry PI users. More info here: http://ninjablocks.com/pages/picrust


If you're having issues pairing, try the following:
1. Ensure your Pi can access the internet, run ping google.com to see if your internet connection is working.
2. If the ping to Google was not successful, try ping 8.8.8.8. If that was succesful, your DNS settings are broken. Edit /etc/resolv.conf and insert a proper DNS server. 8.8.8.8 is a DNS server itself, so use that if you like!
3. If you're trying to use both wifi AND ethernet, pick one and reboot. Multiple paths can sometimes cause strange issues
4. If you still have issues, feel free to join us in the forums or email us at help@ninjablocks.com! 

Links:
help@ninjablocks.com
http://assets04.desk.com/
false
ninjablocks
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete