Wavecomm monitor (THOR)

ADAPTER:Endpoint=[NAME=WavecommMonitor,HOST=0.0.0.0,PORT=10112] STATE:BasdaServiceStateMachine=ONLINE

SVC.LOAD = [NAME= WavecommMonitor, LIB= BasdaTempoMonitorService]

SVC.DEVICES = [ WavecommMonitor]

SVC.CFG.UPFREQ:Time = 2 +UNIT=second

SVC.CFG.RECONNECTION_INTERVAL = 500 +UNIT=millisecond

SVC.DEV1.NAME="Wavecomm Temperature Monitor"

DEV1.LOAD=[NAME= WavecommMonitor, LIB= BasdaDeviceWavecommMonitor]

DEV1.CON:String="tcp://192.168.33.121:23"

DEV1.NAME= WavecommMonitor

DEV1 = "Drag and drop this node to get a GUI" +UI:String="$INSROOT/share/ui/WavecommMonitor8Channels.ui"

DEV1.GLOBAL_ALARM:String="UNKNOWN" +LINE_EDIT_COLOR_SCHEME= = "black on #83c326", "Warning alarm activated" = "white on orange", "Error alarm activated" = "white on red", "Unknown" = "black on #E9E5ED"

DEV1.CHANNEL1= 1

DEV1.CHANNEL1.SENSOR_DESCRIPTION:String="LGSWbox 1 SX"

DEV1.CHANNEL1.TEMPERATURE:Double=-999.99 +MAX:Double=70.0 +MIN:Double=-30.0 +ALARM:Double=35.0 +MIN_ALARM:Double=-10.0 +MIN_OPERATIONAL:Double=-15.0 +MAX_OPERATIONAL:Double=45.0

DEV1.CHANNEL1.HUMIDITY:Double=-999.99 +MAX:Double=70.0 +MIN:Double=-30.0 +ALARM:Double=35.0 +MIN_ALARM:Double=-10.0 +MIN_OPERATIONAL:Double=-15.0 +MAX_OPERATIONAL:Double=45.0

The lines in bold fonts are created and dynamically updated by the monitor service. Their attributes, like alarm thresholds, or Min-Max values can be overwritten in the configuration file.

Note that the property TEMPERATURE and HUMIDITY have an attribute called IS_VALID. This attribute tells the final user if the sensor value is valid or not. The idea here is to keep the last valid sensor value after a network/system outage.

Example: temperature sensor that can read from -30 to 70 C. The system will send:
  • A warning if temperature reaches the minimum or maximum alarm level
  • An error if temperature reaches the minimum or maximum operative level.
  • An error if the temperature is out of range [-30,70]C and attribute IS_VALID is set to false.
------|-------------------|--------------------|-----------|-----------|---------------|--------------------|---------
  MIN (SENSOR)      MIN_OPERATIVE          MIN_ALARM       0         ALARM       MAX_OPERATIVE         MAX (SENSOR)
     -30                -20                   -10                     35              50                    70                  
Topic revision: r2 - 07 Aug 2018, AndrewColson
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback