For bridging Xandem motion sensors with other smart home controls.
This is a system that is designed to work with Xandem motion sensors (http://xandem.com/) and a smarthome brige that is programmable (such as SmartThings for example).
Xandem bridge will keep up to date with motion provide by Xandem motion sensors and notify your smarthome brige only when room occupancy changes are detected.
Multiple devices can subscribe to Xandem Bridge to receive these notifications
Getting Started
Do an npm install and then bower install from the client direcotry
npm install && cd client/ && bower install && cd ../
Running the system
node index.js
/api/register
You will then receive updates at that address on that port whenever there are changes in room occupancy.
{"ip": "192.168.1.2","port": "80"}
To help with debugging there is a UI you can use to view the motion that Xandem Bridge is picking up from the Xandem API.
You can go to http://localhost:3000/ or whichever IP address you are running Xandem Bridge from.
Additionally you can request a list of rooms from /api/rooms