Skip to main content

Relay Controller Application Settings Guide

The McTech Relay Controller software is primarily used to monitor running deployments of MyChild6/StaffWatch6/AssetWatch6/WanderWatch6 for specific alarms that the user can select, once an alarm has been detected the Relay Controller software can then activate specific relays based on user needs.

After installing the Relay Controller software, you can use this guide to update the appsettings.json file with the correct information to communicate with your install of the MC6/SW6/AW6/WW6 software

RelayDeviceRepositoryStorage

This setting controls where the RelayDevice configurations are stored, this setting should not be changed.

RelayRepositoryStorage

This setting controls where the Relay Configurations are stored, this setting should not be changed.

SeqServer Settings

  • URL:
    • The SeqServer block allows you to configure a Seq server for the Relay Controller to transmit logs to, if you are unsure how to set this value, leave it as the default of `http://localhost:5341/`
  • ApiKey: 
    • This is the API key that will be used to communicate with the Seq Server, if your Seq Server does not need an API key, you can leave this as a blank string

Cache Settings

  • CacheConnStr:
    • This is the URL for your Redis server or Redis Cluster, if you are not using a Redis server or Cluster, leave this value as it's default (Default: Blank string
  • InstanceName:
    • This is just a unique instance name for your redis server, your Redis administrator should provide this, if not leave this as it's default value of [MC6]-

EventBus Settings

The EventBus settings should be same settings used when deploying the MC6/SW6/AW6/WW6 software, the only changes you should really make are

  • SubscriptionClientName:
    • Set this to something unique to help you identify it later, or leave it as the default "MC6_RelayController"

Logging Settings

The logging settings should be left at thier default values. If you need more debugging information you can set the System and Microsoft values to "Debug", but be warned, this will produce A LOT of output.