My sketch uses ArduinoOTA.h ver 1.0.6 and WiFiNINA.h ver 1.8.10
The MKR firmware was updated for WiFiNINA 1.8.10
The IDE 1.8.15 is running on MacOS 10.13.6 on a 2018 MacMini.
The Mac is using Ethernet to connect to the wifi router and the MKR is using wifi to connect to the router.
When I first use the IDE to upload my sketch via USB, after the upload is completed and the MKR boots up and connects to my local wifi network the IDE displays the allocated local 192.168.x.x ip address. At this point I can disconnect the usb from my Mac and upload successfully new sketches via the wifi ip network port.
However after several days(?) I find that the IDE can no longer see the MKR's wifi ip address.
I can ping the MKR successfully from a Terminal and the sketch is continuing to execute and upload data to Thingspeak. Other devices connected to my local wifi are functioning normally.
Reloading the IDE does not find the MKR wifi net port.
Powering off/on the MKR results in the IDE rediscovering the MKR's wifi network port, but this requires intervention by other means to perform the power off/on and defeats the purpose of OTA!
Does the IDE need to be on continuously to maintain the IP port connection?
Is there a library function that the MKR sketch can use to test for loss of the port and reconnect to the IDE and maintain the OTA function?