Replies: 2 comments
-
Ok I have it working now, if anyone could advise if there is an issue with this: Edit this file with IDLE python editor: And change:
to whatever port you want i.e. 12345
Anyone see an issue/easier way? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm using VSCode and platform and was able to change the behavior using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My home network (Unifi) has all the arduino devices on a separate VLAN.
To perform OTA update the following needs to happen:
Seems that
ArduinoOTA.setPort(8266);
can specify the UDP port within the sketch, but nowhere I can find for the seemingly random TCP port needed for the other direction, so I can create firewall rule.Is it possible to specify this in the library files (maybe ArduinoOTA.h
uint16_t _ota_port = 0;
? Or even better via ArduinoIDE?Another option is to set this via editing
espota.py
in the section:But is this a bit dodgy?
Source article which led me here: https://tech.fawk.eu/?p=63&unapproved=9&moderation-hash=fbcaaee59e18b868ceb1e9e21f79b08a#comment-9
Beta Was this translation helpful? Give feedback.
All reactions