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

Multiple temperature/humidity sensors #26

Open nielsth opened 5 years ago

nielsth commented 5 years ago

When both a BME280 and DHT22 sensor are added, the temperature and humidity is registered twice. Results can vary quite a bit between the two.

Any chance for two temperature and two humidity sensors to be added to HomeKit with such a set-up?

Here's the local JSON data:

{"software_version": "NRZ-2018-123B", "age":"18", "sensordatavalues":[{"value_type":"SDS_P1","value":"48.42"},{"value_type":"SDS_P2","value":"27.48"},{"value_type":"temperature","value":"15.30"},{"value_type":"humidity","value":"80.80"},{"value_type":"BME280_temperature","value":"16.91"},{"value_type":"BME280_humidity","value":"56.89"},{"value_type":"BME280_pressure","value":"100426.13"},{"value_type":"samples","value":"1786702"},{"value_type":"min_micro","value":"77"},{"value_type":"max_micro","value":"41141"},{"value_type":"signal","value":"-57"}]}

toto commented 5 years ago

Indeed that's a good idea and I will takle this at some point. But it's a major revamp internally so it won't be anytime soon I'm afraid.