1.9 KiB
1.9 KiB
NTSH-Control
A Node.js control system for Nothing to See Here installation.
Overview
NTSH-Control provides centralized control and monitoring of:
- Camera Runner process via WebSocket communication
- Unity application monitoring and lifecycle management
- Real-time system status and calibration through a web dashboard
Features
- Web Dashboard: Monitor system status and control components through a browser interface
- Camera Management: Real-time connection monitoring and process control
- Unity Integration: Automatic startup and WebSocket communication with Unity applications
- Calibration Tools: Live image streaming and calibration interface
- Process Monitoring: Track uptime, connection status, and system health
Installation & Setup
-
Install dependencies:
npm install -
Start the application:
npm start -
Access the web dashboard at
http://localhost:6300
Configuration
Configuration is stored in ~/MorphixProductions/NTSHControl/config.json. Default settings include:
- Web server port:
6300 - Unity WebSocket:
127.0.0.1:3000 - Camera Runner WebSocket:
127.0.0.1:6301 - Unity startup delay:
5000ms
Usage
The system automatically starts the web server and attempts to connect to the configured Camera Runner. The Unity applications is launched after the configured startup delay has exceeded and the Camera Runner and process are ready. The dashboard provides real-time monitoring and control capabilities for all connected systems.
Project Structure
src/- TypeScript source codefrontend/views/dashboard/- Web interfacedist/- Compiled JavaScript output