19 WCC Lite internal signals
Overview
The WCC Lite contains several internal data points for readout and control which can be accessed via the Pooler service.
Configuration
Devices section
In the devices section, only the protocol, scan_rate_ms and poll_delay_ms are to be configured for this type of device.
WCC Lite internal signals
Parameter | Type | Description | Required |
Default Value (when not specified) |
Range |
name |
string |
User-friendly device name | Yes | ||
device_alias | string | Alphanumeric string to identify a device | Yes | ||
protocol | Protocol identifier Internal data | Yes | Internal data | ||
scan_rate_ms | integer | Update rate | No | 60000 | |
poll_delay_ms | integer | Poll delay | No | 200 |
It is advised to set scan_rate_ms to a value greater than 5000 ms as frequent scans may result in a significant overload of the internal data process.
The signals section
tag_job
defines the tag job. This can be set to gpio
, board
, netstat
, gsm
, led
and process
. tag_job_todo
defines the job sub job. This field should address the particular point of interest. There is also an extra trigger parameter which is optional. It allows changing when the signal switches between on and off and is only applicable on LED and GPIO parameters that can be set. The default trigger is value>0. When a trigger column is added the trigger can be changed by entering i.e. "value>10". This is useful when mapping a source signal to for example trigger a relay. An example of how to use a trigger is in the example configuration which is attached to this page. Excel Configuration Example
Digital-input GPIO will only work with Hardware versions 1.4 and above.
Certain GSM parameters will only work if a sim card is inserted.
job_todo | Description | tag_job_todo | Description |
gpio |
ReadOnly parameters | digital-input | If the value is 1 then the digital input pin is high. If it's 0 then the digital-input value is low. |
rs232-enable |
If the value is 1 then rs232 is enabled. If the value is 0 then rs485 is enabled. | ||
Parameters that can be set. |
sim-select |
Switch between sim1 and sim2. If the value is 0 then sim1 is selected. If the value is 1 then sim2 is selected. | |
modem-reset |
Making this value equal to 1 will reset the modem. | ||
relay |
Making this value equal to 1 will activate the relay. | ||
board |
Board info |
cpu-usage |
CPU usage % |
ram-usage |
RAM usage % | ||
mac-address |
Device MAC address | ||
uptime |
Device uptime in seconds | ||
fw-version |
Firmware version | ||
hw-version |
Hardware version | ||
modem-imei |
Modem IMEI number | ||
modem-type |
Modem type: 0 - unknown 1 - single sim 2 - dual sim |
||
netstat|[interface] | Network statistics |
TX |
Bytes transferred |
RX | Bytes received | ||
led |
LED status/control |
blue-heartbeat |
Heartbeat LED |
blue-wlan |
WLAN LED | ||
green-eth0 | ETH0 LED | ||
green-eth1 | ETH1 LED | ||
green-signal1 |
Signal 1 LED | ||
green-signal2 |
Signal 2 LED | ||
green-signal3 |
Signal 3 LED | ||
red-fault | Fault LED | ||
process | Check if the process is running | [process name] | 1 or 0 is returned |
gsm |
GSM information |
rat-number |
GSM RAT number |
imsi-number |
GSM IMSI number | ||
internet-status |
GSM Internet status | ||
operator-number |
GSM operator number | ||
roaming-status |
GSM roaming status | ||
signal-quality |
GSM signal quality | ||
sim-status |
SIM card status | ||
date |
Current set time values. |
year |
The current year set on the device |
month |
The current month set on the device |
||
day |
The current day set on the device |
||
hour |
The current hour set on the device |
||
minute |
The current minute set on the device |
||
second |
The current second set on the device |