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

Please add a setting to change the device's IP address #221

Open
mh166 opened this issue Nov 25, 2022 · 3 comments
Open

Please add a setting to change the device's IP address #221

mh166 opened this issue Nov 25, 2022 · 3 comments

Comments

@mh166
Copy link

mh166 commented Nov 25, 2022

Today, I had an unexpected problem: my automation didn't report the washing machine's state. At first I thought that maybe the machine's wifi signal strength was too weak. But when looking through the DHCP logs, I discovered that rather it's IP address had changed.

So the wifi was working as expected, but the integration tried to connect to the wrong IP. Of course, I don't think there's a way to automatically update the integration with the new IP address. And it shouldn't happen too often, anyway. But the only way to set the new address was to go edit HA's config files manually. Therefore, I'd like to suggest exposing this vital setting via the GUI.

At the moment, the only settings for the device are in regards to name, area and enabled/disabled state of the device:
image

@ofalvai
Copy link
Owner

ofalvai commented Dec 3, 2022

Would it be possible to assign a static IP to the device in your router's admin settings? This is what I do for all my smart home devices that are referenced by their IP, I think this is the ultimate fix to avoid problems like this.

@mh166
Copy link
Author

mh166 commented Dec 4, 2022

You're absolutely right: this is the solution I settled on, as well.

Still, I think it would be very handy to expose such a setting. On the one hand, you might reconfigure something in your LAN and the IP may change anyway. On the other hand, I can say from experience (working as tech support for a major ISP) that there are plenty of routers that are not capable of making "DHCP reservations" or assigning "static leases" in the first place. So even though the IP shouldn't change that often, it might still happen from time to time.

But I do agree: it's probably not a high priority, but rather a very convenient and welcome addition. 😊

@chatch314
Copy link

Can I ask where did you find the file to edit to change the IP address?

I've had a bit of a search but I can't see which file it is in!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants