-
Notifications
You must be signed in to change notification settings - Fork 503
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 Air purifier (E2007/E3007) #5351
Comments
That would be awesome, just got mine a few days ago! |
Waiting for this device request until I buy one 👍 |
Exactly me too 👍 |
And me too |
I bought one. Never developed anything regarding zigbee/deconz, but do have development experience. Let me know if I can assist in any way |
Asked @manup to see if this can be done with DDF's |
Yes should be possible, although we need to have a closer look with the sniffer to check what the manufacturer specific clusters do. Perhaps sniffing the traffic between Ikea gateway and this device. |
Maybe this helps: |
I've been poking this device using z2m, sadly no gateway to compare but I did manage to get something out of 0xfc7d This is the cluster definition I added to z2m, I'm not 100% sure PM25 but it's extremely likely. It follows the same attribute layout as far as I could tel for the Ember zigbee additional measurement clusters.
Reading this gets the following readReponse:
measuredValue probably needs a I was unable to configure reporting on this, but I might be doing something wrong. I sadly do not own the ikea gateway to compare it with the values in the tradfri app. |
I received the Starkvind (standing model) I ordered and paired it to the TRAFDR hub without any issues. It uses regular pairing, so I have finally captured the hub's network key, enabling me to sniff the Zigbee communication between the Starkvind and the hub. The bastards are using channel 25, same as my production deCONZ network, but nothing that filerting on PANID cannot solve. The hub seems to control the air purifier exclusively by writing to manufacturer-specific attributes in the 0xFC7D cluster. The Strakvind sends attribute reports in addition to the Write Attributes Response. The Report Attributes is answered by the Hub with a Default Response. The hub queries the Scenes cluster. So far, I've found out the following attributes, all of which support attribute reporting.
Target Mode takes the following values:
Current Mode reports the same values, except for 0x01. The Smart Home app and the dial on the purifier only allow setting 10, 20, 30, 40, 50, but I've also seen Current Mode being reported as 25. The is also reflected in the app. I've observed the following values for Air Quaily:
When resetting the filter (through the seconds hidden button on the purifier, underneath the pairing button) it reports attributes 0x0000 (value 0), 0x0001 (value 0) and 0x0002 (value 259200, which suspiciously looks like the filter life time of 6 months in minutes, 6 * 30 * 24 * 60). After some playing around, I think 0x0000 keeps track of the time the device has been on with this filter. It's reset by pressing the reset button. 0x0002 is the threshold after which the filter needs to be replaced. This is indicated by 0x0001, which matches the red warning LED on the device. 0x0008 is the total run time. All times are in minutes. If you setup attribute reporting with min value 1 (it's a mains powered device anyway), you can see the values updating in real-time. The hub exposes the purifier to HomeKit natively, as a single accessory with an Air Quality Sensor and an Air Purifier service. It only uses standard HomeKit characteristics, and doesn't expose disabling the LED. Lock Physical Controls isn't supported by Home, but works from Eve (which display it as Child Lock). I'll update
|
I'd say so. You might want to check this out for further reference deconz-rest-plugin/utils/utils.cpp Lines 346 to 358 in 3338039
|
Yeah, saw that. I have no other air quality sensor to compare, but it would fit the u16. Maybe I should light a celebratory cigar… Been eyeing the Eve Room, but want a version supporting Thread before spending that amount of money. |
The Starkvind accepts, but ignores the Identify command. It has implemented Trigger Effect, but not all values. Blink and Breathe work, and trigger the LED on the pairing button. |
…ier (#455) * Repalce manuSpecificIkeaPM25Measurement with manuSpecificIkeaAirPurifier * Add additional STARKVIND attributes Found via dresden-elektronik/deconz-rest-plugin#5351 (comment)
Hello, I implemented the Starkvind support for the pytradfri library for home-assistant mentioned above in this thread:
I confirmed this by blowing out some candles and letting the smoke get inside the Starkvind, the value went up above 200 and the Ikea app showed the correct corresponding states and the fan went to full power. |
Thanks, @michaelnimbs. Do you happen to know in which unit the Starkvind reports the air quality, or is this just a raw sensor value. Most air quality sensor I’ve seen (as in: read about - I don’t have any) use five levels of quality instead of three, and I’d like to do the same, exposing the Starkvind through the deCONZ API.
That is a much better approach than picking up smoking! I was already tempted to light a cigar… |
@ebaauw Maybe μg/m3, but I don't know for sure. |
First of all, thanks to everybody for the work so far. Maybe following table helps (taken from a texas instruments datasheet). PM2.5 PM10 AQI AQI Category |
Whoever might be interested in this, some further reading on VOC levels https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/9_Gas_Sensors/Sensirion_Gas_Sensors_SGP3x_TVOC_Concept.pdf Interestingly, the danish company Develco seems to have chosen the german approach, which is the current implementation 🤔 |
This is all new to me. What I understand from https://www.epa.gov/pm-pollution/particulate-matter-pm-basics and https://www.wkcgroup.com/tools-room/micrograms-per-cubic-meter-parts-per-billion-converter/ and @SwoopX 's link above. There's different ways of how to measure a pollutant:
There's different types of pollutants:
I suppose depending on what pollutant you're looking at (PM2.5, PM10, TVOC, CO, ...), different density and level thresholds apply for computing air quality. HomeKit supports different characteristics for the different pollutants, explicitly specifying density vs level in the name, see "Air Quality and Smoke Detection" on https://developer.apple.com/documentation/homekit/hmcharacteristic/characteristic_types, but the TRADFRI hub only exposes Air Quality to HomeKit. Without knowing what pollutant(s) the sensor in the Starkvind actually measures and how (level vs density), the value reported in attribute 0x0004 cannot be compared with values reported by other sensors. EDIT https://www.imore.com/ikea-confirms-homekit-support-its-new-smart-air-purifiers suggests it measures PM2.5. EDIT 2 From the Product Details on the IKEA web site:
|
@ebaauw Taking your observation under regular conditions ("Air Quality now reports 7") and michaelnimbs "letting the smoke get inside the Starkvind, the value went up above 200" > that corresponds quite well with the figures I added above. (Unfortunately I cannot contribute much more at the moment. I installed the deconz beta, and compiled and replaced the rest-api on my RPi4, but cannot yet get it working, even after deleting the device and re-adding. I will maybe try again after PR is merged. If I miss something important, I'd be happy for a hint...) |
You need to copy the |
So we need a There seem to be multiple standards of Air Quality, with different number of levels, names for those levels, and thresholds for the PM2.5 density:
I would propose to stick to the current implementation and use the EU mapping, so we would get:
We might want to rename |
Just got one and sure hope it will be included in a (near) future release! |
With the help of DDF, some limited functionalities can already be implemented, such as:
|
Note that the Xiaomi reports VOC level in ppb, which is exposed as |
Have you got such a working DDF available somewhere? |
Wondering the same thing as @Kllrv. Would love to get this working in the meantime |
Would be nice to see some progress to this issue/feature. What do you need to speed up this one? |
Nothing new with Starkving on v2.15.0-beta deconz-rest-plugin, is anything needed to speed it up? |
Gave up waiting - moved to Zigbee2MQTT |
is still being worked on? |
Same question here, Waiting for v2.15.+ to test it |
@ebaauw How can the rest of us help this along? |
Hi we have the Starkvind on the order list expected to arrive in May to be able to create the DDF. |
Hi @manup, |
The Starkvind is ordered, so I hope to have a DDF ready shortly after its arrives. |
Sounds good, I look forward to hearing some news :) |
Hello, Are there already any updates? |
I have the Starkvind now running in my living room (vanilla without Zigbee, boy this thing can be loud..). The last days kept me a bit busy with bug fixes, I'm starting now to build the DDF and check what needs to be extended on the C++ side based on @ebaauw research. |
I've had my IKEA STARKVIND for some moths, integrated into Home Assistant using REST-API via deConz without any issues - until quite recently when it suddenly and for no apparent reason reports Air Quality Out-of-Scale and the speed automatically increases to maximum: Then after a while it seems to autocorrect itself again. This has never happened before, but recently it happens almost weekly and randomly. |
This sounds like a hardware issue - the coordinator is not involved in setting fan speed. Try cleaning the sensor. |
Hi, For any questions on devices, please use the forums. If you think a bug is involved, open a new issue. Locking this up. |
Device
Screenshots
Basic
Groups
Scenes
Fan Control
Unknown (FC57)
Unknown (FC7D)
nothing visible for both
The text was updated successfully, but these errors were encountered: