Description
Hello,
OTA upload works with Arduino IDE 2.1.1 (it always ask for OTA password even if I do not use OTA password. but it still works well :-)
However it does not work using arduino-cli. I have downloaded the latest arduino-cli from https://github.com/arduino/arduino-cli/releases and then execute (after compile):
arduino-cli upload --fqbn "esp8266:esp8266:nodemcuv2" --board-options "ip=lm6f" --protocol network --port "192.168.1.113" "OTA_Test"
It outputs:
Uploading to specified board using network protocol requires the following info:
Error getting user input: user input not supported in non interactive mode
Note that if I use invalid IP (for example 192.168.1.200), it outputs:
Error getting port metadata: port not found: 192.168.1.200 network
So at least it can detect if there is something at '192.168.1.113'.
Is this mean that Arduino ESP8266 core does not support OTA upload using arduino-cli? Or perhaps I missed something in the command line parameter?
The sketch used is a standard OTA sketch test such as https://randomnerdtutorials.com/esp8266-ota-updates-with-arduino-ide-over-the-air.