HaVi  
                
               
                 
              
                  
                    22 November 2021 10:04
                   
                   
              1 
               
             
            
              I use the Hue Magic node and it works fine. Now I want to perform an action on a Hue lamp but only if that lamp is turned OFF. For that I suspect that I have to request the status of that lamp and then do or not perform an action.
Am I correct? Does anyone know how to do that?
             
            
               
               
               
            
            
           
          
            
            
              Put this node downstream of your hue light node (the blue node).  And feed in a message into the Hue node.
[{"id":"abedba80.68ce98","type":"switch","z":"e12eb721.e01ba8","name":"Light","property":"payload.on","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":430,"y":740,"wires":[["203f2e26.f397d2"],["f33350f1.cfd01","9494a6e5.6e54b8"]]}]
 
             
            
               
               
               
            
            
           
          
            
              
                HaVi  
                
               
              
                  
                    23 November 2021 09:04
                   
                   
              3 
               
             
            
              It works! I looked for the solution in the Hue node and did not think about solving it this way. Thanks for your help George.
             
            
               
               
              1 Like 
            
            
           
          
            
              
                system  
                
                  Closed 
               
              
                  
                    7 December 2021 09:04
                   
                   
              4 
               
             
            
              This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.