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

falsche Typenerkennung wenn unterschiedliche Geräte im Alias sind #214

Open
Joylancer opened this issue Dec 8, 2024 · 7 comments
Open
Assignees
Labels
backend/matter issue is relevant for backend/matter bug Something isn't working fixed issue is fixed and can be retested

Comments

@Joylancer
Copy link

Ich habe einige Geräte über einen Alias im Matter Adater eingebunden.
Bei starten bekomme ich folgende Fehlermeldungen: (bei allen über Alias eingebundenen)

Beispiel: "Type detection mismatch for state alias.0.Steckdose_Küche_Tür_unten: motion !== socket. Initialize device with just this one state."

Lösungsansatz:
Er scannt alle states in dem channel/devce um den angegebenen State herum quasi und gibts die in den Type detector ... der würfeslt dann den Devcie type raus und sucht sich die States raus die er braucht. Der sortiert die sachen die er gefunden hat. und bisher nehmen wir immer das erste ... aber ich denke mit dem ergebnis (was ich so zum ersten mal sehe) sollten wir einfach bei mehreren Ergebniossen einfach auswählen was passt und zum typpasst. ....

@Feuer-sturm Feuer-sturm added bug Something isn't working backend/matter issue is relevant for backend/matter labels Dec 9, 2024
@Apollon77 Apollon77 self-assigned this Dec 10, 2024
@Apollon77
Copy link
Collaborator

if multiple types are found we now select the matching one that matches to the detected type

@Apollon77
Copy link
Collaborator

Please retry. I would love to see the log

@Apollon77 Apollon77 added the fixed issue is fixed and can be retested label Dec 17, 2024
@Joylancer
Copy link
Author

matter.0 2024-12-17 21:15:48.409 error Type detection mismatch for state alias.0.Tessan_Govee_Jacky: motion !== socket. Initialize device with just this one state.
matter.0 2024-12-17 21:15:48.408 warn Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
matter.0 2024-12-17 21:15:48.368 error Type detection mismatch for state alias.0.Tessan_3D_Druck: motion !== socket. Initialize device with just this one state.
matter.0 2024-12-17 21:15:48.367 warn Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
matter.0 2024-12-17 21:15:48.326 error Type detection mismatch for state alias.0.Steckdose_Wohnzimmer_Tür: motion !== socket. Initialize device with just this one state.
matter.0 2024-12-17 21:15:48.326 warn Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
matter.0 2024-12-17 21:15:48.276 error Type detection mismatch for state alias.0.Steckdose_Schlafzimmer_Fenster: motion !== socket. Initialize device with just this one state.
matter.0 2024-12-17 21:15:48.276 warn Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
matter.0 2024-12-17 21:15:48.225 error Type detection mismatch for state alias.0.Steckdose_Küche_Tür_unten: motion !== socket. Initialize device with just this one state.
matter.0 2024-12-17 21:15:48.225 warn Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
matter.0 2024-12-17 21:15:48.187 error Type detection mismatch for state alias.0.Steckdose_Küche_Tür_oben: motion !== socket. Initialize device with just this one state.
matter.0 2024-12-17 21:15:48.187 warn Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
matter.0 2024-12-17 21:15:48.120 error Type detection mismatch for state alias.0.Steckdose_Küche_Fenster_li: motion !== socket. Initialize device with just this one state.
matter.0 2024-12-17 21:15:48.120 warn Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
matter.0 2024-12-17 21:15:48.081 error Type detection mismatch for state alias.0.Steckdose_Garage: motion !== socket. Initialize device with just this one state.
matter.0 2024-12-17 21:15:48.080 warn Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
matter.0 2024-12-17 21:15:47.996 error Type detection mismatch for state alias.0.Steckdose_Flur_Ost: motion !== socket. Initialize device with just this one state.
matter.0 2024-12-17 21:15:47.996 warn Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
matter.0 2024-12-17 21:15:47.804 error Type detection mismatch for state alias.0.Licht_Küche_Band: motion !== light. Initialize device with just this one state.
matter.0 2024-12-17 21:15:47.804 warn Type detection mismatch for state alias.0.Presence_WC: motion !== light.

@Joylancer
Copy link
Author

grafik

@Joylancer
Copy link
Author

2024-12-17 21:20:11.226 - info: host.smarthome-neu stopInstance system.adapter.matter.0 (force=false, process=true)

2024-12-17 21:20:11.241 - info: matter.0 (507695) Got terminate signal TERMINATE_YOURSELF
2024-12-17 21:20:11.325 - info: host.smarthome-neu stopInstance system.adapter.matter.0 send kill signal
2024-12-17 21:20:11.344 - info: matter.0 (507695) 2024-12-17 21:20:11.344 NOTICE Node 67bc38ce-ff16-4716-be1a-13ad18d48400 going offline
2024-12-17 21:20:11.592 - info: matter.0 (507695) 2024-12-17 21:20:11.592 NOTICE Node 67bc38ce-ff16-4716-be1a-13ad18d48400 is offline
2024-12-17 21:20:11.689 - info: matter.0 (507695) Matter node "1819185783366895546" not yet initialized ...
2024-12-17 21:20:11.801 - info: matter.0 (507695) terminating
2024-12-17 21:20:11.802 - info: matter.0 (507695) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2024-12-17 21:20:12.409 - info: host.smarthome-neu instance system.adapter.matter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2024-12-17 21:20:39.955 - info: shelly.0 (3916363) [MQTT] Device with client id "shellyplusht-WZ" connected!
2024-12-17 21:20:43.573 - info: shelly.0 (3916363) [MQTT] Client Close: 192.168.178.94 (shellyplusht / shellyplusht-WZ / shellyplusht#WZ#1) (false)
2024-12-17 21:20:45.565 - info: host.smarthome-neu instance system.adapter.matter.0 in version "0.2.8" started with pid 507743
2024-12-17 21:20:48.197 - info: matter.0 (507743) starting. Version 0.2.8 in /opt/iobroker/node_modules/iobroker.matter, node: v20.18.1, js-controller: 7.0.6
2024-12-17 21:20:48.374 - warn: matter.0 (507743) Type detection mismatch for state alias.0.Presence_WC: motion !== light.
2024-12-17 21:20:48.375 - error: matter.0 (507743) Type detection mismatch for state alias.0.Licht_Küche_Band: motion !== light. Initialize device with just this one state.
2024-12-17 21:20:48.446 - warn: matter.0 (507743) Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
2024-12-17 21:20:48.447 - error: matter.0 (507743) Type detection mismatch for state alias.0.Steckdose_Flur_Ost: motion !== socket. Initialize device with just this one state.
2024-12-17 21:20:48.479 - warn: matter.0 (507743) Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
2024-12-17 21:20:48.480 - error: matter.0 (507743) Type detection mismatch for state alias.0.Steckdose_Garage: motion !== socket. Initialize device with just this one state.
2024-12-17 21:20:48.521 - warn: matter.0 (507743) Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
2024-12-17 21:20:48.521 - error: matter.0 (507743) Type detection mismatch for state alias.0.Steckdose_Küche_Fenster_li: motion !== socket. Initialize device with just this one state.
2024-12-17 21:20:48.554 - warn: matter.0 (507743) Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
2024-12-17 21:20:48.554 - error: matter.0 (507743) Type detection mismatch for state alias.0.Steckdose_Küche_Tür_oben: motion !== socket. Initialize device with just this one state.
2024-12-17 21:20:48.933 - warn: matter.0 (507743) Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
2024-12-17 21:20:48.933 - error: matter.0 (507743) Type detection mismatch for state alias.0.Steckdose_Küche_Tür_unten: motion !== socket. Initialize device with just this one state.
2024-12-17 21:20:48.964 - warn: matter.0 (507743) Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
2024-12-17 21:20:48.965 - error: matter.0 (507743) Type detection mismatch for state alias.0.Steckdose_Schlafzimmer_Fenster: motion !== socket. Initialize device with just this one state.
2024-12-17 21:20:48.997 - warn: matter.0 (507743) Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
2024-12-17 21:20:48.997 - error: matter.0 (507743) Type detection mismatch for state alias.0.Steckdose_Wohnzimmer_Tür: motion !== socket. Initialize device with just this one state.
2024-12-17 21:20:49.033 - warn: matter.0 (507743) Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
2024-12-17 21:20:49.033 - error: matter.0 (507743) Type detection mismatch for state alias.0.Tessan_3D_Druck: motion !== socket. Initialize device with just this one state.
2024-12-17 21:20:49.066 - warn: matter.0 (507743) Type detection mismatch for state alias.0.Presence_WC: motion !== socket.
2024-12-17 21:20:49.067 - error: matter.0 (507743) Type detection mismatch for state alias.0.Tessan_Govee_Jacky: motion !== socket. Initialize device with just this one state.
2024-12-17 21:20:49.169 - info: matter.0 (507743) 2024-12-17 21:20:49.169 WARN AttributeServer Attribute value to initialize for hardwareVersion has an invalid value 80200. Restore to default 0
2024-12-17 21:20:49.312 - info: matter.0 (507743) Preparing bridged device 6b90915c-3779-4c1c-99ef-5f6e7d879f07 "Licht Küche Band" for bridge
2024-12-17 21:20:49.377 - info: matter.0 (507743) 2024-12-17 21:20:49.377 WARN ValidatedElements Error in IdentifyServer.triggerEffect: Throws unimplemented exception
2024-12-17 21:20:49.421 - info: matter.0 (507743) Preparing bridged device 8ce1f5a9-e27d-4f9b-9936-42b9609aa10f "Presence WC" for bridge
2024-12-17 21:20:49.450 - info: matter.0 (507743) Preparing bridged device c69ba2f9-998e-4d40-b549-2d68613c0439 "Steckdose Flur Ost" for bridge
2024-12-17 21:20:49.503 - info: matter.0 (507743) 2024-12-17 21:20:49.503 WARN ValidatedElements Error in IdentifyServer.triggerEffect: Throws unimplemented exception
2024-12-17 21:20:49.516 - info: matter.0 (507743) Preparing bridged device d0165bb2-0168-4bab-9c1a-af2c065855a8 "Steckdose Garage" for bridge
2024-12-17 21:20:49.567 - info: matter.0 (507743) 2024-12-17 21:20:49.566 WARN ValidatedElements Error in IdentifyServer.triggerEffect: Throws unimplemented exception
2024-12-17 21:20:49.578 - info: matter.0 (507743) Preparing bridged device 4a682c8e-36b9-45f2-8ed0-f493b8bcdf51 "Steckdose Küche Fenster li" for bridge
2024-12-17 21:20:49.626 - info: matter.0 (507743) 2024-12-17 21:20:49.626 WARN ValidatedElements Error in IdentifyServer.triggerEffect: Throws unimplemented exception
2024-12-17 21:20:49.635 - info: matter.0 (507743) Preparing bridged device 4d10d4ae-eadf-4d8b-becd-ef03d4cc2fd5 "Steckdose Küche Tür oben" for bridge
2024-12-17 21:20:49.683 - info: matter.0 (507743) 2024-12-17 21:20:49.683 WARN ValidatedElements Error in IdentifyServer.triggerEffect: Throws unimplemented exception
2024-12-17 21:20:49.703 - info: matter.0 (507743) Preparing bridged device ff0d3729-41bd-4855-a9da-075db8416144 "Steckdose Küche Tür unten" for bridge
2024-12-17 21:20:49.759 - info: matter.0 (507743) 2024-12-17 21:20:49.759 WARN ValidatedElements Error in IdentifyServer.triggerEffect: Throws unimplemented exception
2024-12-17 21:20:49.804 - info: matter.0 (507743) Preparing bridged device cfe1b1d6-8fd8-459b-b957-85430508e8ec "Steckdose Schlafzimmer Fenster" for bridge
2024-12-17 21:20:49.821 - info: matter.0 (507743) 2024-12-17 21:20:49.821 WARN ValidatedElements Error in IdentifyServer.triggerEffect: Throws unimplemented exception
2024-12-17 21:20:49.861 - info: matter.0 (507743) Preparing bridged device c3d4869b-45fd-4ab3-abc1-bb633b2cb8a4 "Steckdose Wohnzimmer Tür" for bridge
2024-12-17 21:20:49.871 - info: matter.0 (507743) 2024-12-17 21:20:49.871 WARN ValidatedElements Error in IdentifyServer.triggerEffect: Throws unimplemented exception
2024-12-17 21:20:49.882 - info: matter.0 (507743) Preparing bridged device 06de8893-488e-4177-8f21-aa4cb209bafa "Tessan 3D Druck" for bridge
2024-12-17 21:20:49.932 - info: matter.0 (507743) 2024-12-17 21:20:49.932 WARN ValidatedElements Error in IdentifyServer.triggerEffect: Throws unimplemented exception
2024-12-17 21:20:49.952 - info: matter.0 (507743) Preparing bridged device 4121e5f1-8d2e-49b2-beb5-21dc7a42c2f7 "Tessan Govee Jacky" for bridge
2024-12-17 21:20:50.010 - info: matter.0 (507743) 2024-12-17 21:20:50.010 WARN ValidatedElements Error in IdentifyServer.triggerEffect: Throws unimplemented exception
2024-12-17 21:20:50.046 - info: matter.0 (507743) 2024-12-17 21:20:50.046 NOTICE Node 67bc38ce-ff16-4716-be1a-13ad18d48400 going online
2024-12-17 21:20:50.087 - info: matter.0 (507743) 2024-12-17 21:20:50.087 NOTICE Node 67bc38ce-ff16-4716-be1a-13ad18d48400 is online
2024-12-17 21:20:50.198 - info: matter.0 (507743) 2024-12-17 21:20:50.198 WARN CommissioningController BLE is not supported on this platform
2024-12-17 21:20:50.304 - info: matter.0 (507743) Found 1 nodes: ["1819185783366895546"]
2024-12-17 21:20:50.305 - info: matter.0 (507743) Connecting to node "1819185783366895546" ...
2024-12-17 21:20:50.474 - info: matter.0 (507743) Node 1819185783366895546: Endpoint 0 to ioBroker Devices MA-rootdevice / RootNode
2024-12-17 21:20:50.496 - info: matter.0 (507743) Node 1819185783366895546: Endpoint 1 to ioBroker Devices MA-doorlock / DoorLock
2024-12-17 21:20:50.502 - info: matter.0 (507743) Node 1819185783366895546: Creating device for DoorLock (endpoint 1)
2024-12-17 21:20:50.560 - info: matter.0 (507743) Endpoint 1 (MA-doorlock):
2024-12-17 21:20:50.582 - info: matter.0 (507743) Node 1819185783366895546: Endpoint 2 to ioBroker Devices MA-powersource / PowerSource
2024-12-17 21:20:50.586 - info: matter.0 (507743) Node 1819185783366895546: Creating device for PowerSource (endpoint 2)
2024-12-17 21:20:50.637 - info: matter.0 (507743) Endpoint 2 (MA-powersource):
2024-12-17 21:20:54.711 - info: matter.0 (507743) Node "1819185783366895546" connected

@Joylancer
Copy link
Author

@Apollon77
Copy link
Collaborator

Ahh ... ok I see ... please recheck with next version (likely tomorrow). Should be fixed then finally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend/matter issue is relevant for backend/matter bug Something isn't working fixed issue is fixed and can be retested
Projects
None yet
Development

No branches or pull requests

3 participants