Send temperature and humidity data from Ninja Blocks to The Thing System via TSRP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
LICENSE.txt
README.md
index.js
ninjablock.png
package.json
thethingsystem.png

README.md

Ninja Blocks driver for The Thing System

Send temperature and humidity data from Ninja Blocks to The Thing System via TSRP.

Prerequisite

This driver requires newer APIs an only runs on Ninja Blocks greater than version 1.1.5. As of December 5, 2013 this means you need to run on the develop branch. See Ninja Blocks post about setting up a development environment.

Here's what I did for my Ninja Block

ssh to ninja block

$ sudo stop ninjablock
$ cd /opt
$ mv ninja ninja-original
$ git clone git://github.com/ninjablocks/client.git ninja
$ git checkout develop
$ ./bin/install.sh
$ sudo start ninjablock

If you'd rather not upgrade your ninjablock, you can check out this node script that polls the ninja cloud https://gist.github.com/don/7815374.

Installing

ssh to your ninja block

$ cd /opt/ninja/drivers
$ git clone https://github.com/don/ninja-thing.git

Restart the Ninja Block

$ sudo stop ninjablock
$ sudo start ninjablock

After the driver is installed, you should see the Ninja Block Temperature and Humidity Sensors in The Thing System.

alt text

alt text

(c) 2013 Don Coleman

License BSD