-
-
Notifications
You must be signed in to change notification settings - Fork 508
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
[Request] IPv6 support #2186
Comments
I think the implementation and ressource usage of IPv6 does not really match the usecases in the real world. |
I'm setting up my first openDTU and found out it could not reach my Home Assistant/MQTT server due to missing ipv6 support. I do live in the real world. |
Well of course people are using IPv6. If you think otherwise, look at |
@imp1sh @straaat Again, I'm not against IPv6 in OpenDTU but from a developers/ressource usage perspective, it makes no sense. |
Well this might be new to you but when you run IPv6 you will have public addresses in your so called "private" network and NO, this is not a security risk. Well it seems you don't know very much about networks. Using IPv6 is not a rare thing as you seem to believe. It has become the default. |
Yes, IPv6 is very new to me, has been released just a "few" years ago. facepalm I won't join this discussion as it's missing the point. |
I do use ipv4 as well but had not setup a DNS name for my MQTT server’s ipv4 address. Not a big deal but just wanted to share my experience. If this was a commercial product, I would send it back. I appreciate the work the devs put in and just want to let them know that I do value ipv6 support. I’m very happy with the software as is. |
According to this it is almost simplistic as IPv6 support has been added to the WiFi library we are already using. You just have to enable it ;) Exploring IPv6 capabilties of microcontrollers like the ESP8266 and ESP32 // Enable IPv6
WiFi.enableIpV6();
// Print the ESP32's IPv6 address
Serial.print("IPv6 Address: ");
Serial.println(WiFi.localIPv6().toString()); |
If its that easy and if the required code is already present - why not give it a try. There might be a delay between enabling IPv6 and SLAAC to be completed. Apart from enbling IPv6 on Wifi, all configuration parts using addresses or hostnames should be checked to make sure IPv6 addresses are accepted and working. |
I tried. The ESP gets a ipv6 address but MQTT does not work. I think the MQTT library might not support it. |
Thank you so much for trying @straaat |
I'm not able to reach the webserver. So far only ping responds. |
I wasn't able to find where the webserver is spawned in the source code. It might be that by default it will only listen on |
According to this upstream discussion eg Tasmota has implemented IPv6 some 8 months ago based on the PR |
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
I'd wish OpenDTU supported IPv6 so it can integrate into what the standard is today.
Describe alternatives you've considered
No response
Additional context
Autoconf and static configuration should work. A DHCPv6 client would be nice to have.
The text was updated successfully, but these errors were encountered: