Quickstart
Last updated
Last updated
You need a fresh setup of Raspbian Jessie Light (the real thing and not NOOBS, otherwise you may have to deal with conflicts). Also ssh access to your Raspberry and a working network connection. If you need more detailed instructions please consult the excellent documentation on raspberrypi.org.
If you know what you are doing you can squeeze everything onto a 2GB sdcard, but a 4GB+ sdcard is recommended. If you plan on doing development you should use a 8GB+ sdcard.
A Raspberry PI 3 is reqired for this setup. While other models may work its the only supported setup.
Debian 8 and Ubuntu 16.xx where used during development, and all packages are also available for amd64. But you have to configure the components yourself.
If your devices (opentrigger-board, rpl-border-router) have not yet been flashed with firmware yet, please reade the opentrigger-board setup guide.
This is the default setup - binaries only.
The development setup can be installed by passing STAGE=development
but the development dependencies can also be added later on by installing the opentrigger-dev
package.
After the installation is done your raspberry will power down. Now disconnect it from your power source and plug in the rpl-border-router - which will act as our 6LoWPAN router.
The Node-RED version shipped with Raspbian is quite old, if you want to update it manually have a look at this guide.
Restart your Raspberry and after it's done booting, get the routers address.
You should see something like this:
Btw: this only works after a fairly recent power cycle (rebooting does not restart the router).
Now look at your routing table (use the server address from the log file).
In my case, there is one button connected, and the output looks like this:
It should be possible to ping the device now.
Now watch the distributor's log and push the button while doing so:
Ouput should look similar to this:
You can also examine the message queue:
If you have a version with an RGB-LED you can make it blink red: