Go to file
PTZOptics 4318d8fb0b
updated nodemon dependencies
Nodemon Fixes #1463, #1469, and #1464
2018-11-27 07:49:52 -05:00
app init 2018-11-02 15:24:39 -04:00
pub init 2018-11-02 15:24:39 -04:00
README.md init 2018-11-02 15:24:39 -04:00
package.json init 2018-11-02 15:24:39 -04:00
server.js init 2018-11-02 15:24:39 -04:00

README.md

PTZOptics Node Server

The PTZOptics Node Server is a simple skeleton Express server to control your PTZOptics camera via visca commands.

Prerequisites

You need to have at least Node.js version: 8.12.0, MongoDB version: 4.0.3, and a PTZOptics camera.

Installing

  1. Configure your PTZOptics camera to your local network. PTZOptics Knowledge Base
  2. Clone this repo and then extract to your preferred location
  3. Update the mongoDB connection information inside /app/config.json.
{  
    connectionString: "mongodb://your-mongo-address/db-name",  
    secret: "your db-secret"  
}
  1. Start the server

    cd /The/path/to/the/repo
    npm start

  2. Head to http://localhost:4000

  3. Click 'Add Camera' and enter your camera's information.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Authors

PTZOptics