-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 pm25/air quality support to IKEA STARKVIND #3338
Conversation
Unfortunately it looks like we can't configure reporting for this attribute. The value is not update when the device is not running. The user can manualy poll the value.
@Koenkk question about the the precision option, can I set the default to 2 for the device? Or is that always 0 ? I'm OK with either but the device supports up to 2 |
If the default is 2, please set the default to 2. |
Yes, but how? It's not obvious to me where to set the default. |
Does it work after adding zigbee-herdsman-converters/lib/utils.js Line 75 in 1ad7e28
|
That seems to work, that will effect other pm25 sensors like the heiman ones too right? |
* Revert "Add pm25/air quality support to IKEA STARKVIND E2007 (#3338)" This reverts commit 1ad7e28. * Add fz.ikea_air_purifier * Add tz.ikea_air_purifier_* * Update STARKVIND expose data * Update STARKVIND reporting * Fix lint * Rework STARKVIND to custom fan_mode/fan_state * Rename filterOperationTime to filterRunTime * Use value from filterLifeTime * Report filterRunTime once an hour filterRunTime
Reporting for this cluster doesn't seem to work, it returns INVALID_DATA.
From what I gather from the various discussions over at the z2m repo is that the app will poll the value when viewing the device. The value also only updates when the fan is running, if the fan is off after a while the value will return 65535 indicating the current value is not known.
Edit: I assume we should update the notes for the device to indicate that the value needs to be manual refreshed and it's quirks?