node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

zetta-pir-bonescript-driver

Monitor a PIR Sensor using Zetta and bonescript!

Install

$> npm install zetta-pir-bonescript-driver

Usage

var zetta = require('zetta');
var PIR = require('zetta-pir-bonescript-driver');
 
zetta()
  .use(PIR, 'P9_12')
  .listen(1337)

Hardware

Hookup Diagram