Commits

Sebastian Bub committed 4e5cc23

some more documentation for VIRTUAL ports

Comments (0)

Files changed (2)

 * Setting multiple ports in one requests are set one after another, but the code
   is optimized and nothing unnecessary is done in between (it takes about 2-5ms on an idle Raspberry Pi to set all 17 ports, some artificial load (e.g.'find /' in the background) will slow it down to 10-15ms).
 * Cronjobs (exact to the second) for output ports are based on [quartz-scheduler.org](http://quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/crontrigger). Output ports can be set conditionally and you have a simple but powerful semaphore mechanism.
+*   You may define your own variables with a prefix VIRTUAL which are persisted in memory (unknown virtual variables default to "0").
 
 ### Planned Features
 
 <=
 ```
 
-Watch out that your values (especially for VIRTUAL ports) must be numeric or you get a NumberFormatException.
+Watch out that your values for VIRTUAL ports must be numeric in order to use it for conditions or you get a NumberFormatException.
 
 ### Automatic Control
 

cron.conf.MAY_BE_CHANGED

 # - syntax is crontab like (but with seconds)
 # - use double colons to split between schedule and command (GET parameter syntax)
 # - output ports are written (single equal sign)
-# - input ports act like an "if" (use double equal signs)
-# - multiple input ports are concatinated with AND
+# - input ports act like an "if" (when used as conditions (see README.md))
+# - multiple conditions are concatinated with AND
 # - you may define your own variables with a prefix VIRTUAL (see example) which are persisted in memory
 # - unknown virtual variables default to "0"
-# - parsing is done from left to right (you probably want your conditions (virtual or input ports) come first (before output port))
+# - parsing is done from left to right (you probably want your conditions come first (before output port))
 #
 # Samples
 #