-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Make it possible to use ArduinoOTA without mDNS? #1297
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
Comments
|
ArduinoOTA without the mDNS backing is just OTA. It's painless to add a parameter to the begin method to not start mDNS. |
Is it possible to manually specify an IP in the IDE for OTA instead of using mDNS? |
the IDE is using mDNS to discover the devices, so no you can not, but you can run the command manually and upload your bin to IP (you would need to comment those lines to stop mDNS) |
I settled on using ESP8266HTTPUpdateServer. Thanks! |
This would be really useful for my case as well. I'm using another library that already uses mDNS for auto-discovery. It seems redundant to have it broadcasting two different names for no reason. Especially since I'm using a command line tool and don't need to use the IDE to send OTA updates. |
Closing via #5494 |
Uh oh!
There was an error while loading. Please reload this page.
As it is currently implemented, the ArduinoOTA class:
1-requires #include <ESP8266mDNS.h> in the sketch(I'm not sure why its own include seems not to work)
2-effectively uses mDNS with no ability to disable it
This issue is a request to make it possible to use ArduinoOTA without mDNS. The justification for me is that I don't want mDNS in the first place, that it's not required for OTAs, and that it bloats the sketch size (which on small flash sizes is a real issue).
Something like #define ARDUINO_OTA_NO_MDNS would probably be feasible?
Thank you
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: