Closed terrorhai closed 3 years ago
You probably mean the Air Quality property http://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:air-purifier:0000A007:zhimi-za1:1, since there is no TVOC property. The property is already retrieved from the device, the issue is that with the limited Home app Ui there is no meaningful way to display it since the Home app does not support TVOC. Probably i could use a Illumination sensor to display the TVOC value, at least that way it would be visible in the UI...
Hey merdok, thx for the answer. Is it possible to switch between Lux sensor for native home app and probably a better displaying for the EVE app?
Automatically it would not be possible, just manually. But i do not think that it would be a good idea to differentiate between various apps...
Afaik the official Weather Plus plugin does this too, because many people use the EVE app with thing like fakegato. I attached a screenshot from Weather Plus.
For now I have no plans to do something similar, mostly because there are other more important things which needs to be done.
Okay, understood! Is it easy todo with only the Lux sensor thing?
Yes, with the lux sensor it would be straightforward.
Yeah, then this should be enough for the start :-)
Ok, i will add the TVOC value as a lux sensor in the next update! Will let you know when it is ready!
Thanks!!
As of version 0.9.7 TVOC should be displayed as part of the air quality sensor!
Hey merdok, nice update and way better than a lux sensor π
I'm just thinking about a probably missing 0 in front of the VOC value because 8mg/m3 in my case would be a really hardcore high value while the Mi app says very good.
Hit me if I'm wrong π
The value 8 should be the raw value that the device is reporting. I mean you can enable debug log and you will see in the terminal what raw values are synced from the device to make sure that it is correct.
But also like I already said, your device does not report the TVOC value but an Air quality value, so I am not sure if this air quality value is actually the TVOC value...
Okay, ignore what I've said. The unit is in micrograms, not milligrams π
So it's working better than expected and is exactly how it should work!
Good to hearπ
I use two Smartmi Air Purifier which work nice with miot. But the don't only have PM2.5, they also monitor TVOC (gas concentration). Is it possible to give this value to Homekit?