python-matter-server icon indicating copy to clipboard operation
python-matter-server copied to clipboard

Empty page browsing EP3 in Python Matter Server UI

Open lboue opened this issue 1 year ago • 1 comments

Issue

Hi,

I am testing Matter Silabs dishwasher example with Silicon Labs EFR32 board and I am facing an issue:

When browsing EP3 in Python Matter Server UI, the page is empty. It's as if the process has stopped. EP3 has 2 clusters:

  • DeviceEnergyManagement ClusterId 152 (0x0098)
  • DeviceEnergyManagementMode ClusterId 159 (0x009f)

It works fine for EP1, EP2

Capture d'écran 2024-10-11 214031rere

Additionnal info

JSON diag file matter-01J7VHBAZ27J6PW7C6FVS4TNJS-SL_Sample-9c4c0988704f9011b306754935f79fc1.json

EP3:

{
    "3/29/0": [
      {
        "0": 1293,
        "1": 1
      }
    ],
    "3/29/1": [
      29,
      152,
      159
    ],
    "3/29/2": [],
    "3/29/3": [],
    "3/29/65532": 0,
    "3/29/65533": 2,
    "3/29/65528": [],
    "3/29/65529": [],
    "3/29/65531": [
      0,
      1,
      2,
      3,
      65528,
      65529,
      65531,
      65532,
      65533
    ],
    "3/152/0": 9,
    "3/152/1": false,
    "3/152/2": 1,
    "3/152/3": 1200000,
    "3/152/4": 7600000,
    "3/152/5": null,
    "3/152/6": null,
    "3/152/7": 0,
    "3/152/65532": 26,
    "3/152/65533": 3,
    "3/152/65528": [],
    "3/152/65529": [
      2,
      3,
      4,
      7
    ],
    "3/152/65531": [
      0,
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      65528,
      65529,
      65531,
      65532,
      65533
    ],
    "3/159/0": [
      {
        "0": "No energy management (forecast only)",
        "1": 0,
        "2": [
          {
            "1": 16384
          }
        ]
      },
      {
        "0": "Device optimizes (no local or grid control)",
        "1": 1,
        "2": [
          {
            "1": 16385
          }
        ]
      },
      {
        "0": "Optimized within building",
        "1": 2,
        "2": [
          {
            "1": 16386
          },
          {
            "1": 16385
          }
        ]
      },
      {
        "0": "Optimized for grid",
        "1": 3,
        "2": [
          {
            "1": 16385
          },
          {
            "1": 16387
          }
        ]
      },
      {
        "0": "Optimized for grid and building",
        "1": 4,
        "2": [
          {
            "1": 16386
          },
          {
            "1": 16385
          },
          {
            "1": 16387
          }
        ]
      }
    ],
    "3/159/1": 0,
    "3/159/2": null,
    "3/159/3": null,
    "3/159/65532": 0,
    "3/159/65533": 1,
    "3/159/65528": [
      1
    ],
    "3/159/65529": [
      0
    ],
    "3/159/65531": [
      0,
      1,
      2,
      3,
      65528,
      65529,
      65531,
      65532,
      65533
    ]
}

Is there a way to enable debug?

Regards

lboue avatar Oct 11 '24 19:10 lboue

Is there any way to catch the exception to avoid a blank page and display an error message instead?

lboue avatar Nov 30 '24 07:11 lboue

For issues with the Home Assistant Matter integration, please create issue reports on the Home Assistant issue tracker.

And PS: Which exception? :-)

Apollon77 avatar Aug 28 '25 08:08 Apollon77