-
Notifications
You must be signed in to change notification settings - Fork 357
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
hostname #74
Comments
Interesting; would be nice to add this (I'm using IP addresses at home.. but it would be nice to supply this by default too) |
easytarget
added a commit
that referenced
this issue
Oct 25, 2020
Implemented as option in 'myconfig' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had to add a couple of lines of code to specify the hostname.
WiFi.config(INADDR_NONE, INADDR_NONE, INADDR_NONE); WiFi.setHostname("my_cam_hostname_goes_here");
I'm not sure where the best place to put them is but they work here, at the top and bottom of this snippet from the main file:
The hostname probably needs a myconfig.h setting too.
I think I found the solution here espressif/arduino-esp32#3438
The text was updated successfully, but these errors were encountered: