7. LW3 Programmers’ Reference
UCX series – User's Manual
131
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
8.18.3. Querying the Reported OCS State
Command and Response
ç
GET·/V1/MEDIA/OCS/P1.State
æ
pr·/V1/MEDIA/OCS/P1.State=
<status>
Parameters
Parameter
Parameter description
Value
Value description
<status>
It reports the occupancy
state of the room depending
on the sensor type.
Free
When the SensorType=Active high and the
Inputlevel=Low or
when SensorType=Active low and Inputlevel=High
Occupied
When the SensorType=Active high and the
Inputlevel=High or
when SensorType=Active low and Inputlevel=Low
Example
ç
GET /V1/MEDIA/OCS/P1.State
æ
pr /V1/MEDIA/OCS/P1.State=Free