NINA Flat Device

Control Flat Device via N.I.N.A. ninaAPI

Set Light

AI-generated

Summary

Set the light panel of a connected NINA flat device on or off.

Inputs

  • Light On (required) — Boolean flag to turn the light panel on (true) or off (false).

Output shape

a JSON object representing the response from the device after setting the light state

The response is returned per item processed. If multiple items are input, each will produce a separate response object in the output array. Errors are returned as JSON objects if continueOnFail is enabled.

Examples

Example 1: Turn the light panel on

Set 'Light On' to true

Example 2: Turn the light panel off

Set 'Light On' to false

Links

Discussion