Hi I and a friend of mine have the same issue. OTABasic.ino works perfectly when the IDE and the ESP are on the same AP but with these boards beinf outside in more remote conditions we are using either a second AP on the same network or a Wifi repeater/extender. When we do this the IDE sinding on the desktop can no longer see the device for downloading to and cannot pind ts address.
The device however is still able to send and recieve MQTT messages to the mosquito server on a RPi which is connected to the same AP as the desktop.If I take a laptop in range of the remote AP and connect it works again.
I sent debugs using MQTT and seems like the ESP has not errored when seting up and waiting for programing. So I think It may be just not visible from the Master AP.
Any ideas?
OTA Does not seem to work if you use AP or Repeater
Re: OTA Does not seem to work if you use AP or Repeater
Any time you cross subnets you need gateways and routing. Without knowing what your IP subnets and gateways are from one end to the other it's normally hard to know where the issue lies. Except..... I did a little googling on Arduino and OTA. It appears that the name of your ESP32 is broadcast over the network for the Arduino IDE to discover. That sort of thing only works on local subnets. So it's entirely predictable that you are experiencing this problem.
John A
John A
Re: OTA Does not seem to work if you use AP or Repeater
Thanks, that has given me a starting point I will post back if I work out how.
Cheers
Cheers
-
- Posts: 9727
- Joined: Thu Nov 26, 2015 4:08 am
Re: OTA Does not seem to work if you use AP or Repeater
Moving this to the Arduino subforum, as it's specific to the Arduino OTA method.
Who is online
Users browsing this forum: Google [Bot] and 53 guests