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
|
/strobe/enable
Function | Enable the strobe. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/lamp/brightness
Function | Get the lamp brightness. |
---|---|
Method | Get |
Response | A representing the asynchronous operation. |
Example |
CODE
|
/strobe/brightness
Function | Get the strobe brightness. |
---|---|
Method | Get |
Response | A representing the asynchronous operation. |
Example |
CODE
|
/isattached
Function | Gets a value indicating whether the camera has leds. |
---|---|
Method | Get |
Response | True if the Rayfin has leds. |
Example |
CODE
|
/lamp/ison
Function | Gets a value indicating whether the camera lamp is on. |
---|---|
Method | Get |
Response | True if the Rayfin has leds. |
Example |
CODE
|
/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
|
/lamp/off
Function | Turn the lamp off. |
---|---|
Method | Get |
Response | A representing the asynchronous operation. |
Example |
CODE
|
/lamp/on
Function | Turns on the attached LED and sets the brightness to 100. |
---|---|
Method | Get |
Response | A representing the asynchronous operation. |
Example |
CODE
|
/lamp/brightness/up
Function | Increment lamp brightness by 5. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/lamp/brightness/down
Function | Decrement lamp brightness by 5. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/strobe/brightness/up
Function | Increment strobe brightness by 5. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/strobe/brightness/down
Function | Decrement strobe brightness by 5. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/lamp/brightness/{value}
Function | Set the lamp brightness. |
---|---|
Method | Get |
Response | A representing the asynchronous operation. |
Example |
CODE
|
/strobe/brightness/{value}
Function | Set the strobe brightness. |
---|---|
Method | Get |
Response | A representing the asynchronous operation. |
Example |
CODE
|