Get Current channel values
GET/light
GET
Get the Current Device Settings and Channel Values
This request gives you on JSON Object:
- CCV: Contains the current channel values.
# Example:
{
"title": "CCV",
"from": "24:4C:AB:02:4E:34",
"currentValues": [
81,
47,
53
]
Each value corresponds to a specific channel and ranges from 0% to 100%.
Channel Configuration
Depending on the LED light configuration, as specified in the first entry of the JSON USRDTA parameter tankconfig, the channels are mapped to the light colors as follows:
Configuration | Channel 1 | Channel 2 | Channel 3 |
---|---|---|---|
FRESH_DAYLIGHT | White | not used | not used |
FRESH_PLANTS | White | Plants gold | Royal Blue |
MARINE_ACTINIC | not used | not used | Royal Blue |
MARINE_HYBRID | White | not used | Royal Blue |
RGB_AMBIENT | Red | Green | Royal Blue |
RGB_LIGHT | Red | Green | Royal Blue |
All classicLED lights | only one channel per light | only one channel per light |
Request
Responses
- 200
- 400
- 401
Bad Request
Unauthorized