Joolee / nl.joolee.homey.espeasy

ESP Easy is a firmware for ESP8266 boards like the WeMos D1 and NodeMCU. It allows you to quickly make custom devices with switches, sensors and other hardware. This app adds support to Homey for connecting with ESP Easy units.
GNU General Public License v3.0
6 stars 5 forks source link

Add support for MH-Z19 #12

Closed Allram closed 3 years ago

Allram commented 3 years ago

I would like to have support for the MH-Z19 device/plugin.

It allows readout of CO2, so you can build an indoor CO2 metering station :)

https://www.letscontrolit.com/wiki/index.php?title=%22CO2_Sensor_MH-Z19%22 https://espeasy.readthedocs.io/en/latest/Plugin/P049.html

Joolee commented 3 years ago

Hi Allram,

Can you follow the steps in the wiki and post the results here? If you need some help, please let me know.

Allram commented 3 years ago

Attached is the .json file (Change the file ending from .txt to .json).

I can't find any app settings page for the app on Homey, so i can't send that log.

json.txt

Joolee commented 3 years ago

In the Homey app, go to: More > Apps > ESP Easy > Cogweel on the top right > Create diagnostics report I don't really need the ID because I don't get that many reports :)

Edit: I looked at the json file, I think I can work with that alone. I get three values though: PPM, Temperature and U. I get the first two, do you have any idea what the last one is?

Edit 2: The source says: "Undocumented, minimum measurement per time period?" So I'll just ignore that value :)

Joolee commented 3 years ago

You can test the latest version at https://homey.app/a/nl.joolee.homey.espeasy/test/ Can you test it for me? I'll put it live if it works.

Allram commented 3 years ago

Works great! Thanks :-D Screenshot_20200804_221407_app homey