User Tools

Site Tools


actions

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
actions [2015/04/22 10:03]
curlymo
actions [2016/06/15 19:23] (current)
woutput typo
Line 7: Line 7:
  
 **Description**\\ **Description**\\
-Changes the state of a switch, relay of dimmer.+Changes the state of a switch, relay or dimmer.
  
 **Options** **Options**
Line 16: Line 16:
 |TO|x| |New state| |TO|x| |New state|
  
-pilight ​nightly+pilight ​v7.0
 ^name^required^multiple values^description^ ^name^required^multiple values^description^
 |FOR| | |Determine how long this new state lasts before we change back to the previous state| |FOR| | |Determine how long this new state lasts before we change back to the previous state|
Line 36: Line 36:
 </​code>​ </​code>​
  
-pilight ​nightly+pilight ​v7.0
 <​code>​ <​code>​
 IF 1 == 1 THEN switch DEVICE light TO on FOR 10 MINUTE IF 1 == 1 THEN switch DEVICE light TO on FOR 10 MINUTE
 IF 1 == 1 THEN switch DEVICE light TO on AFTER 30 MILLISECOND IF 1 == 1 THEN switch DEVICE light TO on AFTER 30 MILLISECOND
-IF 1 == 1 THEN switch DEVICE light TO off FOR 10 SECOND AFTER 30 MINUTES+IF 1 == 1 THEN switch DEVICE light TO off FOR 10 SECOND AFTER 30 MINUTE
 </​code>​ </​code>​
  
Line 97: Line 97:
 |TO|x| |New dimlevel| |TO|x| |New dimlevel|
  
-pilight ​nightly+pilight ​v7.0
 ^name^required^multiple values^description^ ^name^required^multiple values^description^
 |FOR| | |Determine how long this new dimlevel lasts before we change back to the previous dimlevel + state| |FOR| | |Determine how long this new dimlevel lasts before we change back to the previous dimlevel + state|
Line 119: Line 119:
 </​code>​ </​code>​
  
-pilight ​nightly+pilight ​v7.0
 <​code>​ <​code>​
 IF 1 == 1 THEN dim DEVICE mainlight TO 15 FOR 10 MINUTE IF 1 == 1 THEN dim DEVICE mainlight TO 15 FOR 10 MINUTE
Line 152: Line 152:
  
 **Version**\\ **Version**\\
-Available since in the pilight ​nightly+Available since in the pilight ​v7.0
  
 **Description**\\ **Description**\\
Line 173: Line 173:
  
 **Version**\\ **Version**\\
-Available since in the pilight ​nightly+Available since in the pilight ​v7.0
  
 **Description**\\ **Description**\\
Line 212: Line 212:
  
 **Version**\\ **Version**\\
-Available since the pilight ​nightly+Available since the pilight ​v7.0
  
 **Description**\\ **Description**\\
Line 225: Line 225:
 |COLOR|x| |New color| |COLOR|x| |New color|
  
-pilight ​nightly+pilight ​v7.0
 ^name^required^multiple values^description^ ^name^required^multiple values^description^
 |FOR| | |Determine how long this new label lasts before we change back to the previous label| |FOR| | |Determine how long this new label lasts before we change back to the previous label|
Line 239: Line 239:
 **Examples** **Examples**
  
-pilight ​nightly+pilight ​v7.0
 <​code>​ <​code>​
 IF 1 == 1 THEN label DEVICE tempLabel TO on IF 1 == 1 THEN label DEVICE tempLabel TO on
actions.1429697031.txt.gz ยท Last modified: 2015/11/27 21:08 (external edit)