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
DDF add item file for cap/measured_value/substance #7146
Conversation
Wasn't that item supposed to be called |
IDK, it make no difference for me. |
Updated for substance |
That was my question in another PRs comment. I agree that "dimension" is a bit meh, but keep in mind that measured value is not all about substances, e.g. °C for temperature isn't a substance. I'd prefer a generic word here, otherwise it feels again like the Window Covering devices under a Ideas? |
The physics term for what you're measuring: As opposed to how you express a measured value: |
https://en.wikipedia.org/wiki/List_of_physical_quantities Everybody ok with |
No? You might have totally lost me on this one, but were discussing the "what", not the "how much"? |
In physics, the “what” is called “quantity”, see the Wiki that Manu linked. |
Sodium is the name a chemical element, it is what will serve as an example here. Sodium has SI defined base quantities, e.g. a mass or an amount of substance. Haven't seen any chemical element been defined as quantity, but maybe I've overlooked it. |
Neither have I. Nor have I seen any sensors that measure a chemical elements. Sensors measure quantities like the density or level of that element. CO2 is a chemical element; CO2 level is a quantity, typically expressed in ppb; CO2 density would be another quantity, typically expressed in um/m3.
The amount of CO2 would be yet another quantity, typically expressed in mol. I haven’t seen any sensors for that. I suppose we could split quantity (what) vs substance (of what) into separate attributes. That would also help with air temperature vs water temperature vs device temperature (although it might be a stretch to see a device as “substance”), or mains voltage vs battery voltage. |
I guess we're pretty close to each other
This is what I'm arguing, and only the of what part. We're here with the Concentration Measurement cluster only, which lists something like 32 chemical elements or organic/chemical compounds (primarily). Zigbee standard calls the of what "substance measured", the suggestion in PR #7121 was to call it "dimension", which I dislike and do not feel appropriate. Even the SI base quantity "amount of substance" references substance, so I'd suggest we just call it like that For anything else related to quantities (what), be it to call it generically "quantity" or name whatever as a base quantity or anything even more specific, you most likely get an instant full ACK from me 🙂 |
From my point of view, quantity is the amount of something and not the something by itself (/measured_value/substance) expressed in a certain unit of measurement (measured_value/unit) whose value is measured_value. |
I'm still a bit lost here. So from my understanding if we go with Would that be ok? |
Sorry if my previous post may have added to the confusion. I reviewed it in order to remove all that was humorous or not factual which may not go well all the time... ;-) |
See #7121