Skip to main content
Skip table of contents

LEDController

Last updated: 2025/3/7 12:31:26

Path To

Name

Description/Function

/api/led

/strobe/disable

Disable the strobe.

/api/led

/strobe/enable

Enable the strobe.

/api/led

/lamp/brightness

Get the lamp brightness.

/api/led

/strobe/brightness

Get the strobe brightness.

/api/led

/isattached

Gets a value indicating whether the camera has leds.

/api/led

/lamp/ison

Gets a value indicating whether the camera lamp is on.

/api/led

/strobe/isenabled

Gets a value indicating whether the camera strobe is enabled.

/api/led

/lamp/off

Turn the lamp off.

/api/led

/lamp/on

Turns on the attached LED and sets the brightness to 100.

/api/led

/lamp/brightness/up

Increment lamp brightness by 5.

/api/led

/lamp/brightness/down

Decrement lamp brightness by 5.

/api/led

/strobe/brightness/up

Increment strobe brightness by 5.

/api/led

/strobe/brightness/down

Decrement strobe brightness by 5.

/api/led

/lamp/brightness/{value}

Set the lamp brightness.

/api/led

/strobe/brightness/{value}

Set the strobe brightness.

/strobe/disable

Function

Disable the strobe.

Method

Get

Response

Status code 200, for an completed operation being preformed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/strobe/disable

/strobe/enable

Function

Enable the strobe.

Method

Get

Response

Status code 200, for an completed operation being preformed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/strobe/enable

/lamp/brightness

Function

Get the lamp brightness.

Method

Get

Response

A representing the asynchronous operation.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/lamp/brightness

/strobe/brightness

Function

Get the strobe brightness.

Method

Get

Response

A representing the asynchronous operation.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/strobe/brightness

/isattached

Function

Gets a value indicating whether the camera has leds.

Method

Get

Response

True if the Rayfin has leds.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/isattached

/lamp/ison

Function

Gets a value indicating whether the camera lamp is on.

Method

Get

Response

True if the Rayfin has leds.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/lamp/ison

/strobe/isenabled

Function

Gets a value indicating whether the camera strobe is enabled.

Method

Get

Response

True if the Rayfin strobe is enabled.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/strobe/isenabled

/lamp/off

Function

Turn the lamp off.

Method

Get

Response

A representing the asynchronous operation.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/lamp/off

/lamp/on

Function

Turns on the attached LED and sets the brightness to 100.

Method

Get

Response

A representing the asynchronous operation.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/lamp/on

/lamp/brightness/up

Function

Increment lamp brightness by 5.

Method

Get

Response

Status code 200, for an completed operation being preformed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/lamp/brightness/up

/lamp/brightness/down

Function

Decrement lamp brightness by 5.

Method

Get

Response

Status code 200, for an completed operation being preformed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/lamp/brightness/down

/strobe/brightness/up

Function

Increment strobe brightness by 5.

Method

Get

Response

Status code 200, for an completed operation being preformed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/strobe/brightness/up

/strobe/brightness/down

Function

Decrement strobe brightness by 5.

Method

Get

Response

Status code 200, for an completed operation being preformed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/strobe/brightness/down

/lamp/brightness/{value}

Function

Set the lamp brightness.

Method

Get

Response

A representing the asynchronous operation.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/lamp/brightness/{value}

/strobe/brightness/{value}

Function

Set the strobe brightness.

Method

Get

Response

A representing the asynchronous operation.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/led/strobe/brightness/{value}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.