Skip to content

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.

temperature and humidity sensor

1. Setup

  1. Connect the sensor to any available USB port of Varius Message Router.
  2. From main menu, access Sensors > Sensors Configuration.
  3. Add sensor
    1. Select “Temperature and Humidity Sensor” from the dropdown list.
    2. Click “Add Sensor”. 
  4. View sensor
    After adding the Temperature Sensor, three sensors monitoring each environmental condition – temperature, humidity and dew point appear in the table of sensors.
  5. Edit sensor
    1. Click the “edit” icon beside the sensor name to edit.
add temperature and humidity sensor
Add temperature and humidity sensor
temperature and humidity summary
Temperature, humidity and dew point sensors

2. Edit sensor details

  1. Configure sensor details.
  2. Click Update to save the information.
  3. Restart the VMR service for any changes done.
  •  

Sensor details:

  • Sensor Name: Name of the sensor.
  • Active: Varius Message Router monitors active sensors only.
  • Measures: The environmental condition to monitor.
  • Calibrate: Enable this option and key in the value to add or subtract from the sensor reading.
  • Trip conditions
    A sensor is tripped if reading exceeds a lower and upper limit for a period of time. A sensor has recovered when its reading is within a lower and upper limit for a period of time.
    • Sensor is tripped when the conditions occur longer than: The duration in minutes that causes the sensor to trip.
    • Lower than: Enable this option if you want to send alert when sensor reading falls below this lower limit.
    • Higher than: Enable this option if you want to send alert when sensor reading exceeds this upper limit.
    • Sensor has recovered when the conditions do not occur longer than: The recovery duration in minutes.
  • Example:
    • Temperature sensor settings:
      • Sensor is tripped when the conditions occur longer than: 10 minutes
      • Lower than: 20°C
      • Higher than: 30°C
      • Sensor has recovered when the conditions do not occur longer than: 10 minutes
    • Outcome:
      • Sensor trips when:
        Temperature falls below 20°C for 10 minutes or temperature rises above 30°C for 10 minutes.
      • Sensor recovers when:
        Temperature goes between 20°C and 30°C for 10 minutes.
  • Alert conditions
    Specify when to send alert.
    • Send alert when sensor is tripped: Enable this option to send alert when sensor is tripped.
    • Repeat alert every X mins if sensor remains tripped: Enable this option and specify the alert interval to send alerts at a regular interval.
    • Send alert when sensor has recovered: Enable this option to end alert when sensor has recovered.
    • Send alert when sensor is disconnected: Enable this option to detect sensor disconnection.
  • Alert mechanisms
    • Send email alerts using the alert profiles: This section shows the list of email alert profiles available. Check the profile checkbox to send alerts using the profile.
      For more information, please refer to Email Alert Profiles.
    • Send SNMP Traps using the alert profiles: This section shows the list of SNMP Trap alert profiles available. Check the profile checkbox to send alerts using the profile.

3. View sensor logs

  1. From main menu, access Sensors > Sensors Control Panel to view the current values of the temperature, humidity and dew point sensor.
  2. Click the View Logs icon beside a sensor to access the Sensor Logs page.
  3. From the Sensor Logs page, select the option from the “Report Type” dropdown list.
    • Normal: Shows the readings of the sensor at each time interval.
    • Daily summary: Provides the minimum, maximum and average measurements for better insights.
  4. Delete logs
    Select the rows to delete and click Delete.
  5. Delete all logs
    Click “Delete All” to delete all logs.
  6. Export
    Click “Export Current” to export the logs in CSV format.
Temperature and humidity sensor real-time logs
Temperature and humidity sensor real-time logs
Temperature and humidity sensor daily summary
Temperature and humidity sensor daily summary

4. API - Temperature and humidity query

Applications can query the temperature and humidity readings using the HTTP GET method. You can retrieve the current reading or reading for a specific time range. The result is returned in XML format.

One popular application used to query the temperature and humidity readings is curl. Curl is a command-line tool and library for transferring data with URLs. It supports various protocols, including HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, LDAP, and more.

Query formats:
Assuming Varius Message Router’s IP address is 192.168.0.88.

  1. Get current reading: http://192.168.0.88/pages/EvTempHumLogQuery.aspx?mode=0
  2. 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
    Example:
    http://192.168.0.88/pages/EvTempHumLogQuery.aspx?mode=1&start=20240828 18:00:00&end=20240828 19:00:00
temperature and humidity query
Query result