-
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
Add DDF for Ikea Starkvind #6118
Conversation
The device can be controlled via config.mode with the values: "off", "auto", "speed_1", "speed_2", "speed_3", "speed_4", "speed_5" The read only state.speed attribute reflects the current speed as normalized number 0..100.
Thanks for the PR! Moved my Starkvind over to my test network running v2.17.0-beta. Unfortunately, I'm running into a number of issues:
|
Same here, olny sensor with airquality repors, but no control of fan etc.. |
Can you take a look in the API if the control are missing ? |
So you have some control in this one, in the "config" part |
Yes, here's mine:
Maybe I need to update mine? I see you have a more up-to-date FW than I do. |
I can control STARKVIND through the REST-API, i.e.:
The above JSON works just fine. |
Ok, me too but nothing is available/controllable in HA. I'm currently on latest HA 2022.12.8 |
So this question concern HA not deconz. |
I'm not sure what custom widges is and how this can "solve these issues". I did a quick Google search for |
Looks very nice! |
Thanks 😊 I mistakenly believed that the "on" parameter (= true/false) is used to actually switch the whole device on/off, but that's not the case. Both the ZHAAirPurifier and the ZHAAirQuality has the
|
I would want to say: see the documentation, but that's still pathetic.
|
Thanks for the info. But what documentation do you refer to exactly? |
https://dresden-elektronik.github.io/deconz-rest-doc/
The web socket notifications continue to happen, but deCONZ rules aren't triggered. If you use an external (to deCONZ) home automation system it's up to them to take into account the value of |
Great. Thanks. I'm learning new tricks every day. 😊 But I am not aware that I created any of these rules myself, and none of them seems to be related to the IKEA STARKVIND (?). |
I don't use Phoscon, but I know it does create rules. These seem to be for a motion sensor (PIR = passive infrared). |
I made a descriptive summary of how I finally got control over my IKEA STARKVIND from Home Assistant. In case anyone else would like to check it out - you'll find a PDF on OneDrive here: |
@oywino could you please re-share the PDF how you manage to control Starkvind from HA? Seems like the OneDrive link is not working. Thank you! |
@oywine Please share the files here or better: create a wiki page and a PR for the DDF :) |
I did not make a DDF, I'm just using deConz as-is. |
@oywino many thanks for the great manual! Works like charm! |
@kimosak - I'm glad you liked it 👍 |
Hello guys, thanks for the honorable effort and the pdf document, I am experiencing the same thing, only AQ entity is exposed automatically. I would however prefer to actually understand what has happened here. Does this mean that if IKEA releases a new product which gets implemented by deconz team, I have to reinstall / reset the addon or integration? Or just delete the device from zigbee network and re-add it? I always thought this would be automatic process. I can see that as of today I still only have AQ entity exposed, but would prefer to do this the right way. Not sure why I should be doing the mentioned steps at all? |
Until someone makes a working DDF for the IKEA Air Purifier, the only way to take full advantage of its features into HA, is through the REST-API as described in the PDF doc. |
Ah, I see. Thanks for answer. I am not a programmer so I don't understand this very much, is there some guide to how to make ddf maybe? At least I would like to understand how this works. I have deconz addon and I can see DDF editor in deconz. I have also noticed that it seems in that part (DDF editor) there are already some settings I just dont see anything in HA. |
The Starkvind has a DDF and that's why the device is working via REST API. |
Ha, ha 😄 That's how much I know about these things. |
Except it doesn't. We only see the AQ indication, nothing else works. |
How does it look like in the API then? |
I can see two entries. First:
Second:
|
So that show us deconz is offering everything it should. |
That's what I thought, But the device in HA doesn't see other entities just the AQ. No control or anything else. Tried restarting HA and deleting and re-adding the STARKVIND into deconz, but that did not help. |
Hi, Best to discuss this on the forums, additionally, HA related stuff needs to be done in their help channels. Locking this PR up. |
The device can be controlled via
config.mode
with the values which reflect the on device states:The read-only
state.speed
attribute reflects the current speed as normalized number 0..100.When the mode is changed manually with the knob the
config.mode
is updated automatically.Note 1: The device target/current values might not always be in steps of 10, e.g. 10..20, 20..30, etc. in which case they are mapped to the best fitting
config.mode
value, so 3 → 10 aka"step_1"
.Note 2: the
state.airquality
string values might need to be changed to better reflect the numeric values.JSON view:
This PR only contains the basics to make the Ikea Starkvind controllable, other features as locking and filter monitoring should be added in future.