Ikea Tradfri STARKVIND

anyone have information on the Tradfri api for Starkvind air purifiers to be released soon:

the Tradfri Home smart app already supports it, hope HA will be able to follow suit.

considering my Dachshund, I truly hope this will happen soon…

2 Likes

Just received the unit but not much use yet in HA:

But wait, it’s in the works! : https://github.com/home-assistant/core/pull/58295

It’s merged into the code base so it should become available in the next or next+1 version. Fingers crossed that it makes it to the beta channel on Wednesday!

1 Like

using 2021.11.dev so expect to meet it in the nightly update :wink:
congrats on adding great new functionality

running the dev version, I now see:

where the battery sensor is inexplicable, because the device doesnt have a battery, and I can only turn the switch ‘off’, not on. Can only do that with the app.

No other sensors available on fan state or air quality

in dev I see this:


so thats much better already :wink:
however the frontend is not showing that completely:

and the preset mode wont show, even after explicitly selecting it, nor do any of the other listed attributes for that matter

@Mariusthvdb Have you had better luck since? Looking to purchase one today :grin:

nope still looking the same. they work fine, and the Tradfri app operates it ok. HA integration is nothing more than experimental for now. Too bad the authors if the integration wont show what sh/could happen or how it could look.

I guess they are searching like everyone

1 Like

if I check the development then the ppm level should be integrated but I can’t find anything…
should be nice

From the posts in the thread linked to by francisp I assume that the unit is now fully integrated in zigbee2mqtt. But I see that it still not completely there in ZHA. Hopefully that is just a matter of time?

I saw some Tradfri Integragtions that only show a few and very unusable data. I hope this will change for the better.

How do I add it to HA? I am using Conbee. Couldn’t find it when trying to add the regular way.

@krizzziz By Conbee you mean Deconz?
I use a Conbee with ZHA and it pairs just fine, there is only some missing functionality - like the air quality sensor.

Yes! You are correct. Thanks for that.
How did you manage to pair them!
I used the button on the Starkvind unit but nothing happend. Did you had to push the button on the Starkvind to pair multiple times? Or only one long push? Thanks

I managed also to connect to HA. Pairing was just pushing the pairing button a few times and it worked.

Only off/on switch available on HA as mentioned on here before.

Any one has a template to translate µg/m³ to US AQI?

Same here, got it paired with Conbee 2 and ZHA, and only the fan appears.

When paired with the IKEA gateway, the fan, air quality and time to change the filter appear.

It would be nice to have a template for the air quality sensor to be “translated” from μg/m3 to something more readable like the IKEA app.

This table can probably be used to setup the template:

1 Like

Yeah that’s is not much of an issue with template-entity-row

Using this now but it could easily change the output

I ended up creating the following sensor template that basically reads the PM2.5 air quality sensor and gives the U.S. Air Quality Index (AQI) category or Level of Concern.

That’s the best I could do to give me a reading similar to the IKEA app.

- platform: template
  sensors:
    tv_room_air_quality:
      friendly_name: TV Room Air Quality
      unique_id: sensor.tv_room_air_quality
      value_template: >-
        {% if states('sensor.tv_room_air_purifier_air_quality') | int <= 12 %}
          Good
        {% elif states('sensor.tv_room_air_purifier_air_quality') | int <= 35.4 %}
          Moderate
        {% elif states('sensor.tv_room_air_purifier_air_quality') | int <= 55.4 %}
          Unhealthy for Sensitive Groups
        {% elif states('sensor.tv_room_air_purifier_air_quality') | int <= 150.4 %}
          Unhealthy
        {% elif states('sensor.tv_room_air_purifier_air_quality') | int <= 250.4 %}
          Very Unhealthy
        {% elif states('sensor.tv_room_air_purifier_air_quality') | int <= 500.4 %}
          Hazardous
        {% endif %}

2 Likes

yes, thats nice. edited it a bit and added an else (always guard the templates)

{% set q = states('sensor.luchtreiniger_george_air_quality')|int(default=0) %}
{% if q <= 12 %} Good
{% elif q <= 35 %} Moderate
{% elif q <= 55 %} Unhealthy for Sensitive Groups
{% elif q <= 150 %} Unhealthy
{% elif q <= 250 %} Very Unhealthy
{% elif q <= 500 %} Hazardous
{% else %} Invalid
{% endif %}

btw, you can also use this in the template-entity-row directly