home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.75k stars 28.91k forks source link

ping is inconsistent/ambiguous for matter devices #120266

Open dduff617 opened 1 week ago

dduff617 commented 1 week ago

The problem

i'm trying to test and diagnose problems with matter devices. the UI presents a "ping device" command in the three-dots menu, but when i ping a thread device, then hit "start ping", after an initial warning "device is being pinged. this may take a while", it then simply says "ping is complete", which is about as unclear as can get as to the actual results of the ping. was an address found for the device? was the ping packet successfully transmitted? was a ping reply received? user can only guess. this is not a good way for a diagnostic tool to work.

when i try the same operation for a different device in my matter network, i see a different behavior. three IP addresses are shown with green checks next to each. so this seems better since it implies that addresses were found for the device, ping packet was transmitted, and (based on green checkmarks) a reply was received.

btw, the first device had network type: Thread. the second device had network type: WiFi.

hope i'm not being picky, but... consistency: good.
stating unambiguous results of a simple diagnostic test: good.
saying a multi-step test is "complete" without clearly stating the result (i.e. whether a ping reply was received): bad not clearly indicating exactly which steps of a test succeeded/failed: bad

What version of Home Assistant Core has the issue?

core-2024.6.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

matter

Link to integration documentation on our website

https://www.home-assistant.io/integrations/matter

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 week ago

Hey there @home-assistant/matter, mind taking a look at this issue as it has been labeled with an integration (matter) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `matter` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign matter` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


matter documentation matter source (message by IssueLinks)

marcelveldt commented 6 days ago

This is a UI issue in the frontend. If you only see the ping completed successful, it means it didnt find any IP's. Its on the radar to fix