Timeline scripts and Event scripts

Scripts

Build Timeline scripts for ordered camera, light, and GPIO actions, or Event scripts that respond to Camera Server events.

Event scripts troubleshooting

The event script cannot be enabled

Confirm that at least one event node is connected to an action node with a Start edge. A graph can be saved as a draft, but an enabled event script needs a complete event-to-action path.

The event script is enabled but does not fire

Check that the source event is the one you expect. Remove conditions temporarily and test again. Then add conditions back one at a time. Confirm that the event script is still enabled after saving.

A condition never matches

Use a field from the selected event's available-fields list. Check spelling, value type, and capitalization. Numeric comparisons require a numeric event value. All conditions on one event node must match.

An action is skipped

Check that the referenced Timeline script, light group, light preset, effect, GPIO node, or sound asset still exists. A Timeline script or Light preset can also be skipped when another Timeline script is already running.

The action starts too late or too often

Review Delay and Debounce on the action node. Delay postpones an accepted event. Debounce suppresses repeated events. For multiple inputs, verify whether the action is set to OR or AND.

Stop does not have the expected result

Confirm that the Stop edge comes from an event node and reaches the action's Stop input. Stop behavior is action-specific: it aborts timeline scripts, turns off lights, sets GPIO low, or stops sounds. For sound, use Pause when the output should resume later.

Test in isolation

Run the target Timeline script directly first. Preview sound assets and test GPIO or light actions independently. Then trigger the source event under controlled conditions and watch the event script state and run log before enabling the event script for a live event.

Updated

Page links