Replies: 22 comments 51 replies
-
Can you share the database.db entry and a screenshot of the cluster tab in the frontend? |
Beta Was this translation helpful? Give feedback.
-
@sjorge database.db: Cluster Tab Screenshot: https://pasteboard.co/cT4qJFMQIYcv.png |
Beta Was this translation helpful? Give feedback.
-
OK it's hard without the device but lets try to get it working bit by bit, you may need to rejoin or at the very least reconfigure it after the change. I'm just gonna start with the toZigbee/fromZigbee, the expose data can come later. const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const constants = require('zigbee-herdsman-converters/lib/constants');
const e = exposes.presets;
const ea = exposes.access;
const definition = {
zigbeeModel: ['STARKVIND Air purifier'],
model: 'E2007',
vendor: 'IKEA',
description: 'STARKVIND Air purifier',
exposes: [e.illuminance(), e.illuminance_lux(), e.fan().withModes(['low', 'medium', 'high', 'on', 'smart'], e.pm25()],
fromZigbee: [fz.illuminance, fz.heiman_pm25, fz.fan],
toZigbee: [tz.fan_mode],
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['msIlluminanceMeasurement', 'heimanSpecificPM25Measurement', 'hvacFanCtrl']);
await reporting.illuminance(endpoint);
await endpoint.configureReporting('heimanSpecificPM25Measurement', reporting.payload('measuredValue', 0, constants.repInterval.HOUR, 1));
},
};
module.exports = definition; It's weird to see a heiman specific cluster on an ikea device, I'm unsure if the pm25 will work, but it's worth a shot. I also added the converters for the hvacFanCtrl so hopefully you should also be able to control the fan. Let me know what works and what doesn't, I can do a 2nd pass over this and open a PR to get it supported. |
Beta Was this translation helpful? Give feedback.
-
@sjorge Okay, i was on an old version of zigbee2mqtt. With the latest version and your code the fan control is working. But msIlluminanceMeasurement and heimanSpecificPM25Measurement are still not working. |
Beta Was this translation helpful? Give feedback.
-
I created a PR for this. It includes only the fan control. |
Beta Was this translation helpful? Give feedback.
-
database.db: |
Beta Was this translation helpful? Give feedback.
-
Here is one with just the fanMode and it also configures reporting for it, so hopefully it will update when you change it on the device too. const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const constants = require('zigbee-herdsman-converters/lib/constants');
const e = exposes.presets;
const ea = exposes.access;
const definition = {
zigbeeModel: ['STARKVIND Air purifier'],
model: 'E2007',
vendor: 'IKEA',
description: 'STARKVIND Air purifier',
exposes: [e.fan().withModes(['off', 'low', 'medium', 'high', 'on', 'auto', 'smart'])],
fromZigbee: [fz.illuminance, fz.heiman_pm25, fz.fan],
toZigbee: [tz.fan_mode],
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['hvacFanCtrl']);
await reporting.fanMode(endpoint);
},
};
module.exports = definition; So based on the fanMode constant, that is probably all of them:
|
Beta Was this translation helpful? Give feedback.
-
Hi, at the moment i don't buy Starkvind. But I'm short of it. I have a question about this device support. There is an air quality sensor built in and via app you can read air quality. It seems that this will not supported. Device page say that there is only fan control available. |
Beta Was this translation helpful? Give feedback.
-
Thanks for reply. I bought one and that isn't working well. I can switch off. Not on. I must switch it by hand on. There is no response if I select a mode. I get only an error: "No converter available for 'mode' (low)". |
Beta Was this translation helpful? Give feedback.
-
OK, found out now that MQTT set modes work, but not work via frontend. There are more version as E2007 maybe E2006... Are this devices are the same, we can extend the device name to E2006/E2007. I will start in the investigation, too. Maybe we find together missing things. There are more things to do:
Some suggests: ON doesn't work. For me only auto or another mode will switch this device on. |
Beta Was this translation helpful? Give feedback.
-
I've ordered one of the black ones, should be here next week. I should be able to figure most of that out, I hope. |
Beta Was this translation helpful? Give feedback.
-
That sounds wired. "Vindriktning can combine with Förnuftig" You can read this on their website. So I don't know how to combine it. Vindriktning can't do this normally. So maybe in the future there is an external sensor and this is for future implementation of something else. Maybe there use illumination channel for this. Thanks for your investigations. |
Beta Was this translation helpful? Give feedback.
-
Yeah same as in the hardware, but I’m guessing they are on one of the other clusters
~ sjorge
… On 9 Nov 2021, at 20:48, Håkan Eriksson ***@***.***> wrote:
I discovered in the IKEA app that you can select additional fan speeds: 1.5, 2.5, 3.5, 4.5.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
Each tick is half a speed
Low = 1
Med = 3
High = 6
On the device, setting it using zigbee always skips one.
~ sjorge
… On 9 Nov 2021, at 22:29, Håkan Eriksson ***@***.***> wrote:
How do you select half speeds on hardware? I don't succeed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
That’s even more level :/ so currently we can set 1/3 of those.
~ sjorge
… On 9 Nov 2021, at 23:16, Håkan Eriksson ***@***.***> wrote:
On the device I can set [1, 2, 3, 4, 5, Auto]. On Ikea app I can set [1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, Auto].
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
New PR open to add pm25/air quality Thats as much as I could do without a gateway, hope to get my hands on one near end of month but not promises.
|
Beta Was this translation helpful? Give feedback.
-
Unless the gateway somehow reads or writes to them, no.
~ sjorge
… On 14 Nov 2021, at 11:20, Håkan Eriksson ***@***.***> wrote:
Any idea to figure out attribute 1 and 2? Possibly one is connected to the inspect filter led?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
Started on a custom Home Assistant Lovelace card for the Ikea Starkvind air purifier. https://github.com/hakaneriksson/air-purifier-card |
Beta Was this translation helpful? Give feedback.
-
Good evening, Thanks. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to add more attributes based on this? |
Beta Was this translation helpful? Give feedback.
-
Starkvind connected to Z2M v1.37.1 |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, |
Beta Was this translation helpful? Give feedback.
-
Hello together,
I just bought the new Starkvind air purifier from ikea. I tried to add support for it with the instuctions from here. But I´m unable to get it work. It is pairing successfull. But i dont know how to configure it. Can someone help me?
My config so far:
Here is a small part of the log output:
Beta Was this translation helpful? Give feedback.
All reactions