steilerDev / homebridge-openhab2-complete

A homebridge plugin for openHAB, that has the expectation to fully support all Services offered by Apple's Homekit Accessory Protocol (HAP)
GNU General Public License v3.0
52 stars 16 forks source link

AtmosphericPressureLevel request #14

Closed sindudas closed 4 years ago

sindudas commented 5 years ago

I can't see the HAP Service for Air Pressure, available on homebridge on some plugins.

Because there are some Sensors like Aqara Smart Temperature Humidity Sensor, that reports Temperature, Humidity and Atmospheric Pressure. It would be nice to add it.

Very good work!

steilerDev commented 5 years ago

Hi @sindudas,

I checked Apple's docs and it seems that atmospheric pressure is not supported in HomeKit at the moment. If you know which accessory type supports it, please let me know, because adding it is relatively simple.

I only see 'Ozone Density', 'Air Prticulate Density' and several other metrics related to air quality (PM10 Density, VOC Density, PM2.5 Density, NO2 Density, SO2 Density)

Thanks,

Frank

sindudas commented 5 years ago

Hi @steilerDev,

May be it was supported in the past, but now it doesn't.

Found a homebridge-plugin using that: https://github.com/ochococo/homebridge-mqtt-pressure But on HAP-NodeJS/HomeKitTypes.js it doesn't appear.

Sorry for the wrong request.

thanks for the job on that plugin. I'm implementing it, and i find it a better soluciont for homekit integration.

steilerDev commented 5 years ago

The plugin you are linking is using https://github.com/homespun/hap-nodejs-community-types as a provider for the Atmospheric Pressure. I will test this HomeKit extension and will come back to you, if I will implement those or not.

Thanks for pointing this out to me :)

steilerDev commented 4 years ago

I now looked into this. Those community types are not supported by the Home.app. Since I only test against this app I can't release anything that is not supported by the App. Therefore we have to wait, that Apple adds Atmospheric Pressure Sensor to the official HAP specification.