Discussions

Ask a Question
Back to All

Do Scenes show up anymore?

I'm trying to query my bulbs (H6008) and even if I set them up on a scene whether it's one of my DIY scenes or a built in scene like "Dusk", I can't retrieve the ID or the name of the current scene.

So for full transparency, I'm running the the command on my bulb while it has a DIY scene actively running:
https://openapi.api.govee.com/router/api/v1/device/state

with raw json body:

{
"requestId": "uuid",
"payload": {
"sku": "H6008",
"device": "16:71:XX:XX:XX:XX:XX:XX"
}

and it gives me

{
    "requestId": "uuid",
    "msg": "success",
    "code": 200,
    "payload": {
        "sku": "H6008",
        "device": "16:71:XX:XX:XX:XX:XX:XX",
        "capabilities": [
            {
                "type": "devices.capabilities.online",
                "instance": "online",
                "state": {
                    "value": true
                }
            },
            {
                "type": "devices.capabilities.on_off",
                "instance": "powerSwitch",
                "state": {
                    "value": 1
                }
            },
            {
                "type": "devices.capabilities.range",
                "instance": "brightness",
                "state": {
                    "value": 98
                }
            },
            {
                "type": "devices.capabilities.color_setting",
                "instance": "colorRgb",
                "state": {
                    "value": 12112107
                }
            },
            {
                "type": "devices.capabilities.color_setting",
                "instance": "colorTemperatureK",
                "state": {
                    "value": 0
                }
            },
            {
                "type": "devices.capabilities.dynamic_scene",
                "instance": "lightScene",
                "state": {
                    "value": ""
                }
            },
            {
                "type": "devices.capabilities.dynamic_scene",
                "instance": "diyScene",
                "state": {
                    "value": ""
                }
            }
        ]
    }
}

I noticed that the brightness/color of the state also doesn't change when I query it several times in a row, so the bulb's state in the request won't match the bulb's real state, because it's running a scene.