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

How to generate device-specific settings #47

Open
Robothaler opened this issue Dec 28, 2023 · 0 comments
Open

How to generate device-specific settings #47

Robothaler opened this issue Dec 28, 2023 · 0 comments

Comments

@Robothaler
Copy link

Hello,
I have created a WindowCovering device, the device works so far.
Unfortunately, I don't know how to generate device-specific settings in the submenu of the app (e.g. Apple Home).
Actually, Matter already gives the possibility for different modes in the attributes, here my hope was that these are automatically displayed in the submenu of the device, unfortunately this is not the case.

// Bitmap for Mode
enum class Mode : uint8_t
{
    kMotorDirectionReversed = 0x1,
    kCalibrationMode = 0x2,
    kMaintenanceMode = 0x4,
    kLedFeedback = 0x8,
};

Here is an example of what device-specific menu I mean in Apple Home:
ios-16-iphone-14-pro-home-accessory-assign-room-on-tap

Apple-Home-Smart-Wall-Switch-527x1024

Maybe one of you has already solved this and can give me a hint or a solution.

It would be great if I could control the motor direction and, above all, the calibration of the roller shutter via the submenu.

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

No branches or pull requests

1 participant