Setup Weaved and the Raspberry Pi

If you’ve ever tried to setup your Raspberry Pi as an Internet of Things device, you’ll know that unless you jump through some massive hoops, you’re stuck serving web pages and data on your local network. Getting information from your Pi on your phone, or while you’re at work or school . . . it’s nearly impossible.

There are a lot of ways to work your way out to the internet. They’re often painful . . . ISP’s block ports, you need to setup port forwarding, you might violate your terms of sevice with your ISP, and you might need to customize your router.

Weaved solves all of these problems.

The easiest way we’ve seen to open up your Raspberry Pi as an Internet of Things device is to use the service Weaved. Weaved provides an IoT (Internet of Things) Kit for the Raspberry Pi. The kit provides really simple tools for connecting your Pi to the cloud, receiving notifications, and turning your Pi into an Internet of Things Kit.Setup Weaved and the Raspberry Pi

They offer a few services that let you connect from a distance:

  • SSH – You can login to your Pi from anywhere over SSH.
  • Web (http) on port 80 – You can view a web page your Raspberry Pi serves up from anywhere.
  • WebIOPI – Control your Raspberry Pi GPIO pins using their custom software.
  • iOS and Android App – They have a beautiful app you can use with your iPhone or your Android (soon!). Receive push notifications!

Connecting your Raspberry Pi to the internet is super-easy with Weaved!

Step 1: Get a Free Account.

You can get a free account at Weaved on their website. At the time of our writing, the service is in Beta and everything is free. Just setup a developer account, it takes about 30 seconds.

Step 2: Fire up your Raspberry Pi and connect to the internet.

Fire up your Raspberry Pi!

You will need to connect your Pi to the internet. We assume you’ve already figured out how to do this.

Step 3: Download the Weaved Software to your Pi.

In the command line on your Raspbery PI, type the following command:

wget https://github.com/weaved/installer/raw/master/binaries/weaved-nixinstaller_1.2.8.bin

Step 4: Make the Weaved Software Executable.

We will make the installation file downloaded in Step 3 executable:

Again, in the command line:

chmod +x weaved-nixinstaller_1.2.8.bin

Step 5: Launch the Installer.

In the command line, type:

./weaved-nixinstaller_1.2.8.bin

The software will run a few tests, and boom: first question . .Setup Weaved and the Raspberry Pi schematic

Step 6: Choose a service.

When you first start, you’ll be asked to install one of the Weaved services: SSH on port 22, Web (http) on port 80, WebIOPi on port 8000, VNC on port 5091 (tested with tightvncserver), or A custom TCP service on your port of choice.

In this example, we’ll choose the second option, http on port 80.

Step 7: Enter your Weaved Login information.

Enter in the information we setup in Step 1

Be sure: not your Raspberry Pi login information, but the information for your weaved account (which you setup in Step 1!).

You’ll be prompted for a device name. Name your pi wisely . . .

For this experiment, we chose “weaved_tutorial_4_pi” . . . and success!

 

For more detail: Setup Weaved and the Raspberry Pi

Scroll to Top
Read previous post:
Attendance system using Raspberry Pi and NFC Tag reader

With my new toy Raspberry pi I've done several testing projects from instructables, adafruit etc. But after a while it...

Close