Configuring Temperature and Humidity Sensor

The Temperature and Humidity Sensor measures real-time ambient temperature, relative humidity and dew point. 
Alerts can be sent when pre-defined values are breached. The alerts are sent via the alert profiles.

How to connect

  1. Connect one end of the USB cable supplied to a USB port of the Temperature and Humidity Sensor.
  2. Connect the other end of the USB cable supplied to a USB port of the Varius Message Router.

How to add sensor

  1. From the web interface of Varius Message Router, access Sensors > Sensors Configuration.
  2. If the Temperature and Humidity Sensor does not exist in the sensors list, select Temperature and Humidity Sensor and click Add Sensor.
  3. There are three sensors with each monitoring of  temperature, humidity and dew point respectively. 
    Click on the Edit button beside the respective environmental condition to edit the sensor.

Basic Configuration

Our example shows the details of the temperature sensor. 

You can change the name of the sensor in the “Name” field.

To activate the Temperature and Humidity Sensor, check the “Active” checkbox.

You can also change the unit of display in the “Measures” field.

If you need to calibrate the sensor, check the “Calibrate” checkbox and key in the value to add or subtract from the sensor reading.

Setting Trip Conditions

Set trip conditions in the Trip Conditions section.

You can configure a sensor to trip when the following conditions occur:

  • Reading is lower than a preset reading for longer than a predefined period.
  • Reading is higher than a preset reading for longer than a predefined  period.

The “Lower than” checkbox activates the tripping condition when the reading falls below a preset reading:

  • Check the checkbox to activate this feature.
  • Key in the preset value.

The “Higher than” checkbox activates the tripping condition when the reading goes above a preset reading:

  • Check the checkbox to activate this feature.
  • Key in the preset value.

The “Sensor is tripped when the conditions occur longer than” field specifies the number of minutes that the reading must be below or above the preset value before it is considered tripped.

The “Sensor has recovered when the conditions do not occur longer than” field specifies the number of minutes that the reading must be in the normal range before it is considered recovered.

Example:

Temperature Sensor setting:

  • Low: 20 Degrees Celsius
  • High: 30 Degrees Celsius
  • Trip mins: 5
  • Recovery mins:5

Sensor will trip if 

  • the temperature goes below 20 Degrees Celsius (Low) for 5 minutes (trip mins).
  • the temperature goes above 30 Degrees Celsius (High) for 5 minutes (trip mins)
Sensor will recover if 
  • the temperature goes to between 20 Degrees Celsius and 30 Degrees Celsius for 5 minutes (recovery mins)

Alert Conditions

Set Alert Conditions in the Alert Conditions section.

The temperature and humidity sensor can be configured to send out alerts for the following conditions:

  • Sensor is tripped.
  • Repeat alert interval is reached when sensor remains tripped.
  • Sensor has recovered.

The fields in the “Alert conditions” section have the following functions:

  • “Send alert when sensor is tripped” checkbox: Send alert when sensor is tripped
  • “Repeat alert every X mins if sensor remains tripped” checkbox: Send repeat alerts at an interval of the specified number of minutes when sensor is tripped..
  • “Send alert when sensor has recovered” checkbox: Send alert when the sensor has recovered.

Alert Mechanisms

The “Alert mechanisms” section contains the configured alert profiles.

The fields in the “Alert mechanisms” section have the following functions:

  • Email section: Check the respective checkbox to send out the alerts using the email alert profile.
  • SNMP section: Check the respective checkbox to send out the alerts using the SNMP alert profile.

You can configure the alert profiles that appear in the Alert Mechanisms section.
The alert profile types are email and SNMP traps.
You can send out SMS alerts by creating an email alert profile that specifies VMR as the SMTP server to utilize the email to SMS functionality of VMR.
For more information, please refer to Configuring Sensor Alert Profiles.

Once configuration is completed, access the Sensors Control Panel to start and stop the Sensors service for the change to take effect.

Sensors Control Panel

From the menu, access Sensors > Sensors Control Panel to access the page.

This page shows the latest  status of the active sensors.

For any changes to sensors configuration, please click stop and start the Sensors service.

Viewing Sensor Logs

From the Sensors Control Panel, click on the View Logs link beside the sensor status.

Select the respective log from the “Report Type” field:

  • Normal Logs
  • Daily Summary

Logs can be exported in CSV format.

Normal Logs

Normal logs shows the readings of the sensor at each time interval.

Daily Summary

Daily summary provides the minimum, maximum and average measurements for better insights.

API – Temperature and Humidity Query

You can query the temperature and humidity readings using the HTTP GET method. The readings will be returned in XML format. The examples below assumes that the IP address of the device is 192.168.0.88.

a. Get current reading:
http://192.168.0.88/pages/EvTempHumLogQuery.aspx?mode=0

b. Get reading for time range
http://192.168.0.88/pages/EvTempHumLogQuery.aspx?mode=1&start=yyyyddmm HH:mm:ss&end=yyyyddmm HH:mm:ss

eg.
http://192.168.0.88/pages/EvTempHumLogQuery.aspx?mode=1&start=20190828 18:00:00&end=20190828 19:00:00