-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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
BasicOTA.ino does not seem to work #1447
Comments
The mDNS-responder doesn't understand mDNS-queries for all services. You have to do 'avahi-browse _arduino._tcp' to see the device, ie. query for a specific service. Also, dns-sd != mDNS. |
Oh, and I, at least, have to restart the IDE for it to see the device. After that it works fine, though. |
Here is a patch written my @me-no-dev that solves this: Also, @me-no-dev pointed out that when using the latest hourly Arduino IDE builds, one does NOT have to select "OTA" but "Serial" when doing OTA (yes!). With the patch linked above the port does appear in the IDE (without having to restart it) and OTA works in the latest hourly build of the IDE. Sent PR #1451 |
Actually on any build 1.6.7 or above, you do not need to select OTA in upload method options. |
@me-no-dev: That's a good bit of information to know! I've been wondering why I can't get password-enabled OTA to work. I do heartily support the idea of better documentation -- both regarding this and in general ;) |
So:
|
Looks like the only thing left to do in order to close this is "Remove OTA option from the menu since it is now misleading" |
Created #1702 to track the remaining task, closing this one. |
The way I understand it, running BasicOTA.ino should make the device available as a port in the Arduino IDE so that sketches can be uploaded over the air.
Running the
BasicOTA.ino
sketch with staging and the hourly Arduino IDE build, the sketch does not seem to advertise itself using dns-sd, at least it never shows up in the IDE as a port and usingavahi-browse -a
I also never see the device.@celsworth added on gitter.im:
The text was updated successfully, but these errors were encountered: