toto / homebridge-airrohr

HomeBridge module for the DIY luftdaten.info particulates sensor. See http://luftdaten.info how to build your own
http://luftdaten.info
MIT License
52 stars 12 forks source link

Binary sensors for PM2.5 and PM10 #25

Closed nielsth closed 2 years ago

nielsth commented 5 years ago

Currently the PM2.5 and PM10 values are combined in an air quality sensor. This enables to see the air quality in the home overview (if the sensor is selected as a favourites) and in the home status (if the sensor reports a low air quality).

Would it be possible to show both PM2.5 and PM10 as separate binary sensors as well? This way, when the certain treshhold is reached the binary sensor will be triggered. These binary sensors allow for notifications and automations.

The CO2 sensors of Netatmo Home Coach (native HomeKit support) and Indoor modules of the Netatmo Weather Station (through Homebridge plug-in) work the same way, which I find really useful.

Ideally this would be an option in the config, so users can choose whether to have the additional two tiles in the Home app.

nielsth commented 2 years ago

From what I've learned since opening this, only CO2, CO and smoke are supported as binary sensors. The HomeKit spec doesn't support binary sensors for CO2 and CO at the moment, so I'll cancel this for now.