Changeset 15


Ignore:
Timestamp:
2012-04-21 11:24:57 (14 years ago)
Author:
evanes
Message:

act on command used set target on all devices, added filter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • I_RFXCOM.xml

    r14 r15  
    13841384             
    13851385                -- Execution door sensors same as motion sensors 
    1386                 if bitw.band(lnSensorType,RFXConstants.sensorTypeDoor) ~= 0 or bitw.band(lnSensorType,RFXConstants.sensorTypeMotion) ~= 0 then 
     1386                if bitw.band(lnSensorType,RFXConstants.sensorTypeDoor) ~= 0 or bitw.band(lnSensorType,RFXConstants.sensorTypeMotion) ~= 0  
     1387                  and v.id == lsId then 
    13871388                    local TrippedValue = "0" 
    13881389                    if lsCmd == RFXConstants.cmdAlert then TrippedValue = "1" end 
     
    14351436                -- Execution light switches.  
    14361437                -- Set Status based on cmdOn or cmdOff 
    1437                 if bitw.band(lnSensorType,RFXConstants.sensorTypeControler) ~= 0 then 
     1438                if bitw.band(lnSensorType,RFXConstants.sensorTypeControler) ~= 0  
     1439                   and v.id == lsID then 
    14381440                    local newTargetValue = "0" 
    14391441                     
Note: See TracChangeset for help on using the changeset viewer.