Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IKEA STARKVIND Integration Issues #300

Open
leightonc1 opened this issue Nov 30, 2024 · 1 comment
Open

IKEA STARKVIND Integration Issues #300

leightonc1 opened this issue Nov 30, 2024 · 1 comment

Comments

@leightonc1
Copy link

Describe the bug

Controls seem to be missing for the IKEA STARKVIND air purifier when using the driver I've linked below. It also appears that the current air quality displays raw HTML text which is properly formatting on the hubitat view, but doesn't appear to translate properly on the Home Assistant view. I've also copied the device capabilities below to simplify troubleshooting.

Drivers being used: https://community.hubitat.com/t/release-ikea-zigbee-drivers/123853

Screenshots

Device Controls/Sensors in HA:
image

Controls in Hubitat:
image

Environment

  • Home Assistant version: 2024.11.3
  • Integration version: 0.9.38

Device Capabilities

{
"id": "4",
"name": "Device",
"label": "Upstairs Air Filter",
"type": "IKEA Starkvind Air Purifier (E2006)",
"room": "Bedroom",
"date": "2024-11-30T06:47:20+0000",
"attributes": [
{
"name": "airQuality",
"currentValue": "<span style="color:green">good",
"dataType": "ENUM",
"values": [
"good",
"moderate",
"unhealthy for sensitive groups",
"unhealthy",
"hazardous"
]
},
{
"name": "auto",
"currentValue": "enabled",
"dataType": "ENUM",
"values": [
"on",
"off"
]
},
{
"name": "supportedFanSpeeds",
"currentValue": "[auto, low, medium-low, medium, medium-high, high, off]",
"dataType": "JSON_OBJECT"
},
{
"name": "airQualityIndex",
"currentValue": 25,
"dataType": "NUMBER"
},
{
"name": "checkInterval",
"currentValue": 3600,
"dataType": "NUMBER"
},
{
"name": "powerSource",
"currentValue": "mains",
"dataType": "ENUM",
"values": [
"battery",
"dc",
"mains",
"unknown"
]
},
{
"name": "healthStatus",
"currentValue": "online",
"dataType": "ENUM",
"values": [
"offline",
"online",
"unknown"
]
},
{
"name": "speed",
"currentValue": "low",
"dataType": "ENUM",
"values": [
"low",
"medium-low",
"medium",
"medium-high",
"high",
"on",
"off",
"auto"
]
},
{
"name": "pm25",
"currentValue": 6,
"dataType": "NUMBER"
},
{
"name": "switch",
"currentValue": "on",
"dataType": "ENUM",
"values": [
"on",
"off"
]
},
{
"name": "filterUsage",
"currentValue": 5,
"dataType": "NUMBER"
},
{
"name": "filterStatus",
"currentValue": "normal",
"dataType": "ENUM",
"values": [
"normal",
"replace"
]
},
{
"name": "indicatorStatus",
"currentValue": "on",
"dataType": "ENUM",
"values": [
"on",
"off"
]
}
],
"capabilities": [
"Configuration",
"Actuator",
"PowerSource",
{
"attributes": [
{
"name": "powerSource",
"dataType": null
}
]
},
"Refresh",
"FanControl",
{
"attributes": [
{
"name": "speed",
"dataType": null
},
{
"name": "supportedFanSpeeds",
"dataType": null
}
]
},
"AirQuality",
{
"attributes": [
{
"name": "airQualityIndex",
"dataType": null
}
]
},
"FilterStatus",
{
"attributes": [
{
"name": "filterStatus",
"dataType": null
}
]
},
"Switch",
{
"attributes": [
{
"name": "switch",
"dataType": null
}
]
},
"Sensor",
"HealthCheck",
{
"attributes": [
{
"name": "checkInterval",
"dataType": null
}
]
}
],
"commands": [
"configure",
"cycleSpeed",
"off",
"on",
"ping",
"refresh",
"setIndicatorStatus",
"setSpeed",
"setSpeed",
"toggle",
"updateFirmware"
]

Thanks for the good work on this integration!

@jason0x43
Copy link
Owner

The integration only creates controls for standard Hubitat capabilities, because those are the only ones can tell how to use. In this case, the two control capabilities are FanControl and Switch. The HA fan control entity type handles both of those, so that's the only control entity that's created. For other Hubitat commands, the integration provides a send_command service.

Having HTML in the air quality value is not something I've seen before. I can update the integration to filter that out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants