Click or drag to resize

IGlsCenOcc Methods

The IGlsCenOcc type exposes the following members.

Methods
 NameDescription
Public methodAndWhenVacated Method to trigger both passive infrared (PIR) OR ultrasonic (US) motion sensors to detect motion to declare initial occupancy, if the room is vacant.
Public methodDisableLedFlash Method to disable the red and green feedback LEDs from blinking when motion is detected.
Public methodDisablePassiveInfraredSensor Method to disable the passive infrared (PIR) Sensor.
Public methodDisableShortTimeout Method to disable the short timeout functionality. See EnableShortTimeout method for description.
Public methodDisableUltrasonicSensorSideA Method to disable the ultrasonic (US) Sensor side A. This does NOT enable side B.
Public methodDisableUltrasonicSensorSideB Method to disable the ultrasonic (US) Sensor side B. This does not enable side A.
Public methodEnableLedFlash Method to enable the red and green feedback LEDs. The red LED turns on as the passive infrared (PIR) sensor detects motion, and the green LED turns on as the ultrasonic (US) sensor detects motion.
Public methodEnablePassiveInfraredSensor Method to enable the passive infrared (PIR) Sensor.
Public methodEnableRawStates Method to enable "RawOccupancyDetectedFeedback", RawOccupancyDetectedByPassiveInfraredSensorFeedback and RawOccupancyDetectedByUltrasonicSensorFeedback properties.
Public methodEnableShortTimeout Method to enable a “walk-through” mode for a shorter timeouts upon periods of minimal occupancy. If the room is occupied for less than 90s, the timeout will revert to 60s. If the normally programmed timeout is set less than 60s, that timeout will take precedence. This is useful for rooms with normally a long timeout setting, so if the room is only entered for a short period of time, and occupancy is triggered, the lights do not remain on for a longer period than needed. Short timeout does not apply if occupancy event was a ""Grace occupancy"" (previous vacancy time is greater than 15 seconds).
Public methodEnableUltrasonicSensorSideA Method to enable the ultrasonic (US) Sensor side A. Does NOT disable side B. Side A is the side where the majority of the red LED is shown through the dome.
Public methodEnableUltrasonicSensorSideB Method to enable the ultrasonic (US) Sensor side B. This does NOT disable side A. Side B is the side where the majority of the green LED is shown through the dome and is also identified on the back-housing plastic rim.
Public methodForceOccupied Method to force the device to report that the room is occupied even if the passive infrared (PIR) sensor does not detect motion. VacancyDetectedFeedback sets to false and "OccupancyDetectedFeedback" sets to true. RawOccupancyDetectedFeedback is set to true when ForceOccupied is called. The sensor will then be in the occupied state for the duration of the set timeout.
Public methodForceVacant Method to force the device to report that the room is vacant even if the passive infrared (PIR) sensor does not detect vacancy. "OccupancyDetectedFeedback" sets to false and VacancyDetectedFeedback sets to true. Upon forcing vacancy, there is a 5 second delay before the sensor begins re-sensing for motion.
Public methodOrWhenVacated Method to trigger either passive infrared (PIR) OR ultrasonic (US) motion sensors to declare initial occupancy and set the sensor to the occupied state, if the room is vacant.
Top
See Also