/node-hub

A nodejs hub for something like a raspberry pi to relay events securely from devices not capable of the encryption required

Primary LanguageShellMIT LicenseMIT

Node Hub

A simple nodejs server for IoT devices, like the Raspberry Pi, to intercept non-HTTPS event data from a local network and relay them to initialstate.com over HTTPS.

Purpose of project

To provide a means for low-powered networked devices to communicate event data to Initial State without having the overhead of TLS on the local network while still using TLS from the hub over the Internet to initialstate.com

Getting started

This is a nodejs express application that can be run inside a resin.io container. To setup the application on a Raspberry Pi with resin.io, follow instructions here: http://docs.resin.io/#/pages/installing/gettingStarted.md

To associate the hub with an Initial State account, set an environmental variable named IS_API_ACCESS_KEY to an account access key.

To make working with resin.io easier, we recommend that the repo be forked before doing work.