Go to file
Michael Thomas 507d4232f0 Make streaming work & much more elegant 2022-04-17 10:12:50 -04:00
app Make streaming work & much more elegant 2022-04-17 10:12:50 -04:00
pub Make streaming work & much more elegant 2022-04-17 10:12:50 -04:00
.gitignore Make streaming work & much more elegant 2022-04-17 10:12:50 -04:00
README.md Update README.md 2019-01-22 11:58:14 -05:00
package.json Make streaming work & much more elegant 2022-04-17 10:12:50 -04:00
server.js Make streaming work & much more elegant 2022-04-17 10:12:50 -04:00
yarn.lock Make streaming work & much more elegant 2022-04-17 10:12:50 -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 install
    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