Discussions

Ask a Question
Back to All

API Device State for Humidifier does not return Humdity State

I've noticed that the API for getting the device state for a H7142 Humidifier returns a blank value for the humidity level.

Below is the returned response from https://openapi.api.govee.com/router/api/v1/device/state

{
"requestId": "b6bd865c-404f-444c-9246-f6becb0c31c6",
"msg": "success",
"code": 200,
"payload": {
"sku": "H7142",
"device": "MACID",
"capabilities": [
{
"type": "devices.capabilities.online",
"instance": "online",
"state": {
"value": true
}
},
{
"type": "devices.capabilities.on_off",
"instance": "powerSwitch",
"state": {
"value": 1
}
},
{
"type": "devices.capabilities.work_mode",
"instance": "workMode",
"state": {
"value": {
"workMode": 3,
"modeValue": 1
}
}
},
{
"type": "devices.capabilities.range",
"instance": "humidity",
"state": {
"value": ""
}
}
]
}
}

I assume this is suppose to either return the current set value of humidity or the humidity of the given room. Yes?

David