Supervisor Application Configuration

Application config Yaml file

Very important! YAML requires a specific indentation and spacing to work. YAML uses spaces. Do not use tabs! The suggested syntax for YAML files is to use 2 spaces for indentation.

# StSupervisor config 
server:
  httpPort: 8065

mqtt:
  brokerHost: tcp://localhost
  port: 1883
  wsPort: 9001
  username:
  password:

influxdb:
  host: 37.179.214.216
  port: 8086
  username: 
  password: 
  database: telegraf

# Stream monitor config 
streamMonitor:
  httpStartPort: 4000
  wsVideoStreamStartPort: 9010
  bitrateReportingPeriod: 1000
  metadataSampling: 1000
  timeout: 1000

license:
  file: StSupervisor.lic
  key: 8FECE0E3-82B969CB-141B7393-8F6154CE

Server section

General configuration. - httpPort - HTTP server port. Default 8065. Port to access the application.

MQTT section

External or internal Mqtt broker configuration. - brokerHost. Mqtt broker host url. If not provided, an internal mqtt server will be launched

StreamMonitor section

Channel configuration. Take into account that the arguments with StartPort will be incremented for each additional channel (sensor stream).

License section

License file and key. If not provided (or not valid), the StSupervisor will operate in demo mode - the session will expire after about 15 min.

Please note, you may need to open the ports on your server, in order to allow the access.