-
Notifications
You must be signed in to change notification settings - Fork 22
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
[Question] MAC Address or Serial number possible? #21
Comments
This is the API description that I was using while developing the lib (attached). Unfortunately I can't see MAC or any other proper ID over there. The only thing that could maybe help somehow would be |
Thinking about it more, the only idea I have is just get "ID" in the |
Do you mean we could try to set a ID inside the configuration? |
I haven't looked in HomeAssistant dev docs in detail, but quick look tells me that making change so the component accepts some form of "ID" in the |
I think there should be a way to get the mac-address, it is shown in DLOADX. |
Having an IP of Integra's ETHM you can resolve MAC address e.g. using this library "get-mac", can't you? Then it shouldn't be very difficult to generate unique IDs. |
get-mac should not be used by HA as described in the entity registry best practices here https://developers.home-assistant.io/docs/entity_registry_index/#example-acceptable-sources-for-a-unique-id |
Then another idea would be hash of IP+integration key - this should be guaranteed unique... |
got an answer for my ticket from satel, there is no support for getting the mac-address via the integration protocol, instead they mentioned to use arp command with -a to get the mac. |
update from my ticket, support talked to R&D. |
Description
I was attempting to add unique IDs to the Home Assistant integration, which would allow configuration from the UI for the entities. The problem seems to be that multiple installations would conflict with their IDs. HA does not allow the use of IP addresses to set unique IDs.
I looked at the protocol, but it doesn't look like we can read the MAC address or serial number, do you know if this is perhaps readable from the ETHM-1 Plus module?
home-assistant/core#74699
What I Did
The text was updated successfully, but these errors were encountered: