environmental-sensor

Profile Config Commands

Configures the environmental sensor settings

An AP8132 sensor module is a USB environmental sensor extension to an AP8132 model access point. It provides a variety of sensing mechanisms, allowing the monitoring and reporting of the AP8132's radio coverage area.

Supported in the following platforms:

  • Access Points — AP8132

Syntax

environmental-sensor [humidity|light|motion|polling-interval|temperature]
environmental-sensor [humidity|motion|polling-interval <1-100>|temperature]
environmental-sensor light {holdtime|radio-shutdown|threshold}
environmental-sensor light {holdtime <10-201>|radio-shutdown [all|radio-1|radio-2]}
environmental-sensor light {threshold [high <100-10000>|low <0-1000>]}

Parameters

environmental-sensor [humidity|motion|polling-interval <1-100>|temperature]
environmental-sensor Configures environmental sensor settings on this profile
humidity Enables (turns on) humidity sensors. This setting is enabled by default.
motion Enables (turns on) motion sensors.This setting is enabled by default.
polling-interval <1-100> Configures polling interval, in seconds, on all sensors. This is the interval after which the sensor module polls its environment to assess the various parameters, such as light intensity.
  • <1-100> – Specify a value from 1 - 100 seconds. The default is 5 seconds.
temperature Enables (turns on) temperature sensors. This setting is enabled by default.
environmental-sensor light {holdtime <10-201>|radio-shutdown [all|radio-1| radio-2]}
environmental-sensor Configures environmental sensor settings on this profile
light Enables (turns on) light sensors and specifies its settings

When enabled, the sensor module polls the environment to determine the light intensity. Based on the reading, the system determines whether the AP8132‘s deployment location has lights on or off. Light intensity also helps determine whether the access point‘s deployment location is currently populated with clients.

holdtime <10-201> Optional. Configures a holdtime, in seconds, for the light sensor
  • <10-201> – Specify a value from 10 - 201 seconds. The default value is 11 seconds.
radio-shutdown [all|radio1|radio2] Optional. Shuts down the sensor‘s radios
  • all – Shuts down all radios. This is the default setting.
  • radio1 – Shuts down radio 1
  • radio2 – Shuts down radio 2

AP8132‘s using this profile have their radios shut down, when the radio‘s power falls below the specified threshold. Use the environmental-sensor > light > threshold > [high|low] command to set the threshold values.

environmental-sensor light {threshold [high <100-10000>|low <0-1000>]}
environmental-sensor Configures environmental sensor settings on this profile
light Enables (turns on) light sensors and specifies its settings
threshold Optional. Configures the upper and lower thresholds for the amount of light in the environment
high <100-10000> Specifies the upper threshold from 100 - 10000 lux. This value determines whether lighting is on in the AP8132‘s deployment location. The radios are turned off if the average reading value is lower than the value set here. The default is 400 lux.

The light sensor triggers an event if the amount of light exceeds the specified value.

low <0-1000> Specifies the lower threshold from 0 - 1000 lux. This value determines whether lighting is off in the AP8132‘s deployment location. The radios are turned on when the average value is higher than the value set here. The default is 200 lux.

The light sensor triggers an event if the amount of light drops below the specified value.

Example

rfs4000-229D58(config-profile-testRFS4000)#environmental-sensor humidity
rfs4000-229D58(config-profile-testRFS4000)#environmental-sensor polling-interval 60
rfs4000-229D58(config-profile-testRFS4000)#environmental-sensor light radio-shutdown all
rfs4000-229D58(config-profile-testRFS4000)#environmental-sensor light threshold high 300
rfs4000-229D58(config-profile-testRFS4000)#environmental-sensor light threshold low 100

rfs4000-229D58(config-profile-testRFS4000)#show context
profile rfs4000 testRFS4000
 bridge vlan 1
  tunnel-over-level2
  ip igmp snooping
  ip igmp snooping querier
 environmental-sensor polling-interval 60
 environmental-sensor light threshold high 300
 environmental-sensor light threshold low 100
 environmental-sensor light radio-shutdown all
 no autoinstall configuration
 no autoinstall firmware
 device-upgrade persist-images
--More--
rfs4000-229D58(config-profile-testRFS4000)#

Related Commands

no Removes the environmental sensor‘s settings