No description, website, or topics provided.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
app.js
index.html
package.json

README.md

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
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'
    }