• Professional advice
  • Order before 16.30 uur shipped today
  • Almost always available (+31 73 762 0 762)
  • Monday open late

Fibaro:setSceneEnabled commando

fibaro:setSceneEnabled()

 

Action :

Activates or disactivates a scene.

 

Usage and parameters :

fibaro:setSceneEnabled(sceneID, activated)

  • sceneID: the ID of a scene you want to (de)activate.
  • Activated: a booleanse value (true – to activate the scene, false – to deactivate the scene)

 

Returned value :

None.

 

Programming example :

-- If the value is positive, deactivate scene 15.
if ( a >0 ) then 
 
fibaro:setSceneEnabled( 15, false);
else 
-- anders activeer scene 15
   fibaro:setSceneEnabled( 15, true);
end 

 

See also

fibaro:isSceneEnabled()

 

 

 
Customer Service Phone

+31737620762
mon-fri: 10am-5pm and sat 10am-3pm

 
Adress

Gerstakker 16 5236 VG Empel Netherlands

Google maps