-
Notifications
You must be signed in to change notification settings - Fork 78
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
MAC Adress instead IP #245
Comments
Hi Wolfram,
You can configure your Fritzbox in a way, that it always assigns the same
IP to the Sungrow inverter.
(Heimnetz > Netzwerk then pick the device and you can select that option
under "Adressen im Heimnetz").
Best,
Jan
mega-hz ***@***.***> schrieb am Mi., 31. Jan. 2024, 19:56:
… Hi Martin,
can you manage it one can use instead of IP-Adress of ModbusTCP to use the
MAC Adress?
In secrets.yaml ?
The reason i recommend this :
When Fritzbox DHCP give new IP Adresses to some Devices and Sungrow
becomes a different one,
the whole Integration won't work anymore.
Another option could be to let search for AC:19:9F:*:*:** so it would
find it itself?
regards,
Wolfram.
—
Reply to this email directly, view it on GitHub
<#245>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMSMDKIPM5RYU63SBTCNVFTYRKHVRAVCNFSM6AAAAABCTSUK32VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYTANZWGEZDINI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Hi,
i know this way.
at my place i made right that.
But at my neighbour that fritzbox doesn’t support this button.
Would it be possible to use mac?
Regards,
Wolfram.
Von: jhegewald ***@***.***>
Gesendet: Mittwoch, 31. Januar 2024 22:56
An: mkaiser/Sungrow-SHx-Inverter-Modbus-Home-Assistant ***@***.***>
Cc: mega-hz ***@***.***>; Author ***@***.***>
Betreff: Re: [mkaiser/Sungrow-SHx-Inverter-Modbus-Home-Assistant] MAC Adress instead IP (Issue #245)
Hi Wolfram,
You can configure your Fritzbox in a way, that it always assigns the same
IP to the Sungrow inverter.
(Heimnetz > Netzwerk then pick the device and you can select that option
under "Adressen im Heimnetz").
Best,
Jan
mega-hz ***@***.*** <mailto:***@***.***> > schrieb am Mi., 31. Jan. 2024, 19:56:
Hi Martin,
can you manage it one can use instead of IP-Adress of ModbusTCP to use the
MAC Adress?
In secrets.yaml ?
The reason i recommend this :
When Fritzbox DHCP give new IP Adresses to some Devices and Sungrow
becomes a different one,
the whole Integration won't work anymore.
Another option could be to let search for AC:19:9F:*:*:** so it would
find it itself?
regards,
Wolfram.
—
Reply to this email directly, view it on GitHub
<#245>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMSMDKIPM5RYU63SBTCNVFTYRKHVRAVCNFSM6AAAAABCTSUK32VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYTANZWGEZDINI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.*** <mailto:***@***.***>
com>
—
Reply to this email directly, view it on GitHub <#245 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AFBI7E6BFTCMFZAGNXJU3MTYRK4VXAVCNFSM6AAAAABCTSUK32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQGA2DCNBZGA> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AFBI7EY5RWY3NYQ7FWFH4BTYRK4VXA5CNFSM6AAAAABCTSUK32WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTSOGBBE.gif> Message ID: ***@***.*** ***@***.***> >
|
maybe HA can scan for the MAC-Adress and change it in secrets.yaml? |
BTW: wird die secrets.yaml nur einmal eingelesen oder regelmäßig? |
hi, the YAML is only parsed on HA startup (or if you select the restart option to only parse yaml). The modbus integration does not support devices by mac address. So unfortunately, there is no way to make the MAC <> IP mapping by Home assistant. For finding devices in my network, I often use the freeware "Zenmap" (a GUI for nmap) |
A MAC address is not a replacement for an IP address, they work on different levels of the networking stack. If your router does not offer an option to always assign the same IP address to a device (odd, haven't heard of Fritz!Box models that don't have this option), you can go the other way: (Also: maybe that particular Fritz!Box is on an older Fritz!OS version and you first need to activate the advanced mode in the UI? I'm not sure if that particular setting is hidden behind that mode. Maybe check the vendor documentation.) |
Hi Martin,
can you manage it one can use instead of IP-Adress of ModbusTCP to use the MAC Adress?
In secrets.yaml ?
The reason i recommend this :
When Fritzbox DHCP give new IP Adresses to some Devices and Sungrow becomes a different one,
the whole Integration won't work anymore.
Another option could be to let search for AC:19:9F:::** so it would find it itself?
regards,
Wolfram.
The text was updated successfully, but these errors were encountered: