Comments (8)
See dresden-elektronik/deconz-rest-plugin#7297
from homebridge-deconz.
ok. read dresden-elektronik/deconz-rest-plugin#7297 a few times. Still can not figure out where the values in the log is coming from - even in the phoscon/pwa/debug-api.html I don't get any value thats close to the µg/m³ values.
PM 2.5 Density - Homebridge log:
[1/15/2024, 7:30:54 PM] [deCONZ] ParticulateMatter 20: VOC Density: set to 1010 µg/m³ (from 987 µg/m³)
PM 2.5 Density - deconz api:
```
{
"capabilities": {
"measured_value": {
"max": 999,
"min": 0,
"quantity": "density",
"substance": "PM2.5",
"unit": "ug/m^3"
}
},
"config": {
"on": true,
"reachable": true
},
"ep": 1,
"etag": "058684851de5dffa10a613d6cc4cb8a6",
"lastannounced": null,
"lastseen": "2024-01-15T18:30Z",
"manufacturername": "IKEA of Sweden",
"modelid": "VINDSTYRKA",
"name": "Luftqualität1",
"productid": "E2112",
"state": {
"airquality": "excellent",
"lastupdated": "2024-01-15T18:30:07.319",
"measured_value": 4,
"pm2_5": 4
},
"swversion": "1.0.11",
"type": "ZHAParticulateMatter",
"uniqueid": "a4:6d:d4:ff:fe:50:d0:f7-01-042a"
}
from homebridge-deconz.
PM 2.5 Density - Homebridge log
No, that’s the VOC density.
from homebridge-deconz.
yes, that is what I am questioning - where is the "VOC density" (value eg "1010 ug/m3") in that homebridge log coming from?? The deconz API is not offering anything that is described as "VOC density" - no data at all - even when I connect to the websocket via node-red and reading all data. The only response that I am getting is the one above - mixing up "PM2.5" substance with quantity "densitiy" and unit as "ug/m3" and values in state giving "pm2_5" correctly as as "ppm" value (eg 4) - makes no sense.
Might it be a problem, that I am using deconz gateway version 2.25.1 ?! But still where eg is the "1010 ug/m3" coming from... is it somehow calculated homebridge-deconz?
from homebridge-deconz.
deCONZ exposes the VINDSTYRKA using four resources: ZHATemperature, ZHAHumidity, ZHAParticulateMatter, and ZHAAirQuality. The latter exposes VOC level (in ppm, computed from the index reported by the sensor), which Homebridge deCONZ translates to VOC density (by multiplying it by 4.57).
from homebridge-deconz.
thanks a lot - this was the missing information!!
I was so afraid of having a "VOC Problem" - with values of the VOC Density above 10.000 µg/m³ and even more I am far above every govermental defined critical threshold (< 300 µg/m³ is ok for example) !! But I do not think that this is really a problem, because the sensor itself and the chain of value translations seem to be scientificly weak...
to sum it up:
IKEA VINDSTYRKA delivers a so called VOC Index defined from the manufacturer of the internal sensor SEN54 - (https://sensirion.com/media/documents/02232963/6294E043/Info_Note_VOC_Index.pdf)
This value than in deconz is converted into a tVOC value measured in ppb by taking a "conversion table" of a different sensor manufacturer (but I am not really sure if they may be using the same sensors?! - both swiss companies - but in a way how they describe their indizes they seem to have a totally different index-building algorithm)
(https://learn.kaiterra.com/en/resources/understanding-tvoc-volatile-organic-compounds)
At the end in homebridge-deconz - to match it into homekit VOC density - it is converted again by a commonly used factor of 4.57 from ppb to µg/m³ (simont77/fakegato-history#107)
For me the big ??? is in the 2nd conversion happening in deconz. But nevertheless these sensors can only show trends in the actual airquality. May be it's to ambitious to think that these sensors are actually showing you real pollutions of formaldehyd etc. - even when compannies like Dyson claim that ther sensors can do that and also their air purifiers can "clean" he air ;)
from homebridge-deconz.
From the manufacturer of the sensor I found a interesting paper to convert directly from the VOC Index to the VOC density - https://sensirion.com/media/documents/4B4D0E67/6436C169/GAS_AN_SGP4x_BuildingStandards_D1.pdf
Putting in the range of the index 1-500 lead into VOC density values between 25 and 6.221 µg/m³ - that makes more sense to me...
Is the "raw" VOX Index value available & accessable somewhere in deconz?
from homebridge-deconz.
Yes, in the GUI. It’s not exposed by the APi, though.
from homebridge-deconz.
Related Issues (20)
- ZHAThermostat - schedules possible? HOT 1
- [deCONZ] : warning: using default xy gamut HOT 6
- Exposed by legacy code HOT 4
- Styrbar switch in homebridge but not in homekit HOT 6
- ZHAThermostat - display temperature of external sensor HOT 11
- Switches only affect Non-Zigbee HomeKit Devices HOT 4
- Didn't get Phoscon (RaspbeeII) work with homebridge-deconz HOT 6
- otau: self-signed certificate in certificate chain HOT 2
- Mystery Homebridge Button HOT 2
- Log reporting "Programmable Switch Event: Single Press" every minute HOT 1
- request 1: /: api error 1: unauthorized user HOT 7
- SOMRIG IKEA only on botton in HK HOT 4
- help with log Levels HOT 4
- Strange window covering behavior HOT 22
- TypeError: Cannot read properties of null (reading 'replace') HOT 12
- [deCONZ] Homebridge Button: Programmable Switch Event: Single Press HOT 3
- TS000F - Switching between Lights and Fan Type HOT 7
- Possible EventEmitter memory leak detected HOT 5
- Lidl Silvercrest HG06338 HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-deconz.