Replies: 12 comments 37 replies
-
Not fully same as this. But MAC might resemble. I lack a identification field. For example with rfxtrx, the original device id cant be seen anywhere (it's initially part of name). So maybe not name it as MAC, more have an hardware address or similiary named field. |
Beta Was this translation helpful? Give feedback.
-
I don't think we should aim for extending the device information with these things. As an alternative, maybe we could make it possible for the device info to point to an entity? (e.g., by unique ID) or provide a device class that can be picked up by the UI instead? |
Beta Was this translation helpful? Give feedback.
-
I can't find the link on my phone but I'm sure the device registry docs used to talk about having a topology view. Would be great to show these on something like that. |
Beta Was this translation helpful? Give feedback.
-
I think that displaying MAC (maybe call it hardware address to make it compatible with other devices) and IP address is very useful, but not exactly as the suggestion here, as device info is also part of entities, I think this should just be part of device registry data but not connected to a specific entity.
|
Beta Was this translation helpful? Give feedback.
-
I like the idea that the user can find this data. Although not the device info page itself, as it's getting crowded and this technical information is not needed 99% of the time. So instead I would suggest allow opening a dialog from the device info page with "extra/advanced/technical info". For the IP address, I wonder if we can see if a device tracker entity is linked to the device and if so, extract the IP address from there ( |
Beta Was this translation helpful? Give feedback.
-
Isn't part of this need "solved" by the new device/integration diagnostics? We could have a few fields standardised in that data? |
Beta Was this translation helpful? Give feedback.
-
hope this is related, if not, ignore please: we used to have all that info available on entity_registry_updated event, which enabled us to do: home-assistant/core#65188 with the new device_tracker behavior, that is no longer possible for device_trackers without config entry, which are now added in a disabled state. This made it even more difficult to find the info you're after in OP. Let alone automated. because: Please consider that too when you change the logic for IP/Mac on device info |
Beta Was this translation helpful? Give feedback.
-
I am looking at this from a different angle (although I get the discussion e.g. relating to hostname/MAC). For a connected car integration such as BMW Connected Drive I would like to be able to display the car's identification number (VIN) in the device registry (some reasons below). It could be stored as a sensor, but that would be just an additional entity that will never ever change (like a MAC address). (Slowly) changing identification data (such as current IP address) could still be stored as sensor at the integration developer's discretion. In BMW Connected Drive (and many other integrations I have checked), this basic identification info is already stored in the DeviceRegistry's Reasons for displaying this identifier in a connected car integration:
|
Beta Was this translation helpful? Give feedback.
-
Fast-forward a bit, we now have a MAC address show, and support listing the visitable URL. For the IP address... I'm not sure if we should still do that? |
Beta Was this translation helpful? Give feedback.
-
People have very many devices and this entity is hidden by default. Either make it easy to enable this entity for all devices or simply give the people what they are asking for and always show it. |
Beta Was this translation helpful? Give feedback.
-
Are there any plans to
? |
Beta Was this translation helpful? Give feedback.
-
It is difficult for a user to find the ip address or mac address of a discovered device even though we know it without digging though
.storage
. Some integrations offer a configuration url to solve this, but many devices to not have a webserver or show a cloud url which makes the configuration url only a partial solution.Users want to lock the dhcp reservation of a device to prevent the ip from changing, but it can be hard to locate on their router if it provides a client list at all. Home Assistant has much better discovery than most routers which means it likely a better source of the data for them.
The mac address is already stored in the device info if we know it. To make this possible, we also need to store the last known ip address in the device info.
Proposal is to store the last know ip address in the device info under a new field as we cannot use connections because we don't want to mix the ip with stable identifiers.
Not part of this proposal, but in the future we could also use the data to improve the error when a config entry cannot setup because it is connecting to an old ip address.
Beta Was this translation helpful? Give feedback.
All reactions