Batch Processing
Commands can be processed in batch one after another from .cmd script files located in the flash storage of the plate.  
General rules when creating .cmd batch scripts:
- can contain any command
- empty lines are ignored
- #or- //can be used for comments
- spaceor- tabin front of a command is ignored
- lines starting with {are processed asjsonlpayloads
- lines starting with [are processed asjsonpayloads
- other lines are processed as <command> <payload>
- CR,- LFor- CRLFline endings allowed
- UTF8encoding is required for special characters
To start a batch script, use run command.
System scripts~
If any of the following scripts is present on the filesystem, it will be run automatically according to the rules below:
- L:/boot.cmdis executed when the plate has finished (re)booting
- L:/online.cmdwill be executed after connection to the network was successfull
- L:/offline.cmdwill be executed after connection to the WiFi is lost
- L:/idle_off.cmdwill be executed after idle state change to off (wakeup)
- L:/idle_short.cmdwill be executed after idle state change to short
- L:/idle_long.cmdwill be executed after idle state change to long
This makes it possible to disable or hide buttons, load a special offline page, dimming background, etc. See example.