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

Auto Capability Detection Support #13

Open
KazWolfe opened this issue Mar 27, 2024 · 0 comments
Open

Auto Capability Detection Support #13

KazWolfe opened this issue Mar 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@KazWolfe
Copy link
Collaborator

KazWolfe commented Mar 27, 2024

Recent efforts to document Packet 0x7B have given us the ability to programmatically detect what any given heat pump can do and what features exist on any given unit.

Instead of having to manually set our unit capabilities as part of ESPHome configuration, it would be nice if the library could instead read and automatically determine what is available and expose those things appropriately.

Special Considerations

  • ESPHome's docs say that the climate traits field is intended to be static across all of execution time. Further research may be needed into how to dynamically create a Climate entity (if that's even possible).
  • As a stopgap measure, simply printing the device capabilities to log would be a good first step.

Prior Art

  • The ESPHome integration for Midea ACs has autoconf support that we might be able to leverage if we're fast enough.
    • Per ESPHome discord, we can set traits in code, but we need to be quick about it. Unsure if we can satisfy that guarantee with the current setup, but worth a shot.
@Sammy1Am Sammy1Am added the enhancement New feature or request label Apr 2, 2024
@Sammy1Am Sammy1Am pinned this issue May 12, 2024
@Sammy1Am Sammy1Am unpinned this issue May 12, 2024
@Sammy1Am Sammy1Am transferred this issue from Sammy1Am/mitsubishi-uart May 12, 2024
@Sammy1Am Sammy1Am transferred this issue from another repository May 12, 2024
@KazWolfe KazWolfe moved this to Todo in mUART Project May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants