cc-mek-scada/coordinator/config.lua

42 lines
1.3 KiB
Lua
Raw Normal View History

local config = {}
2023-06-06 23:41:09 +00:00
-- supervisor comms channel
config.SVR_CHANNEL = 16240
-- coordinator comms channel
config.CRD_CHANNEL = 16243
-- pocket comms channel
config.PKT_CHANNEL = 16244
-- max trusted modem message distance (0 to disable check)
config.TRUSTED_RANGE = 0
2023-02-13 17:29:59 +00:00
-- time in seconds (>= 2) before assuming a remote device is no longer active
config.SV_TIMEOUT = 5
config.API_TIMEOUT = 5
2023-06-25 18:00:18 +00:00
-- facility authentication key (do NOT use one of your passwords)
-- this enables verifying that messages are authentic
-- all devices on the same network must use the same key
-- config.AUTH_KEY = "SCADAfacility123"
2022-07-06 03:48:01 +00:00
-- expected number of reactor units, used only to require that number of unit monitors
config.NUM_UNITS = 4
2022-12-04 19:29:39 +00:00
-- alarm sounder volume (0.0 to 3.0, 1.0 being standard max volume, this is the option given to to speaker.play())
-- note: alarm sine waves are at half saturation, so that multiple will be required to reach full scale
config.SOUNDER_VOLUME = 1.0
-- true for 24 hour time on main view screen
config.TIME_24_HOUR = true
-- disable flow view (for legacy layouts)
config.DISABLE_FLOW_VIEW = false
-- log path
config.LOG_PATH = "/log.txt"
-- log mode
-- 0 = APPEND (adds to existing file on start)
-- 1 = NEW (replaces existing file on start)
config.LOG_MODE = 0
2023-05-10 20:57:23 +00:00
-- true to log verbose debug messages
2023-08-22 01:37:56 +00:00
config.LOG_DEBUG = false
return config