###Watcher for Eagle Eye Networks Poll Stream###
This is a Node.js client that follows the Eagle Eye Networks API. It listens for new preview images and then sends them to the client through Socket.io. This is a great place to start if you want to strip the auth requirement for the images and make them available to less capable clients (phones, tvs, pictures frames, etc) It is also a good place to see a simplified version of subscribing to events.
###Lifecycle of the app### The following steps need to be performed in order, but any call can be made once user is logged-in.
- Login (step 1)
- Login (step 2)
- Current user's information is returned by Login (step 2)
- Get device list
- Subscribe to poll stream
- Get subsequent events from poll stream
###Installation###
- install Node.js
- run
npm install
- run
npm start
- go to http://localhost:3000
###Extras### Checkout out the facedetection branch if you want to try something different with the previews. It will show the image in grayscale if it doesn't detect a face. Not really useful, but interesting example of using node-opencv
###Configure###
Edit config.js
and replace 'your_username' and 'your_password' with your username and password.
module.exports = {
'username' : 'your_username',
'password' : 'your_password'
}