brutella / hkknx-public

hkknx is a HomeKit KNX bridge for KNX.
https://hochgatterer.me/hkknx
97 stars 6 forks source link

Add CO2 Level in ppm to Carbon Dioxide sensor #85

Closed brutella closed 3 years ago

brutella commented 3 years ago

At the moment a carbon dioxide sensor only lets you specify a group address, which indicates if the "CO2 level" is high (1) or low (0). There should be a new characteristic "CO2 Level (ppm)" with data type DPST-9-8, which indicates the CO2 level in parts per million.

Based on the CO2 level in ppm, the bridge should automatically set the CO2 Level to Abnormal if more than 2.000 ppm are reported.

Are there any KNX sensors, which use a value between 0-100% to measure the CO2 level in the air? If yes, I will add the datatype DPST-5-1 for this new characteristic as well.

brutella commented 3 years ago

This is now supported in the latest pre-release build for 1.2.0 Set DPST-9-8 as the datapoint type for the CO2 level characteristic.