Configure Sensor Settings on Nodegrid Device
  • 03 May 2024
  • 2 Minutes to read
  • Dark
    Light
  • PDF

Configure Sensor Settings on Nodegrid Device

  • Dark
    Light
  • PDF

Article summary

To perform these procedures, log into the Nodegrid Device.

Access sub-tab

  1. Go to Managed Devices :: Devices :: AirFlowTemperature :: Access.
  2. As needed (many of these are optional):
    1. Select usb_sensor from the drop-down list for the sensor type.
    2. Enter Description.
    3. Enter Address Location.
    4. Enter Coordinates (Lat,Lon). 
    5. Select Automatically map connected devices to Virtual Machine checkbox. On the expanded dialog, enter Virtual Machine Name.
    6. Click Icon (on pop-up, select the preferred icon).
    7. On Mode drop-down, select one (Enabled, On-demand, Disabled, Discovered).
    8. Select Show Text Information checkbox.
  3. Click Save.

Management sub-tab

  1. Go to Managed Devices :: Devices :: AirFlowTemperature :: Management.
  2. In the Monitoring menu:
    1. Select USB Sensor checkbox (expands dialog).
    2. On Template drop-down, accept default: usb_sensor.
    3. Enter Interval (s) (default: 120)
  3. In Channel Configuration menu: (assign values as preferred)
  4. In Air Velocity menu:
    1. In Air Velocity Channel Unit drop-down, select m/s.
    2. In Air Velocity High Critical Threshold, enter value.
    3. In Air Velocity High Warning Threshold, enter value.
    4. In Air Velocity Low Warning Threshold, enter value.
    5. In Air Velocity Low Critical Threshold, enter value.
  5. In Air Temperature menu:
    1. In Air Temperature Channel Unit drop-down, select one (Celsius, Fahrenheit, Kelvin).
    2. In Air Temperature High Critical Threshold, enter value.
    3. In Air Temperature High Warning Threshold, enter value.
    4. In Air Temperature Low Warning Threshold, enter value.
    5. In Air Temperature Low Critical Threshold, enter value.
  6. In the Scripts menu: (if scripts are available):
    1. On Run on Session Start drop-down, select a script.
    2. On Run on Session Stop drop-down, select a script.
    3. On Run on Device UP drop-down, select a script.
    4. On Run on Device Down drop-down, select a script.
  7. Click Save.

Custom Fields sub-tab

  1. Go to Managed Devices :: Devices :: AirFlowTemperature :: Custom Fields
  2. To create a custom field, click Add (display’s dialog). 
    1. Enter Field Name.
    2. Enter Field Value.
  3. Click Save.

Commands sub-tab

  1. Go to Managed Devices :: Devices :: AirFlowTemperature :: Commands
  2. To create a custom command, click Add.
  3. In Command drop-down select one (Web, Custom Commands).
    1. Select Web (displays dialog). Select Enabled checkbox.
      Enter WEB URL.
    2. Select Custom Commands (displays dialog). Select Enabled checkbox.
      In Script drop-down, select one. Select Enabled checkbox. Enter Command Label.
  4. (Repeat as needed)
  5. Click Save.

Sensor Channels sub-tab

The table displays configured sensor channels.

  1. Go to Managed Devices :: Devices :: AirFlowTemperature :: Sensor Channels
  2. Click on AirFlowTemperature_cn0 channel (displays dialog). 
    1. Edit Name (as needed).
    2. On Mode drop-down, accept default: analog input.
    3. On Unit drop-down, accept default: m/s.
  3. Click on AirFlowTemperature_cn1 channel (displays dialog).
    1. Edit Name (as needed).
    2. On Mode drop-down, accept default: analog input.
    3. On Unit drop-down, accept default: m/s.
  4. On Unit drop-down, select one (Celsius, Fahrenheit, Kelvin).
  5. Click Save.

Air Flow and Temperature USB Sensor Port Behavior

The Air Flow and Temperature USB sensor (with chipset FTDI) does not get automatically detected when connected to the USB port. You need to set up the USB port in the Managed Devices page as a usb_sensor type before connecting the sensor. Once this initial setup is done, the sensor will then be detected as a usb_sensor. If the sensor has the default name usbSX-Y, it gets changed to the configured sensor name, for example, AirFlowTemperatureWhen you disconnect the sensor device, the port will be deactivated and the USB sensor device name gets reverted to default usbSX-Y from AirFlowTemperature. However, the device port type will still be recognized as usb_sensor. If you want to use the port as a usb_serial, configure it to its default setting.

CLI Command Example

Configuration command to update the USB device name.

[admin@nodegrid /]# cd /settings/devices 
[admin@nodegrid devices]# rename AirFlowTemperature
[admin@nodegrid {devices}]# set new_name=usbS0-1
[admin@nodegrid {devices}]# commit





Was this article helpful?

ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence