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

Missing UI for Temperature Level Control in Matter Refrigerator and Freezer (Profile: TL) #1820

Open
Mbadra96 opened this issue Dec 11, 2024 · 2 comments

Comments

@Mbadra96
Copy link

What is Wrong:

  • For profile (TL), both refrigerator and freezer are configured with TemperatureLevelControl.
  • However, no control UI is displayed for adjusting the temperature level for refrigerator (But works well for the freezer) in the SmartThings app.
  • This affects the user experience as the temperature levels cannot be selected or modified through the app interface.

Steps to Reproduce:

  1. Commission a refrigerator or freezer device with profile (TL) on the SmartThings app.
  2. Open the device controls for TemperatureLevelControl.
  3. Observe that no UI is available for selecting or modifying temperature levels.

Expected Behavior:

  • The UI should provide a slider or selection control for TemperatureLevelControl to allow users to adjust temperature levels within the supported range.

Additional Information:

  • Device Details:
    • Controller: ESP32-S3
    • Matter Version: 1.4
    • IDF Version: 5.2.3
  • Logs:
    Attached below are logs from the ESP-Matter setup and exported JSON attributes from the SmartThings app showing the missing UI issue.

Relevant Logs:

For setting the temp level for the freezer

I (549763) esp_matter_command: Received command 0x00000000 for endpoint 0x0003's cluster 0x00000056
I (549773) esp_matter_attribute: ********** R : Endpoint 0x0003's Cluster 0x00000056's Attribute 0x0000FFFC is 2 **********
AppSupportedTemperatureLevelsDelegate::Size endpoint 3
AppSupportedTemperatureLevelsDelegate::Size Size of endpoint 3 is 11
I (549773) esp_matter_attribute: ********** R : Endpoint 0x0003's Cluster 0x00000056's Attribute 0x00000004 is 6 **********

Exported JSON Attributes:
From my.smartthings

[
    {
        "component": "freezer",
        "capability": "mode",
        "attribute": "mode",
        "value": "Normal",
        "timestamp": "2024-12-11T20:19:36.059Z"
    },
    {
        "component": "freezer",
        "capability": "mode",
        "attribute": "supportedArguments",
        "value": [
            "Normal",
            "Rapid Freeze"
        ],
        "timestamp": "2024-12-11T20:19:35.780Z"
    },
    {
        "component": "freezer",
        "capability": "mode",
        "attribute": "supportedModes",
        "value": [
            "Normal",
            "Rapid Freeze"
        ],
        "timestamp": "2024-12-11T20:19:35.586Z"
    },
    {
        "component": "freezer",
        "capability": "temperatureLevel",
        "attribute": "supportedTemperatureLevels",
        "value": [
            "-14.0°C",
            "-15.0°C",
            "-16.0°C",
            "-17.0°C",
            "-18.0°C",
            "-19.0°C",
            "-20.0°C",
            "-21.0°C",
            "-22.0°C",
            "-23.0°C",
            "-24.0°C"
        ],
        "timestamp": "2024-12-11T20:19:34.176Z"
    },
    {
        "component": "freezer",
        "capability": "temperatureLevel",
        "attribute": "temperatureLevel",
        "value": "-20.0°C",
        "timestamp": "2024-12-11T20:27:44.825Z"
    },
    {
        "component": "freezer",
        "capability": "temperatureMeasurement",
        "attribute": "temperature",
        "value": 5,
        "timestamp": "2024-12-11T20:19:33.529Z"
    },
    {
        "component": "freezer",
        "capability": "temperatureMeasurement",
        "attribute": "temperatureRange",
        "value": null
    },
    {
        "component": "main",
        "capability": "contactSensor",
        "attribute": "contact",
        "value": "closed",
        "timestamp": "2024-12-11T20:19:33.834Z"
    },
    {
        "component": "main",
        "capability": "firmwareUpdate",
        "attribute": "availableVersion",
        "value": "v1.0 (1)",
        "timestamp": "2024-12-11T20:19:30.167Z"
    },
    {
        "component": "main",
        "capability": "firmwareUpdate",
        "attribute": "currentVersion",
        "value": "v1.0 (1)",
        "timestamp": "2024-12-11T20:19:30.203Z"
    },
    {
        "component": "main",
        "capability": "firmwareUpdate",
        "attribute": "lastUpdateStatus",
        "value": null
    },
    {
        "component": "main",
        "capability": "firmwareUpdate",
        "attribute": "lastUpdateStatusReason",
        "value": null
    },
    {
        "component": "main",
        "capability": "firmwareUpdate",
        "attribute": "lastUpdateTime",
        "value": null
    },
    {
        "component": "main",
        "capability": "firmwareUpdate",
        "attribute": "state",
        "value": "normalOperation",
        "timestamp": "2024-12-11T20:19:30.172Z"
    },
    {
        "component": "main",
        "capability": "firmwareUpdate",
        "attribute": "supportedCommands",
        "value": null
    },
    {
        "component": "main",
        "capability": "firmwareUpdate",
        "attribute": "updateAvailable",
        "value": false,
        "timestamp": "2024-12-11T20:19:30.167Z"
    },
    {
        "component": "main",
        "capability": "mode",
        "attribute": "mode",
        "value": "Normal",
        "timestamp": "2024-12-11T20:19:35.416Z"
    },
    {
        "component": "main",
        "capability": "mode",
        "attribute": "supportedArguments",
        "value": [
            "Normal",
            "Holiday"
        ],
        "timestamp": "2024-12-11T20:19:35.074Z"
    },
    {
        "component": "main",
        "capability": "mode",
        "attribute": "supportedModes",
        "value": [
            "Normal",
            "Holiday"
        ],
        "timestamp": "2024-12-11T20:19:35.020Z"
    },
    {
        "component": "refrigerator",
        "capability": "mode",
        "attribute": "mode",
        "value": "Normal",
        "timestamp": "2024-12-11T20:19:34.583Z"
    },
    {
        "component": "refrigerator",
        "capability": "mode",
        "attribute": "supportedArguments",
        "value": [
            "Normal",
            "Rapid Cool"
        ],
        "timestamp": "2024-12-11T20:19:34.580Z"
    },
    {
        "component": "refrigerator",
        "capability": "mode",
        "attribute": "supportedModes",
        "value": [
            "Normal",
            "Rapid Cool"
        ],
        "timestamp": "2024-12-11T20:19:34.581Z"
    },
    {
        "component": "refrigerator",
        "capability": "temperatureLevel",
        "attribute": "supportedTemperatureLevels",
        "value": null
    },
    {
        "component": "refrigerator",
        "capability": "temperatureLevel",
        "attribute": "temperatureLevel",
        "value": null
    },
    {
        "component": "refrigerator",
        "capability": "temperatureMeasurement",
        "attribute": "temperature",
        "value": 5,
        "timestamp": "2024-12-11T20:19:33.355Z"
    },
    {
        "component": "refrigerator",
        "capability": "temperatureMeasurement",
        "attribute": "temperatureRange",
        "value": null
    }
]

Attachments:

  1. Screenshots showing the missing UI for TemperatureLevelControl.

WhatsApp Image 2024-12-11 at 22 10 00_fd99528c


Please let us know how to resolve this issue or if additional information is required. Thank you!

@HunsupJung
Copy link
Collaborator

@Mbadra96
Thank you for checking the problem and contacting us. This is a problem caused by mismatching the settings between the profile and the device-configuration. I will solve it as soon as possible.

@Mbadra96
Copy link
Author

@HunsupJung Ok thank you

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

2 participants