This is an old revision of the document!
The LightControl has been introduced for managing lights on the layout.
The Rocrail Server model time is used for calculating the light actions.
Unique ID of this Light Control entry.
The selected output, switch or Accessory Group ID.
Multiple entries for the same ID are valid as long as they do not overlap in time with each other.
Free text to describe the light usage.
Time when to activate this light.
Time when to deactivate this light.
The wanted light action:
The parameters for the actions:
|Action||Parameter 1||Parameter 2||Remark|
|Continuous||-||-||No parameters used|
|Random||On time||Off time||Randomised time in seconds|
|Blink||On time||Off time||Time in seconds|
|Fade-in||Steps per second||Max. brightness||Max. 255 (For color/light outputs only.)|
|Fade-out||Steps per second||Start brightness||Max. 255 (For color/light outputs only.)|
Enable the selected light control record.
Deactivated after the "to time" has been reached.
This option should be disabled to fade-in a light and keep it active after the "to time" has been reached, and fade-out with another record for the same light.
Color support for Outputs.
If a light is not scheduled for the actual week day, it will not be touched; If its on, it stays on, and if its off, it stays off.
This example lightcontrol_test3.zip was made with Rocrail Version 2.1.258 and demonstrates continuous, blinking and random light control.