NINA Event Trigger
AI-generatedSummary
Listen for events from the N.I.N.A. (Nighttime Imaging 'N' Astronomy) WebSocket API and trigger the workflow when a specified event occurs.
Inputs
- Event (required) — Select which N.I.N.A. event to listen for. Choose from various specific events such as 'Autofocus Finished', 'Camera Connected', 'Sequence Starting', or 'All Events' to receive all event types.
Output shape
Each output contains a single JSON object representing the N.I.N.A. event data received from the WebSocket.
The trigger connects to the N.I.N.A. WebSocket API using credentials for host and port. It listens continuously and emits whenever the selected event occurs, filtering events by the user's selection. Closing the workflow triggers closure of the WebSocket connection.
Examples
Example 1: Trigger a workflow when the N.I.N.A. mount completes a meridian flip.
Set the Event parameter to 'Mount After Meridian Flip'. On receiving this event from N.I.N.A., the workflow will execute with the event data as output.