Discussions

Ask a Question
Back to All

segmentedBrightness and segmentedColorRgb not working.

I am using a Govee Cylinder Floor Lamp H6078 and trying to use the segment capabilities but am unable to. Not sure if this is an api issue or something Im doing wrong.

My device does support these two methods.

The request I send is the following:

PUT https://openapi.api.govee.com/router/api/v1/device/control

{
"requestId": "uuid",
"payload": {
"sku": "H6078",
"device": "F4:D5:C9:38:30:32:65:5C",
"capability": {
"type": "devices.capabilities.segment_color_setting",
"instance": "segmentedColorRgb",
"value": {
"segment": [0, 1, 2],
"rgb": 65280
}
}
}
}

Response 200 OK

{
"requestId": "uuid",
"msg": "success",
"code": 200,
"capability": {
"type": "devices.capabilities.segment_color_setting",
"instance": "segmentedColorRgb",
"state": {
"status": "success"
},
"value": {
"segment": [
0,
1,
2
],
"rgb": 65280
}
}
}

This indicates that the first 3 segments should have turned green, but nothing happened.

This request works:

{
"requestId": "uuid",
"payload": {
"sku": "H6078",
"device": "F4:D5:C9:38:30:32:65:5C",
"capability": {
"type": "devices.capabilities.color_setting",
"instance": "colorRgb",
"value": 255
}
}
}

This changes the whole lamp, however, it confirms the api is working and I am able to connect to the light.

Please help.