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

Matter automatically exposes all detected Temperature sensors #18430

Merged
merged 3 commits into from
Apr 16, 2023

Conversation

s-hadinger
Copy link
Collaborator

Description:

Matter: automatic advertising of all detected Temperature sensors, on endpoints 32..39 (8 max).

The endpoint numbers are fixed to avoid any disaster if some sensors are temporarily disconnected.

The detection is based on Sensors JSON, any attribute of level 2 called "Temperature" is assigned to an endpoint.

The assignment of endpoints may evolve to a more static scheme if it makes more sense.

Example:

00:00:07.035 MTR: Endpoint:1 Relay_1
00:00:07.097 MTR: Endpoint:50 Temperature (AXP192#Temperature)
00:00:07.104 MTR: Endpoint:51 Temperature (BMP280#Temperature)
00:00:07.112 MTR: Endpoint:54 Temperature (SHT3X#Temperature)

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.4.9
  • The code change is tested and works with Tasmota core ESP32 V.2.0.7
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@s-hadinger
Copy link
Collaborator Author

Does not work. On hold.

@s-hadinger s-hadinger closed this Apr 16, 2023
@s-hadinger
Copy link
Collaborator Author

There is a problem of memory saturation that I need to address later.

@s-hadinger s-hadinger reopened this Apr 16, 2023
@s-hadinger s-hadinger merged commit 82e9410 into arendst:development Apr 16, 2023
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.

1 participant