Discussions

Ask a Question
Back to All

Govee Lights - API to get current scene

Please create a GET method for /router/api/v1/device/control to allow us to query the current scene for the SKU/device. This would allow us to determine if a) the current scene is a light scene or a DIY scene and b) what the scene parameters are so that we can change the scene temporarily and then restore it to the current scene after we are done.

Something like this would allow us to connect our Govee lights to Twitch events so that we can, for example, flash the lights green when we get a new subscriber.

Sample JSON body:

{
"requestId": "uuid",
"payload": {
"sku": "xxx",
"device": "xxx"
}
}

Sample JSON response:

{
"requestId": "uuid",
"payload": {
"sku": "xxx",
"device": "yyy",
"capability": {
"type": "devices.capabilities.dynamic_scene",
"instance": "diyScene",
"value": 1234567
}
}
}