homebridge-edomoticz icon indicating copy to clipboard operation
homebridge-edomoticz copied to clipboard

CO2 sensor, values not going to HMCharacteristicTypeCarbonDioxideLevel

Open JustKarma123 opened this issue 2 years ago • 2 comments

Really love the eDomoticz plugin for Homebridge it's amazing thank you for all the hard work.

I have been using this for a while and got a issue with how Carbon Dioxide levels are presented from Domoticz to Homebridge.

I am using MCO Home MH9 Carbon Dioxide sensors and in Domoticz this is correctly logged as Carbon Dioxide with values from 0-5000ppm and with an air quality value of 0-5 (0=not used, 1=excellent, 2=good, 3=fair, 4=inferior and 5=poor). In Domoticz the device is TYPE "Air quality" and SUBTYPE is "Voltcraft CO-20". This SUBTYPE is Carbon Dioxide with values 0-5000ppm.

When the MCO Home MH9 Carbon Dioxide sensor is exposed to Homebridge via eDomoticz the device is correctly recognised as type "Air Quality Sensor" and "Air Quality" (HMCharacteristicValueAirQuality) values 0-5 are correct. However the Co2 values in ppm (0-5000) are seem to be going to "Air Particulate Density" (HMCharacteristicTypeAirParticulateDensity).

This is the in correct HMCharacteristicType. Carbon Dioxide, Co2 PPM, values should be going to HMCharacteristicTypeCarbonDioxideLevel. Is there anyway this can be updated? If you need any further information please let me know.

https://developer.apple.com/documentation/homekit/hmcharacteristictypecarbondioxidelevel

JustKarma123 avatar Jun 14 '22 11:06 JustKarma123