Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support For Tuya NDIR Co2 Sensor MTP40-F #2706

Open
plplaaa2 opened this issue Apr 29, 2024 · 3 comments
Open

Add Support For Tuya NDIR Co2 Sensor MTP40-F #2706

plplaaa2 opened this issue Apr 29, 2024 · 3 comments

Comments

@plplaaa2
Copy link

Describe the problem you have/What new integration you would like

Add Support For Tuya NDIR Co2 Sensor MTP40-F

image

image

Data Sheet

https://nettigo.eu/attachments/608

MTP40-F sensor is almost the same as mhz-19.

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

Additional context

Arduino library for MTP40F CO2 sensor.

https://github.com/RobTillaart/MTP40F

@Nistp
Copy link

Nistp commented May 3, 2024

I'll be happy to work on this, but I'd need someone with the sensor to test it for me.

@plplaaa2
Copy link
Author

plplaaa2 commented May 3, 2024

I'll be happy to work on this, but I'd need someone with the sensor to test it for me.

I think I can help the test. But I'm not a programmer, so I think only limited tests are possible.

As a result of my own test with the mhz-19 component, I was able to read the co2 value.
However, ABC or calibrate zero does not seem to work.

image

[14:49:10][VV][uart.arduino_esp32:180]:     Flushing...
[14:49:10][D][mhz19:065]: MHZ19 Received CO₂=538ppm Temperature=-40°C Status=0x00
[14:49:10][V][sensor:043]: 'CO2 Level': Received new state 538.000000
[14:49:10][D][sensor:094]: 'CO2 Level': Sending state 538.00000 ppm with 0 decimals of accuracy
[14:49:10][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
  key: 822384752
  state: 538
  missing_state: NO
}

@Nistp
Copy link

Nistp commented May 6, 2024

That's pretty interesting, as the commands seem to be quite different for the two, based off the datasheet! I'll start working on this, it might take me a bit. I'll keep you updated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants