Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

Latest commit

 

History

History
45 lines (32 loc) · 1.47 KB

File metadata and controls

45 lines (32 loc) · 1.47 KB

Caution

🚨 This repository has been archived and is read-only. 🚨

This project is no longer maintained. No issues, pull requests, or updates will be accepted.

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