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

Popup with alert if a device shall be deleted which is used in matter adapter #194

Closed
Feuer-sturm opened this issue Dec 1, 2024 · 3 comments
Assignees
Labels
backend/matter issue is relevant for backend/matter bug Something isn't working fixed issue is fixed and can be retested

Comments

@Feuer-sturm
Copy link
Collaborator

Feuer-sturm commented Dec 1, 2024

Describe the bug
Last night I deleted a device from the ioBroker devices that was part of a matter bridge (in the Matter adapter (https://github.com/ioBroker/ioBroker.matter). This morning, of course, the Matter adapter complained loudly with error messages about the missing device.

It should be recognize in ioBroker Device Adapter when an existing device in Matter is linked to a matter bridge / device, so that you get a corresponding message if you try to delete this device.

Versions:

  • Adapter version: device v.1.1.5; matter.0 v0.2.3
  • JS-Controller version: 7.0.3

Edit 04.12.2024
Logfile
message(2).txt

@Apollon77 Apollon77 transferred this issue from ioBroker/ioBroker.devices Dec 4, 2024
@Apollon77 Apollon77 self-assigned this Dec 4, 2024
@Apollon77 Apollon77 added bug Something isn't working backend/matter issue is relevant for backend/matter labels Dec 4, 2024
@Apollon77
Copy link
Collaborator

The original intent of the issue is not that easiely possible I think ... but the error handling in matter adapter is now more robust. please check which cases you still find

@Apollon77 Apollon77 added the fixed issue is fixed and can be retested label Dec 4, 2024
@Feuer-sturm
Copy link
Collaborator Author

matter 0.2.4
@Apollon77

  • added device HMIP Feuchtigkeit Sensor(alias.0.DevicesMatter.HMIP_Feuchtigkeit_Sensor) to bridge and connected bridge with google home app, value of humidity is visible -> ok
  • Delete Device DevicesMatter.HMIP_Feuchtigkeit_Sensor in menu Devices of iobroker
  • Manually Restart of matter.0 instance
  • The following error messages is shown in the logfile
    -- Cannot initialize device 8035df4f-def5-4e2e-8cdf-2e9954cf19ca "HMIP Feuchtigkeit Sensor" because alias.0.DevicesMatter.HMIP_Feuchtigkeit_Sensor does not exist! Check configuration.

If this matches with your expectation we can close this issue

Full log of retest
log1.txt

@Apollon77
Copy link
Collaborator

I do a follow up ticket

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

2 participants