esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
401 stars 26 forks source link

Snooping tx/rx for SensAir S8 (esphome) to get co2 values when sensor controlled by other host (Trotec BZ25) #2702

Closed RedNax67 closed 1 month ago

RedNax67 commented 1 month ago

Describe the problem you have/What new integration you would like I'm not able to roll my own sadly, however could we (as in someone who knows what their doing :) ) adapt ESPhome component senseair to operate like pm1006? The pm1006 component snoops both rx and tx and waits for a foreign host to issue the read command to the sensor, it then captures the response from the other line.

Please describe your use case for this integration and alternatives you've tried:

The Trotec BZ25 has a sensair sensor and obviously also controls it so adding an esp and snooping the traffic would leave the bz25 in full working order, and we'd have the co2 values for ha. Adding the an esp with the current sensair component leaves both the bzz25 and the esp unable to read the sensor values as they're interfering in eachothers transmissions.

Additional context