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 (air purifier) not providing the status thru REST-API after DECONZ update to v2.27.0-beta #7775

Closed
2 tasks done
kimosak opened this issue May 16, 2024 · 28 comments

Comments

@kimosak
Copy link

kimosak commented May 16, 2024

Does the issue really belong here?

  • I definitively want to report a bug within deCONZ or its REST-API

Is there already an existing issue for this?

  • I have searched the existing issues and there is none for the bug at hand

Describe the bug

With DECONZ v2.27.0-beta airputifier stopped providing states thru API - there is only lastupdated, the rest is missing (deviceruntime, filterruntime, lastupdated, replacefilter, speed..)

Actual API output:
{"config":{"on":true,"reachable":true},"ep":1,"etag":"4a8fa5a53c922c754d4b69e3a23ce16a","lastannounced":"2024-04-01T15:30:16Z","lastseen":"2024-05-16T12:51Z","manufacturername":"IKEA of Sweden","modelid":"STARKVIND Air purifier table","name":"Cisticka vzduchu Ikea","state":{"lastupdated":"2024-05-14T18:23:08.819"},"swversion":"1.1.001","type":"ZHAAirPurifier","uniqueid":"50:32:5f:ff:fe:b4:ab:f8-01-fc7d"}

DECONZ attributes
Screenshot 2024-05-16 150052

Steps to reproduce the behavior

It appears from latest DECONZ update

Expected behavior

Fix the REST API for Ikea Air Purifier

Screenshots

No response

Environment

  • Host system: (Raspberry Pi3b
  • Running method: Raspbian
  • Firmware version: (26780700)
  • deCONZ version (not Home assistant Addon version!): (v2.27.0-beta)
  • Device: RaspBee II

deCONZ Logs

No response

Additional context

No response

@Mimiix
Copy link
Collaborator

Mimiix commented May 16, 2024

What was your previous version :)?

@kimosak
Copy link
Author

kimosak commented May 16, 2024

Not 100% sure (2.25.2?), is there any way how to check it?

@Mimiix
Copy link
Collaborator

Mimiix commented May 16, 2024

In that case,

please check:
#7246

@kimosak
Copy link
Author

kimosak commented May 16, 2024

Will do, thank you very much :)

@kimosak
Copy link
Author

kimosak commented May 17, 2024

Have I missed something? I checked #7246, but I am none the wiser. I’ve tried to update the DDF for the STARKVIND Air purifier from the deCONZ Toolbox, but there was no change. Also, there are no items under the DDF editor in deCONZ
image

@ebaauw
Copy link
Collaborator

ebaauw commented May 17, 2024

With DECONZ v2.27.0-beta airputifier stopped providing states thru API - there is only lastupdated, the rest is missing (deviceruntime, filterruntime, lastupdated, replacefilter, speed..)

Looks like the DDF wasn't applied? Do you have the right settings in the Control panel?

@kimosak
Copy link
Author

kimosak commented May 19, 2024

Basic mode and Gold status in Control panel, should I try anything else?

@Smanar
Copy link
Collaborator

Smanar commented May 19, 2024

Do the node have a little "DDF" displayed on titlebar ?
And there is no file name in editor title.

How have you updated the DDF ? If you are on 2.27.0, the DDF is already in date.

Delete the DDF you have added, or replace the old one, and just re-include the device

@kimosak
Copy link
Author

kimosak commented May 19, 2024

No "DDF" icon on title bar
image

I've tried to update DDF thru Phoscon web app but no luck, still missing the states from device
image

Can I solve it by re-pairing of the device in deCONZ?

@Zehir
Copy link
Collaborator

Zehir commented May 19, 2024

The Device integration page use DDF bundle, not the DDF json file.

Could you try with this DDF Bundle ?

https://ddf.cryonet.io/bundle/download/ada38fd25cbc1fc9b4da0b86e8af1b4ed659f1074470916bbd9ea6288ef448fc

@kimosak
Copy link
Author

kimosak commented May 19, 2024

I did it like first troubleshoot step and the Device integration report - Import successfull. However, there was no change. The states are still not being reported through the RestAPI.

@Zehir
Copy link
Collaborator

Zehir commented May 19, 2024

Any updates on the deconz gui ?

@kimosak
Copy link
Author

kimosak commented May 19, 2024

No change in GUI and DDF editor is still empty
image

@Zehir
Copy link
Collaborator

Zehir commented May 19, 2024

No DDF or DDB on the node ?

@kimosak
Copy link
Author

kimosak commented May 19, 2024

What is DDB? I see only this on the node
image
and the DDF Editor is empty, no content/device here

@Zehir
Copy link
Collaborator

Zehir commented May 19, 2024

DDB is a DDF bundle, the new feature in 2.27.0, a new way to import DDF in a single file.

It's seems that is there something wrong in your installation.
Did you try to install the last stable version ?

@kimosak
Copy link
Author

kimosak commented May 19, 2024

Thank you @Zehir , downgrading deconz from 2.27.0-beta to 2.26.3 helped. Now I see the DDF and device reports the states thru rest-API. I will stay on this stable version now.

@Zehir
Copy link
Collaborator

Zehir commented May 19, 2024

Yes the 2.27 need more love to work perfectly, like everything, works in the lab but not in production ;)

@Smanar
Copy link
Collaborator

Smanar commented May 20, 2024

So there is something in Version 0.27 that prevent deconz use a DDF bundle AND json ?
But IDK how to reproduce it.

Similar issues
#7776

manup added a commit to dresden-elektronik/deconz-lib that referenced this issue May 26, 2024
The LINUX CMake define was added in CMake 3.25, since the release is compiled with an older version the PL_LINUX wasn't defined.

This caused DDF paths to only be resolved to the local DDF directory.

Issues:
dresden-elektronik/deconz-rest-plugin#7783
dresden-elektronik/deconz-rest-plugin#7785
dresden-elektronik/deconz-rest-plugin#7776
dresden-elektronik/deconz-rest-plugin#7775
@manup
Copy link
Member

manup commented May 31, 2024

Hi had anyone the chance to test if this is fixed with version v2.27.2-beta?

@kimosak
Copy link
Author

kimosak commented Jun 4, 2024

Yes and it is still same, not able to controll device thru API like in 2.26.3

@Smanar
Copy link
Collaborator

Smanar commented Jun 4, 2024

Same issue on DDF stuff ? (Still a "draft" DDF picked by deconz ?)

@manup
Copy link
Member

manup commented Jun 11, 2024

Does the device show the DDF label on the node in the deCONZ UI?

@kimosak
Copy link
Author

kimosak commented Jun 11, 2024

Yes, DDF is visible in deCONZ UI

@manup
Copy link
Member

manup commented Jun 12, 2024

Interesting, then the DDF is supposedly loaded.

I got a starkvind today from office and will make some tests to check if there is something fishy.

@manup
Copy link
Member

manup commented Jun 12, 2024

Here in my test setup with v2.27.3-beta the device can be controlled via API and also reports changes done on the device back to the API.

{
  "config": {
    "filterlifetime": 259200,
    "ledindication": true,
    "locked": false,
    "mode": "speed_2",
    "on": true,
    "reachable": true
  },
  "ep": 1,
  "etag": "3f28aadd46c9bfed7234135ea277ed6b",
  "lastannounced": null,
  "lastseen": "2024-06-12T14:33Z",
  "manufacturername": "IKEA of Sweden",
  "modelid": "STARKVIND Air purifier",
  "name": "AirPurifier 343",
  "productid": "E2007",
  "state": {
    "deviceruntime": 37944,
    "filterruntime": 37944,
    "lastupdated": "2024-06-12T14:34:00.606",
    "replacefilter": false,
    "speed": 40
  },
  "swversion": "1.0.033",
  "type": "ZHAAirPurifier",
  "uniqueid": "0c:43:14:ff:fe:6e:65:55-01-fc7d"
}

Now setting a different speed:

curl -X PUT -d '{"mode":"speed_4"}' 127.0.0.1:8090/api/12345/sensors/343/config
[{"success":{"/sensors/343/config/mode":"speed_4"}}]

Which also reports back as speed_4 and the damn thing is loud as hell:

{
  "config": {
    "filterlifetime": 259200,
    "ledindication": true,
    "locked": false,
    "mode": "speed_4",
    "on": true,
    "reachable": true
  },
  "ep": 1,
  "etag": "bd2f952d339277ac82fcbdbd8229c49c",
  "lastannounced": null,
  "lastseen": "2024-06-12T14:35Z",
  "manufacturername": "IKEA of Sweden",
  "modelid": "STARKVIND Air purifier",
  "name": "AirPurifier 343",
  "productid": "E2007",
  "state": {
    "deviceruntime": 37946,
    "filterruntime": 37946,
    "lastupdated": "2024-06-12T14:35:44.965",
    "replacefilter": false,
    "speed": 80
  },
  "swversion": "1.0.033",
  "type": "ZHAAirPurifier",
  "uniqueid": "0c:43:14:ff:fe:6e:65:55-01-fc7d"
}

Can you please share how your API output looks like when doing this?

@manup
Copy link
Member

manup commented Jun 19, 2024

Hi could anybody with the issue retest with v2.27.4-beta?

@manup
Copy link
Member

manup commented Jun 28, 2024

Closing for now please, please re-open if the issue can still be seen with v2.27.4-beta and up.

@manup manup closed this as completed Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants