Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
jowihue:scripting [2019/04/03 21:12]
wim
jowihue:scripting [2019/04/03 21:16] (current)
wim
Line 8: Line 8:
   * [[jowihue:​scripting#​getscenes|GetPresets]] ​   * [[jowihue:​scripting#​getscenes|GetPresets]] ​
   * [[jowihue:​scripting#​GetAnimations|GetAnimations ]]   * [[jowihue:​scripting#​GetAnimations|GetAnimations ]]
-  * [[jowihue:​scripting#​ListRunningAnimations|ListRunningAnimations]]+  * [[jowihue:​scripting#​ListRunningAnimations|ListRunningAnimations]] ​<color #​ed1c24>​*new*</​color>​
   * [[jowihue:​scripting#​SetLightsOff|SetLightsOff]]   * [[jowihue:​scripting#​SetLightsOff|SetLightsOff]]
-  * [[jowihue:​scripting#​SetLightsHueSat|SetLightsHueSat]] ​<color #​ed1c24>​updated</​color>​ +  * [[jowihue:​scripting#​SetLightsHueSat|SetLightsHueSat]]  
-  * [[jowihue:​scripting#​SetLightsKelvin|SetLightsKelvin]] ​<color #​ed1c24>​updated</​color>​ +  * [[jowihue:​scripting#​SetLightsKelvin|SetLightsKelvin]]  
-  * [[jowihue:​scripting#​SetLightsRGB|SetLightsRGB]] ​<color #​ed1c24>​updated</​color>​ +  * [[jowihue:​scripting#​SetLightsRGB|SetLightsRGB]] ​
-  * [[jowihue:​scripting#​IncreaseLights|IncreaseLights]] <color #​ed1c24>​depreciated - will be removed next version!</​color>​+
   * [[jowihue:​scripting#​IncreaseLevel|IncreaseLevel]] ​   * [[jowihue:​scripting#​IncreaseLevel|IncreaseLevel]] ​
-  * [[jowihue:​scripting#​DecreaseLights|DecreaseLights]] <color #​ed1c24>​depreciated - will be removed next version!</​color>​ 
   * [[jowihue:​scripting#​DecreaseLevel|DecreaseLevel]] ​   * [[jowihue:​scripting#​DecreaseLevel|DecreaseLevel]] ​
   * [[jowihue:​scripting#​SetPreset|SetPreset]] ​   * [[jowihue:​scripting#​SetPreset|SetPreset]] ​
   * [[jowihue:​scripting#​SetPresetRandom|SetPresetRandom]] ​   * [[jowihue:​scripting#​SetPresetRandom|SetPresetRandom]] ​
   * [[jowihue:​scripting#​StartScene|StartScene]]   * [[jowihue:​scripting#​StartScene|StartScene]]
-  * [[jowihue:​scripting#​DimScene|DimScene]] ​<color #​ed1c24>​*new*</​color>​+  * [[jowihue:​scripting#​DimScene|DimScene]]
   * [[jowihue:​scripting#​StartAnimation|StartAnimation]]   * [[jowihue:​scripting#​StartAnimation|StartAnimation]]
   * [[jowihue:​scripting#​StopAnimation|StopAnimation]]   * [[jowihue:​scripting#​StopAnimation|StopAnimation]]
Line 160: Line 158:
  
 \\ \\
-=== IncreaseLights === 
- 
-<color #​ed1c24>​DEPRECIATED!!! Will be removed in a near future version!</​color>​\\ 
-Increases the bright, saturation and/or hue level of a light or group of lights. The level of increase will be taken from the values on the configuration page.\\ 
-Returns a Boolean. True = successful, False = unsuccessful\\ 
-Parameters: 5\\ 
-**Group **: True/False – if True groups will be addressed by this command, otherwise lights\\ 
-**Name **: name of the group or light to be controlled\\ 
-**IncBright **:​ True/False - if true, brightness level will be increased, if false, no action will be done on brightness level\\ 
-**IncHue **:​ True/False - if true, Hue level will be increased, if false, no action will be done on Hue level\\ 
-**IncSat **:​ True/False if true, saturation level will be increased, if false, no action will be done on saturation level\\ 
- 
-Syntax:\\ 
-<code vb> 
-Dim test As Boolean = hs.PluginFunction("​JowiHue",​ "",​ "​IncreaseLights",​ {True, "All Lights",​ True, False, False}) 
-</​code>​ 
- 
 === IncreaseLevel === === IncreaseLevel ===
  
Line 194: Line 175:
 </​code>​ </​code>​
  
-=== DecreaseLights === 
- 
-<color #​ed1c24>​DEPRECIATED!!! Will be removed in a near future version!</​color>​\\ 
- 
-Decreases the bright, saturation and/or hue level of a light or group of lights. The level of decrease will be taken from the values on the configuration page.\\ 
-Returns a Boolean. True = successful, False = unsuccessful\\ 
-Parameters: 5\\ 
-**Group **: True/False – if True groups will be addressed by this command, otherwise lights.\\ 
-**Name **: name of the group or light to be controlled\\ 
-**DecBright **:​ True/False - if true, brightness level will be decreased, if false, no action will be done on brightness level\\ 
-**DecHue **:​ True/False - if true, Hue level will be decreased, if false, no action will be done on Hue level\\ 
-**DecSat **:​ True/False if true, saturation level will be decreased, if false, no action will be done on saturation level\\ 
- 
-Syntax:\\ 
-<code vb> 
-Dim test As Boolean = hs.PluginFunction("​JowiHue",​ "",​ "​DecreaseLights",​ {True, "All Lights",​ True, True, True}) 
-</​code>​ 
- 
-\\ 
 === DecreaseLevel === === DecreaseLevel ===