Uploading remotely to Arduino Industrial 101

so, I’d like to remotely (OTA) upload to my Arduino Industrial 101, unfortunately, PlatformIO IDE is unable to automatically detect it, and setting upload_port to it’s IP in the ini file doesn’t help (it still tries to upload as if it was a normal serial port). Since there is zero documentation on the upload_protocol option, I haven’t tried it, but maybe that could hold the solution?

Anyways, here’s the console output from the upload part:

DATA:    [==        ]  15.5% (used 396 bytes from 2560 bytes)
PROGRAM: [===       ]  27.5% (used 7898 bytes from 28672 bytes)
Configuring upload protocol...
CURRENT: upload_protocol = avr109
Looking for upload port...
Use manually specified:
Forcing reset using 1200bps open/close on port
Waiting for the new upload port...
Error: Couldn't find a board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
*** [upload] Explicit exit, status 1

Any ideas?

Note: Arduino IDE detects and uploads to the board just fine.

Thanks, it did help, but it does make me wonder, since this is something the original arduino toolchain supports flawlessly - shouldn’t it’s support be also in PlatformIO?