-
Notifications
You must be signed in to change notification settings - Fork 77
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
Allow domain names instead of IP address #57
Comments
Ok, no problem, it's easy to resolve domain names to IPs in python (maybe it will even work just with the domain name). I didn't know about such feature on routers and most of time time I connect to AP, so IP is always the same. But since you have use for this, why not.. |
Should be working, try out new code. |
Could you confirm that this is working? My router doesn't support this so it would be hard for me to try out :) |
Hi BR, it's working great!! Here's what I tested:
This is now working very smoothly! Thank you so much! By the way, if you're interested, Tomato router firmware works very nicely and is easy to use, regular tomato for basic and older routers or advanced tomato for fancy routers. -Vince |
Oh, one thing that still doesn't work like before: when I connect via serial to a NodeMCU, it resets it and it cannot stop the autorunning program. Even if I use a different terminal program to first stop the ESP, connecting via serial resets/restarts the autorun program. But this is a different issue. For WiFi connection, it works perfectly! |
Thanks for trying out and recommendation about the firmware. This was only supposed to allow hostname rather than just IP in Address so this issue can be closed. The reset thing will be resolved in #48, although it's getting tricky to figure out. |
Hello BetaRavener,
Feature request: can you allow any domain name instead of forcing us to use IP addresses?
For newer routers, and routers using firmware such as dd-wrt, openwrt, tomato, you can set a local domain name and clients can be accessed by domain names instead of by IP address, but uPyLoader only allows IP addresses. IP addresses are terrible because they can change (unless forced static).
For example, at home I run Tomato firmware on my router and set my domain to "bgw.lan", so if my ESP8266 is called "esp-patio", I can refer to it as "esp-patio.bgw.lan" and the router takes care of routing it. In fact, I can just refer to it by "esp-patio" without the local domain and it knows to route it locally.
So would be cool if uPyLoader allows not just "x.x.x" or "x.x" domain name or IPs, but really allow any name "x" and just trap the error. Thanks!
The text was updated successfully, but these errors were encountered: