Skip to content

Conversation

@flashmark
Copy link
Contributor

Adding P164 gasses ENS16x measuring eCO2 & TVOC.
Code is based upon Sciosense Arduino code from Github and adapted to ESPeasy concepts.
The code should work on both ENS160 and ENS161 devices. I can test ENS160 only.

Copy link
Member

@TD-er TD-er left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did a first quick scan over the PR.
But since I kept seeing the same issue, please fix these things first.

Just don't write to Serial for logs,
Rather use addLog(LOG_LEVEL_INFO, F("...")); or LOG_LEVEL_ERROR

@tonhuisman
Copy link
Contributor

You haven't yet included USES_P164 in both define_plugin_sets.h and Custom-sample.h.

I think this one should be included in Collection G and MAX builds, and probably in the Climate builds, (not sure if will fit in the ESP8266 builds though).

@flashmark
Copy link
Contributor Author

Added P164 ENS16x to Collection G and Climate. As far as I understand the structure all Collection G plugins will be included in MAX. Collection G and Climate do compile and run on ESP8266.

@flashmark flashmark requested a review from TD-er January 15, 2024 19:59
@flashmark
Copy link
Contributor Author

I tried to merge some files, but I don't understand how Github can update my branch such that I can finish this pull request. Code is running fine and last review comments are processed.

@tonhuisman
Copy link
Contributor

Only TD-er can merge pull requests, so we'll wait for that. 😺

@TD-er
Copy link
Member

TD-er commented Feb 3, 2024

Mergeconflict resolved

@TD-er TD-er merged commit 438ef4f into letscontrolit:mega Feb 3, 2024
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

Successfully merging this pull request may close these issues.

3 participants