NRCHKB / node-red-contrib-homekit-bridged

Node-RED Contribution - HomeKit Bridged : Node-RED nodes to simulate Apple HomeKit devices.
https://nrchkb.github.io
MIT License
419 stars 52 forks source link

More characteristic for Air Quality sensor #256

Closed mastrikGit closed 4 years ago

mastrikGit commented 4 years ago

Hi All!

At this moment Air Quality Sensor support only two characteristic: PM2_5Density PM10Density

Homekit protocol suppots also: Ozone Density Nitrogen Dioxide Density Sulphur Dioxide Density VOC Density

This fork (https://flows.nodered.org/node/@plasma2450/node-red-contrib-homekit-bridged) had option to pass: Carbon Monoxide Level Carbon Dioxide Level I have working setup with it.

Is it possible to add support for all this characteristics?

Shaquu commented 4 years ago

Please share node-red flow with us regarding the problem with lucking support for Characteristics.

Also show how you try to set them. On 23 May 2020, 17:10 +0200, mastrikGit notifications@github.com, wrote:

Hi All! At this moment Air Quality Sensor support only two characteristic: PM2_5Density PM10Density Homekit protocol suppots also: Ozone Density Nitrogen Dioxide Density Sulphur Dioxide Density VOC Density This fork (https://flows.nodered.org/node/@plasma2450/node-red-contrib-homekit-bridged) had option to pass: Carbon Monoxide Level Carbon Dioxide Level I have working setup with it. Is it possible to add support for all this characteristics? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

mastrikGit commented 4 years ago

Rechecked debug message from node: "Try one of these characteristics: Name, AirQuality, StatusActive, StatusFault, StatusTampered, StatusLowBattery, Name, OzoneDensity, NitrogenDioxideDensity, SulphurDioxideDensity, PM2_5Density, PM10Density, VOCDensity"

So was i was partly miscorrect: Wiki page about Air Quality Sensor miss info about support for: Ozone Density Nitrogen Dioxide Density Sulphur Dioxide Density VOC Density

But second part remains same: is it possible to pass more charachteristics applicable for air quality?

Shaquu commented 4 years ago

These will be supported in the next release:

    this.addCharacteristic(Characteristic.AirQuality);
    this.addOptionalCharacteristic(Characteristic.StatusActive);
    this.addOptionalCharacteristic(Characteristic.StatusFault);
    this.addOptionalCharacteristic(Characteristic.StatusTampered);
    this.addOptionalCharacteristic(Characteristic.StatusLowBattery);
    this.addOptionalCharacteristic(Characteristic.Name);
    this.addOptionalCharacteristic(Characteristic.OzoneDensity);
    this.addOptionalCharacteristic(Characteristic.NitrogenDioxideDensity);
    this.addOptionalCharacteristic(Characteristic.SulphurDioxideDensity);
    this.addOptionalCharacteristic(Characteristic.PM2_5Density);
    this.addOptionalCharacteristic(Characteristic.PM10Density);
    this.addOptionalCharacteristic(Characteristic.VOCDensity);
crxporter commented 4 years ago

@mastrikGit - release 1.1.1 is live now supporting the extra options. Take a look and comment here or join our Discord group to discuss.

crxporter commented 4 years ago

Closing for now, let us know if you have any issues on release 1.1.1 which should have these features.