LED Commands
Last updated: 2025/12/1 9:25:11 | ||
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 | /lamp/brightness/{value}/{port} | Set each individual lamp brightness separately by passing in the desired aux port. |
/api/led | /strobe/brightness/{value} | Set the strobe brightness. |
/strobe/disable
Description | Disable the strobe. |
Method | Get |
Example |
CODE
|
Response | None |
/strobe/enable
Description | Enable the strobe. |
Method | Get |
Example |
CODE
|
Response | None |
/lamp/brightness
Description | Get the lamp brightness. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Value: Brightness value from 0-100. |
Response | A representing the asynchronous operation. |
Response Type | Number |
Response Example |
CODE
|
/strobe/brightness
Description | Get the strobe brightness. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Value: Brightness value from 0-100. |
Response | A representing the asynchronous operation. |
Response Type | Number |
Response Example |
CODE
|
/isattached
Description | Gets a value indicating whether the camera has leds. |
Method | Get |
Example |
CODE
|
Response | True if the Rayfin has leds. |
Response Type | Boolean |
Response Example |
CODE
|
/lamp/ison
Description | Gets a value indicating whether the camera lamp is on. |
Method | Get |
Example |
CODE
|
Response | True if the led(s) are on. |
Response Type | Boolean |
Response Example |
CODE
|
/strobe/isenabled
Description | Gets a value indicating whether the camera strobe is enabled. |
Method | Get |
Example |
CODE
|
Response | True if the Rayfin strobe is enabled. |
Response Type | Boolean |
Response Example |
CODE
|
/lamp/off
Description | Turn the lamp off. |
Method | Get |
Example |
CODE
|
Response | None |
/lamp/on
Description | Turns on the attached LED and sets the brightness to 100. |
Method | Get |
Example |
CODE
|
Response | None |
/lamp/brightness/up
Description | Increment lamp brightness by 5. |
Method | Get |
Example |
CODE
|
Response | None |
/lamp/brightness/down
Description | Decrement lamp brightness by 5. |
Method | Get |
Example |
CODE
|
Response | None |
/strobe/brightness/up
Description | Increment strobe brightness by 5. |
Method | Get |
Example |
CODE
|
Response | None |
/strobe/brightness/down
Description | Decrement strobe brightness by 5. |
Method | Get |
Example |
CODE
|
Response | None |
/lamp/brightness/{value}
Description | Set the lamp brightness. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Value: Values between 0 to 100 |
Response | None |
/lamp/brightness/{value}/{port}
Description | Set each individual lamp brightness separately by passing in the desired aux port. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Port: Values between 0 to 1 ֍ Value: Values between 0 to 100 |
Response | None |
/strobe/brightness/{value}
Description | Set the strobe brightness. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Value: Values between 0 to 100 |
Response | None |