Git Product home page Git Product logo

Comments (8)

ebaauw avatar ebaauw commented on July 30, 2024

See dresden-elektronik/deconz-rest-plugin#7297

from homebridge-deconz.

tomtefuchs avatar tomtefuchs commented on July 30, 2024

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.

ebaauw avatar ebaauw commented on July 30, 2024

PM 2.5 Density - Homebridge log

No, that’s the VOC density.

from homebridge-deconz.

tomtefuchs avatar tomtefuchs commented on July 30, 2024

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.

ebaauw avatar ebaauw commented on July 30, 2024

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.

tomtefuchs avatar tomtefuchs commented on July 30, 2024

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.

tomtefuchs avatar tomtefuchs commented on July 30, 2024

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.

ebaauw avatar ebaauw commented on July 30, 2024

Yes, in the GUI. It’s not exposed by the APi, though.

from homebridge-deconz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.