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

[Bug]: Labels and area filter does not work #352

Closed
2 tasks done
Dogo69Dog opened this issue Dec 25, 2024 · 7 comments
Closed
2 tasks done

[Bug]: Labels and area filter does not work #352

Dogo69Dog opened this issue Dec 25, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@Dogo69Dog
Copy link

Version

3.0.0-alpha.57

Matter Controller

HA

Steps to reproduce

I add my area and the proper name (lowecase letters and no spaces or special characters) and it doesent pop up the devices
Screenshot 2024-12-25 at 10 46 35 AM

State and attributes

No response

Relevant log output

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
 Add-on: Home-Assistant-Matter-Hub
 Publish your entities from Home Assistant to any Matter-compatible controller like Alexa, Apple Home or Google Home.
-----------------------------------------------------------
 Add-on version: 3.0.0-alpha.57
 You are running the latest version of this add-on.
 System: Home Assistant OS 14.1  (aarch64 / green)
 Home Assistant Core: 2024.12.5
 Home Assistant Supervisor: 2024.12.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[ 2024-12-25T15:25:46.178Z ] [ INFO  ] [ WebApi                                             ]: HTTP server (API & Web App) listening on port 64821
[ 2024-12-25T15:31:04.661Z ] [ INFO  ] [ Matter / ServerNodeStore                           ]: Opened *203f8a8f06fc465e8fa38dd997379c5d* storage at /config/data/203f8a8f06fc465e8fa38dd997379c5d
[ 2024-12-25T15:31:05.379Z ] [ INFO  ] [ Matter / Endpoint                                  ]: *203f8a8f06fc465e8fa38dd997379c5d* ready endpoint#: 0 type: RootNode (0x16) behaviors: 💤parts ✓index ✓basicInformation ✓accessControl ✓groupKeyManagement ✓generalCommissioning ✓administratorCommissioning ✓operationalCredentials ✓generalDiagnostics ✓commissioning ✓network 💤productDescription 💤sessions 💤controller ✓descriptor
[ 2024-12-25T15:31:05.417Z ] [ INFO  ] [ Matter / Endpoint                                  ]: *203f8a8f06fc465e8fa38dd997379c5d.aggregator* ready endpoint#: 1 type: Aggregator (0xe) behaviors: 💤parts ✓index ✓descriptor
[ 2024-12-25T15:31:05.502Z ] [ INFO  ] [ Matter / Node                                      ]: *203f8a8f06fc465e8fa38dd997379c5d* going online
[ 2024-12-25T15:31:06.102Z ] [ INFO  ] [ Matter / Node                                      ]: *203f8a8f06fc465e8fa38dd997379c5d* is online
[ 2024-12-25T15:31:06.116Z ] [ INFO  ] [ Matter / AccessControlServer                       ]: initializing ACL manager with ACL 
[ 2024-12-25T15:31:06.251Z ] [ INFO  ] [ Matter / Commissioning                             ]: *203f8a8f06fc465e8fa38dd997379c5d* is uncommissioned passcode: 78877412 discriminator: 2741 manual pairing code: 23760448142
  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  █ ▄▄▄▄▄ ██▀▄█▄█ ▄▄▄▄▄ █
  █ █   █ █▄▀▄ ▀█ █   █ █
  █ █▄▄▄█ ██ ▀▀▄█ █▄▄▄█ █
  █▄▄▄▄▄▄▄█ █ ▀▄█▄▄▄▄▄▄▄█
  █ ▄ ▀ ▄▄  ▀▄ ▄  ███ █▀█
  ██▀ ▄▄ ▄█  █ █▀▄▀█ ▀█▀█
  █▄████▄▄██▄  ▄▀▄▄█▄▀▄▀█
  █ ▄▄▄▄▄ █ ▀█▄▀▄▀▀ ▄ █ █
  █ █   █ █▄█▀█▄▄█▀▀▄ ▀██
  █ █▄▄▄█ █ ▀███ █▀█  ▀ █
  █▄▄▄▄▄▄▄█▄█▄▄▄▄▄▄██▄█▄█
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  QR code URL: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT:Y.K90C0R15SZ471DP10
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
[ 2024-12-25T15:37:02.683Z ] [ INFO  ] [ Matter / Runtime                                   ]: Shutting down
[ 2024-12-25T15:37:02.693Z ] [ INFO  ] [ Matter / Node                                      ]: *203f8a8f06fc465e8fa38dd997379c5d* going offline
[ 2024-12-25T15:37:02.828Z ] [ INFO  ] [ Matter / DeviceCommissioner                        ]: All announcements stopped
[ 2024-12-25T15:37:02.838Z ] [ INFO  ] [ Matter / Node                                      ]: *203f8a8f06fc465e8fa38dd997379c5d* is offline
[ 2024-12-25T15:37:02.881Z ] [ INFO  ] [ Matter / ServerNodeStore                           ]: Closed *203f8a8f06fc465e8fa38dd997379c5d* storage at /config/data/203f8a8f06fc465e8fa38dd997379c5d
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
 Add-on: Home-Assistant-Matter-Hub
 Publish your entities from Home Assistant to any Matter-compatible controller like Alexa, Apple Home or Google Home.
-----------------------------------------------------------
 Add-on version: 3.0.0-alpha.57
 You are running the latest version of this add-on.
 System: Home Assistant OS 14.1  (aarch64 / green)
 Home Assistant Core: 2024.12.5
 Home Assistant Supervisor: 2024.12.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[ 2024-12-25T15:37:22.232Z ] [ INFO  ] [ Matter / ServerNodeStore                           ]: Opened *203f8a8f06fc465e8fa38dd997379c5d* storage at /config/data/203f8a8f06fc465e8fa38dd997379c5d
[ 2024-12-25T15:37:22.822Z ] [ INFO  ] [ Matter / Endpoint                                  ]: *203f8a8f06fc465e8fa38dd997379c5d* ready endpoint#: 0 type: RootNode (0x16) behaviors: 💤parts ✓index ✓basicInformation ✓accessControl ✓groupKeyManagement ✓generalCommissioning ✓administratorCommissioning ✓operationalCredentials ✓generalDiagnostics ✓commissioning ✓network 💤productDescription 💤sessions 💤controller ✓descriptor
[ 2024-12-25T15:37:22.864Z ] [ INFO  ] [ Matter / Endpoint                                  ]: *203f8a8f06fc465e8fa38dd997379c5d.aggregator* ready endpoint#: 1 type: Aggregator (0xe) behaviors: 💤parts ✓index ✓descriptor
[ 2024-12-25T15:37:22.954Z ] [ INFO  ] [ Matter / Node                                      ]: *203f8a8f06fc465e8fa38dd997379c5d* going online
[ 2024-12-25T15:37:23.585Z ] [ INFO  ] [ Matter / Node                                      ]: *203f8a8f06fc465e8fa38dd997379c5d* is online
[ 2024-12-25T15:37:23.611Z ] [ INFO  ] [ Matter / AccessControlServer                       ]: initializing ACL manager with ACL 
[ 2024-12-25T15:37:23.721Z ] [ INFO  ] [ Matter / Commissioning                             ]: *203f8a8f06fc465e8fa38dd997379c5d* is uncommissioned passcode: 78877412 discriminator: 2741 manual pairing code: 23760448142
  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[ 2024-12-25T15:25:46.178Z ] [ INFO  ] [ WebApi                                             ]: HTTP server (API & Web App) listening on port 64821
[ 2024-12-25T15:31:04.661Z ] [ INFO  ] [ Matter / ServerNodeStore                           ]: Opened *203f8a8f06fc465e8fa38dd997379c5d* storage at /config/data/203f8a8f06fc465e8fa38dd997379c5d
[ 2024-12-25T15:31:05.379Z ] [ INFO  ] [ Matter / Endpoint                                  ]: *203f8a8f06fc465e8fa38dd997379c5d* ready endpoint#: 0 type: RootNode (0x16) behaviors: 💤parts ✓index ✓basicInformation ✓accessControl ✓groupKeyManagement ✓generalCommissioning ✓administratorCommissioning ✓operationalCredentials ✓generalDiagnostics ✓commissioning ✓network 💤productDescription 💤sessions 💤controller ✓descriptor
[ 2024-12-25T15:31:05.417Z ] [ INFO  ] [ Matter / Endpoint                                  ]: *203f8a8f06fc465e8fa38dd997379c5d.aggregator* ready endpoint#: 1 type: Aggregator (0xe) behaviors: 💤parts ✓index ✓descriptor
[ 2024-12-25T15:31:05.502Z ] [ INFO  ] [ Matter / Node                                      ]: *203f8a8f06fc465e8fa38dd997379c5d* going online
[ 2024-12-25T15:31:06.102Z ] [ INFO  ] [ Matter / Node                                      ]: *203f8a8f06fc465e8fa38dd997379c5d* is online
[ 2024-12-25T15:31:06.116Z ] [ INFO  ] [ Matter / AccessControlServer                       ]: initializing ACL manager with ACL 
[ 2024-12-25T15:31:06.251Z ] [ INFO  ] [ Matter / Commissioning                             ]: *203f8a8f06fc465e8fa38dd997379c5d* is uncommissioned passcode: 78877412 discriminator: 2741 manual pairing code: 23760448142
  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  █ ▄▄▄▄▄ ██▀▄█▄█ ▄▄▄▄▄ █
  █ █   █ █▄▀▄ ▀█ █   █ █
  █ █▄▄▄█ ██ ▀▀▄█ █▄▄▄█ █
  █▄▄▄▄▄▄▄█ █ ▀▄█▄▄▄▄▄▄▄█
  █ ▄ ▀ ▄▄  ▀▄ ▄  ███ █▀█
  ██▀ ▄▄ ▄█  █ █▀▄▀█ ▀█▀█
  █▄████▄▄██▄  ▄▀▄▄█▄▀▄▀█
  █ ▄▄▄▄▄ █ ▀█▄▀▄▀▀ ▄ █ █
  █ █   █ █▄█▀█▄▄█▀▀▄ ▀██
  █ █▄▄▄█ █ ▀███ █▀█  ▀ █
  █▄▄▄▄▄▄▄█▄█▄▄▄▄▄▄██▄█▄█
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  QR code URL: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT:Y.K90C0R15SZ471DP10
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
[ 2024-12-25T15:37:02.683Z ] [ INFO  ] [ Matter / Runtime                                   ]: Shutting down
[ 2024-12-25T15:37:02.693Z ] [ INFO  ] [ Matter / Node                                      ]: *203f8a8f06fc465e8fa38dd997379c5d* going offline
[ 2024-12-25T15:37:02.828Z ] [ INFO  ] [ Matter / DeviceCommissioner                        ]: All announcements stopped
[ 2024-12-25T15:37:02.838Z ] [ INFO  ] [ Matter / Node                                      ]: *203f8a8f06fc465e8fa38dd997379c5d* is offline
[ 2024-12-25T15:37:02.881Z ] [ INFO  ] [ Matter / ServerNodeStore                           ]: Closed *203f8a8f06fc465e8fa38dd997379c5d* storage at /config/data/203f8a8f06fc465e8fa38dd997379c5d
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
 Add-on: Home-Assistant-Matter-Hub
 Publish your entities from Home Assistant to any Matter-compatible controller like Alexa, Apple Home or Google Home.
-----------------------------------------------------------
 Add-on version: 3.0.0-alpha.57
 You are running the latest version of this add-on.
 System: Home Assistant OS 14.1  (aarch64 / green)
 Home Assistant Core: 2024.12.5
 Home Assistant Supervisor: 2024.12.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[ 2024-12-25T15:37:22.232Z ] [ INFO  ] [ Matter / ServerNodeStore                           ]: Opened *203f8a8f06fc465e8fa38dd997379c5d* storage at /config/data/203f8a8f06fc465e8fa38dd997379c5d
[ 2024-12-25T15:37:22.822Z ] [ INFO  ] [ Matter / Endpoint                                  ]: *203f8a8f06fc465e8fa38dd997379c5d* ready endpoint#: 0 type: RootNode (0x16) behaviors: 💤parts ✓index ✓basicInformation ✓accessControl ✓groupKeyManagement ✓generalCommissioning ✓administratorCommissioning ✓operationalCredentials ✓generalDiagnostics ✓commissioning ✓network 💤productDescription 💤sessions 💤controller ✓descriptor
[ 2024-12-25T15:37:22.864Z ] [ INFO  ] [ Matter / Endpoint                                  ]: *203f8a8f06fc465e8fa38dd997379c5d.aggregator* ready endpoint#: 1 type: Aggregator (0xe) behaviors: 💤parts ✓index ✓descriptor
[ 2024-12-25T15:37:22.954Z ] [ INFO  ] [ Matter / Node                                      ]: *203f8a8f06fc465e8fa38dd997379c5d* going online
[ 2024-12-25T15:37:23.585Z ] [ INFO  ] [ Matter / Node                                      ]: *203f8a8f06fc465e8fa38dd997379c5d* is online
[ 2024-12-25T15:37:23.611Z ] [ INFO  ] [ Matter / AccessControlServer                       ]: initializing ACL manager with ACL 
[ 2024-12-25T15:37:23.721Z ] [ INFO  ] [ Matter / Commissioning                             ]: *203f8a8f06fc465e8fa38dd997379c5d* is uncommissioned passcode: 78877412 discriminator: 2741 manual pairing code: 23760448142
  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  █ ▄▄▄▄▄ ██▀▄█▄█ ▄▄▄▄▄ █
  █ █   █ █▄▀▄ ▀█ █   █ █
  █ █▄▄▄█ ██ ▀▀▄█ █▄▄▄█ █
  █▄▄▄▄▄▄▄█ █ ▀▄█▄▄▄▄▄▄▄█
  █ ▄ ▀ ▄▄  ▀▄ ▄  ███ █▀█
  ██▀ ▄▄ ▄█  █ █▀▄▀█ ▀█▀█
  █▄████▄▄██▄  ▄▀▄▄█▄▀▄▀█
  █ ▄▄▄▄▄ █ ▀█▄▀▄▀▀ ▄ █ █
  █ █   █ █▄█▀█▄▄█▀▀▄ ▀██
  █ █▄▄▄█ █ ▀███ █▀█  ▀ █
  █▄▄▄▄▄▄▄█▄█▄▄▄▄▄▄██▄█▄█
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  QR code URL: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT:Y.K90C0R15SZ471DP10
[ 2024-12-25T15:37:23.781Z ] [ INFO  ] [ WebApi                                             ]: HTTP server (API & Web App) listening on port 64821
[ 2024-12-25T15:40:27.536Z ] [ INFO  ] [ Matter / UdpMulticastServer                        ]: lo: send ENETUNREACH ff02::fb:5353
[ 2024-12-25T15:40:32.528Z ] [ INFO  ] [ Matter / UdpMulticastServer                        ]: lo: send ENETUNREACH ff02::fb:5353
[ 2024-12-25T15:40:41.538Z ] [ INFO  ] [ Matter / UdpMulticastServer                        ]: lo: send ENETUNREACH ff02::fb:5353

Documentation & Issues

  • I have reviewed the documentation and the linked troubleshooting guide.
  • I have searched the issues for a similar problem.
@Dogo69Dog Dogo69Dog added the bug Something isn't working label Dec 25, 2024
@t0bst4r
Copy link
Owner

t0bst4r commented Dec 28, 2024

Can you please go to the developer tools in home assistant and execute the following template

{{ labels() }}

{{ areas() }}

this will show you the exact names to use.

@t0bst4r t0bst4r changed the title [Bug]: [Bug]: Labels and area filter does not work Dec 28, 2024
@Aryankids
Copy link

Aryankids commented Dec 28, 2024

Many thanks for the great Adds on, super-excited about it, if it works ;-)

There are a couple of issues here

  • It seems HA does not allow uppercase labels. Created 'GoogleMatter' label originally but after following your template above it seems it was saved as googlematter
  • Even though I have updated the label everywhere and HA reports one device being found under that label i.e. googlematter, the bridge fails to list that single device. Please see attached

You might like to know restarting the AddOn and/or HA did not affect the result.

Label :
Screenshot 2024-12-28 at 19 04 37

AddsOn:
Screenshot 2024-12-28 at 19 06 27

Template:

Screenshot 2024-12-28 at 19 13 52

@sebastian3107
Copy link

sebastian3107 commented Dec 28, 2024

Same for me. I only have one include filter (label: matterhub) and it shows zero devices. I tagged 8 devices as "matterhub". Creating a pattern did work though.

{{ labels() }} returns
['hausbelegung', 'matterhub']

Versions: 3.0.0-alpha.58
Core 2024.12.5
Supervisor 2024.12.0
Operating System 14.1
Frontend 20241127.8

edit: It seems like you can only tag entities with labels and not whole devices. That works for me.

@Dtrieb
Copy link

Dtrieb commented Dec 29, 2024

I have found out that if you rename your label from p.e. MatterHub to matterhub the change didn't make anything for the addon. I have deleted it, and make it new, that It work for me.

@Laho812
Copy link

Laho812 commented Dec 31, 2024

I had the same issue. Recently assigned labels to entities were not automatically discovered by the Matter Hub add-on. My label name is matter_exposed. I found out the following:

Once you assigned/removed a label to/from an entity, go to the Matter Hub and click on edit in the upper right corner:
grafik

Then scroll down and hit save.
grafik

This will update your published entities.

@t0bst4r
Copy link
Owner

t0bst4r commented Jan 2, 2025

@Dogo69Dog every User in this thread added good hints how to solve it. Please try those and provide feedback if this can be closed.

@Dogo69Dog
Copy link
Author

Thanks, the issue was solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants