alarmui/group/alarmui_activate.rul
branchRCL_3
changeset 78 356f28cd5ca0
parent 27 55d60436f00b
equal deleted inserted replaced
74:97232defd20e 78:356f28cd5ca0
    20         </actions>
    20         </actions>
    21     </if>
    21     </if>
    22     
    22     
    23     <!-- Enable sensor services -->
    23     <!-- Enable sensor services -->
    24     <elseIf>
    24     <elseIf>
    25 		<!-- Alarm is active -->
    25 		 <!-- Alarm is active -->
    26 		<not>
    26         <or>
    27             <contextUpdated>
    27             <contextUpdated>
    28                 <contextRef source='AlarmUI' type='State' value='Inactive'/>
    28                 <contextRef source='AlarmUI' type='State' value='Clock'/>
    29             </contextUpdated>
    29             </contextUpdated>
    30 		</not>
    30             <contextUpdated>
       
    31                 <contextRef source='AlarmUI' type='State' value='Calendar'/>
       
    32             </contextUpdated>
       
    33             <contextUpdated>
       
    34                 <contextRef source='AlarmUI' type='State' value='Unknown'/>
       
    35             </contextUpdated>
       
    36         
       
    37         </or>
       
    38 
    31 	    <actions>
    39 	    <actions>
    32 	            <!-- Activate orientation channel (0x01) from sensor source (0x10282DF0) -->
    40 	            <!-- Activate orientation channel (0x01) from sensor source (0x10282DF0) -->
    33 	            <sourceCommand uid='0x10282DF0'>
    41 	            <sourceCommand uid='0x10282DF0'>
    34 	                <sensorCommand channelId='0x01' id='activate'/>
    42 	                <sensorCommand channelId='0x01' id='activate'/>
    35 	            </sourceCommand>
    43 	            </sourceCommand>