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

please, update to more sensors #43

Open angladacamps opened 3 years ago

angladacamps commented 3 years ago

Hi;

I'm Pedro from Spain, a Homebridge enthusiast. I'v been testing/using this Homebridge plugin:

https://www.npmjs.com/package/homebridge-udp-json

I'v seen that you were/are some kind of contributor, or at least I'v seen that you have been very active in Homebridge developing.

What I need is, I think, kind of simple: I have an air quality station with: SDS011 PM25/PM10 dust sensor DHT22 temperature/humidity/baro sensor MH-Z19B CO2 sensor ESP LOLIN V3 nodeMCU controller

So, they'r hardwired and running Easy ESP firmware for controlling them all, and need to link that station to homebridge. One easy way is using UDP packets, but the plugin I link to you only creates temp/humidity sensors in homebridge. I need it to create temp/humidity/barometric/CO2/PM25/PM10 sensors.

Would you be so kind modifying the plugin to provide all these 6 accessories?

Thank you SO MUCH in advance

roboterm commented 3 years ago

9699969B-FC86-4086-A97E-93BAC28401C8 That’s what this plugin is providing (all values represented in the Eve app).

angladacamps commented 3 years ago

and what about CO2 level? I need this too...

El lun, 22 feb 2021 a las 21:34, Robert Wüsten (notifications@github.com) escribió:

[image: 9699969B-FC86-4086-A97E-93BAC28401C8] https://user-images.githubusercontent.com/5045476/108766413-6c9f9600-7555-11eb-88fd-ec0ee096f033.png That’s what this plugin is providing (all values represented in the Eve app).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/toto/homebridge-airrohr/issues/43#issuecomment-783657041, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALLMJ24MZAQU7WOAVACCUUDTAK5VPANCNFSM4YBEYKAQ .

-- Pedro Anglada Camps

angladacamps commented 3 years ago

Would it be very dificult to adapt your plugin (or homebridge UDP one) to have all these sensors in homekit? I'm not a plugin developer but I think that adapting the udp one is very easy as it's only matter of adding 'characteristics' to the plugin. Adapting your plugin is, I think, more difficult as it remains on a firmware that doesn't support CO2 sensors...

El lun, 22 feb 2021 a las 21:34, Robert Wüsten (notifications@github.com) escribió:

[image: 9699969B-FC86-4086-A97E-93BAC28401C8] https://user-images.githubusercontent.com/5045476/108766413-6c9f9600-7555-11eb-88fd-ec0ee096f033.png That’s what this plugin is providing (all values represented in the Eve app).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/toto/homebridge-airrohr/issues/43#issuecomment-783657041, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALLMJ24MZAQU7WOAVACCUUDTAK5VPANCNFSM4YBEYKAQ .

-- Pedro Anglada Camps

roboterm commented 3 years ago

If it’s possible for you to rewrite the coding of your ESP you could use another plugin which provides CO2 sensors:
https://www.npmjs.com/package/homebridge-mqttthing/v/1.0.45#air-quality-sensor

angladacamps commented 3 years ago

ugghh..nope.. MQTT has a big learing curve and I'm very happy with UDP packet based plugin...I use Easy ESP and it's very easy for me send this UDP packets to Homebridge. All I need is modifying the plugin to support CO2 / PM sensors... any chance you could help me with that?

thanks so much anyway

El lun, 22 feb 2021 a las 21:59, Robert Wüsten (notifications@github.com) escribió:

If it’s possible for you to rewrite the coding of your ESP you could use another plugin which provides CO2 sensors:

https://www.npmjs.com/package/homebridge-mqttthing/v/1.0.45#air-quality-sensor

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/toto/homebridge-airrohr/issues/43#issuecomment-783670429, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALLMJ26DACF6VT45HQX2OZTTALARNANCNFSM4YBEYKAQ .

-- Pedro Anglada Camps

roboterm commented 3 years ago

No chance at all, sorry dude. at least I can show you how I made my dht11 sensors connected to a NodeMCU talk to a mqtt broker:
https://github.com/roboterm/homebridge-mqtt-dht11/blob/master/ardu.ino

angladacamps commented 3 years ago

thank you again ayway

El lun, 22 feb 2021 a las 22:07, Robert Wüsten (notifications@github.com) escribió:

No chance at all, sorry dude. at least I can show you how I made my dht11 sensors connected to a NodeMCU talk to a mqtt broker: https://github.com/roboterm/homebridge-mqtt-dht11/blob/master/ardu.ino

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/toto/homebridge-airrohr/issues/43#issuecomment-783674861, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALLMJ237Y4RGKQV5CHWNOSTTALBQDANCNFSM4YBEYKAQ .

-- Pedro Anglada Camps