Skip to content

ObstructionDetected Attribute within the Eve Cluster #1196

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lboue
Copy link
Contributor

@lboue lboue commented Jul 18, 2025

For Eve MotionBlinds, ObstructionDetected attribute within the Eve Cluster

Boolean obstructionDetected 319422480 / AttributeId: 319422480 (0x00130a0010)

@lboue lboue marked this pull request as ready for review July 18, 2025 20:15
@agners agners added the new-feature New feature or request label Jul 21, 2025
@jvmahon
Copy link

jvmahon commented Jul 31, 2025

Have you considered using the ObstacleDetected bit (bit 5) within the Safety Status attribute 0x001A of the Window Covering cluster? That might let you get the information you need in a "standardized" way without having to add anything to Python Matter Server.

From Section 5.3.5.4 of the Matter Application Cluster Version 1.4.1 spec:
image

@lboue
Copy link
Contributor Author

lboue commented Aug 1, 2025

Have you considered using the ObstacleDetected bit (bit 5) within the Safety Status attribute 0x001A of the Window Covering cluster? That might let you get the information you need in a "standardized" way without having to add anything to Python Matter Server.

From Section 5.3.5.4 of the Matter Application Cluster Version 1.4.1 spec:

Yes, I noticed that. We can add the management of one or two alerts associated with the SafetyStatusBitmap bitmap.
But in principle, you should handle them all. It is mandatory in the specifications.
The only solution I have is to add one MatterDiscoverySchema per bit, i.e. 12 schemas. I don't think this is a very clean implementation. I haven't figured out how to manage this correctly in the Home Assistant integration.

@jvmahon
Copy link

jvmahon commented Aug 1, 2025

The only solution I have is to add one MatterDiscoverySchema per bit, i.e. 12 schemas. I don't think this is a very clean implementation. I haven't figured out how to manage this correctly in the Home Assistant integration.

An option is to add the SafetyStatusBitmap as a new attribute of the window cover using the extra_state_attributes method. Probably not an ideal solution, but it gets you all the bits without having to add a dozen UI elements. I was going to use the estra_state_attributes with the Window Covering to add the targetPosition attribute; if you think adding the SafetyStatusBitmap as an attribute would be useful, reach me on Discord at "jvm" and I can do it at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants