-
Examples: 100 or 100ms = 100ms, 10s = 10 seconds, 1m30s = 1 monute 30 seconds
-
Examples:
$ iobroker backup $ echo @(@0 ? 1 : 0) > /sys/class/leds/green_led/brightness
$ echo @folder.state > wherever => would echo the value of folder.state
$ echo @0,@1,@2 => would echo the new value of the event, and the inpit values #1 and
#2
-
Examples:
(@0 ? 1 : 0) => return 1 if value is true and 0 if not
(Math.round( (@1 + @2 + @3)/3)) => would calculate the average of 3 input values
(!@folder.state) => would return the boolean inverse of folder.state
-
&: queues the output with queue time (must be first) and
!: sets ack (default no Ack) can be after the id as a modifier.
~: toggle state (true/false),
=+, =-: set output to true(+) or false(-),
=? , =!: set the output to the new event value (=?) or to the negated event value
(=!)
=value , =(eval text): set the output to the value or to en evaluated value
Examples:
BewegungsmelderEingang.BRIGHTNESS => would set this state to the new value of the event
GPIO.7=(@0>20) => would set the state GPIO.7 to true if the event has a value
greater than 20
GPIO.7~ => would toggle GPIO.7