--- title: "Configure Sensor Settings on Nodegrid Device" slug: "configure-sensor-settings-on-nodegrid-device" updated: 2024-05-03T11:57:54Z published: 2024-05-03T11:57:54Z canonical: "docs.zpesystems.com/configure-sensor-settings-on-nodegrid-device" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.zpesystems.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure Sensor Settings on Nodegrid Device To perform these procedures, log into the Nodegrid Device. ## Access sub-tab 1. Go to *Managed Devices :: Devices :: AirFlowTemperature :: Access*.![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1679506691856.png) 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*.![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1679506740572.png) 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):![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1679510402675.png) 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*. ![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1679510422500.png) 2. To create a custom field, click **Add** (display’s dialog). ![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1679510429166.png) 1. Enter **Field Name**. 2. Enter **Field Value**. 3. Click **Save**. ## Commands sub-tab 1. Go to *Managed Devices :: Devices :: AirFlowTemperature :: Commands*. ![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1679510438283.png) 2. To create a custom command, click **Add**. 3. In **Command** drop-down select one (Web, Custom Commands). 1. Select **Web** (displays dialog). ![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1679510474612.png)Select **Enabled** checkbox. Enter **WEB URL**. 2. Select **Custom Commands** (displays dialog). ![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1679510494437.png)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*. ![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1679510712543.png) 2. Click on **AirFlowTemperature_cn0** channel (displays dialog). ![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1679510734443.png) 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 (displa**ys dialog).![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/image-1679510752701.png)** 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, *AirFlowTemperature*. When 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. ```none [admin@nodegrid /]# cd /settings/devices [admin@nodegrid devices]# rename AirFlowTemperature [admin@nodegrid {devices}]# set new_name=usbS0-1 [admin@nodegrid {devices}]# commit ```