8000 OTA upload using arduino-cli? · Issue #8962 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content
OTA upload using arduino-cli? #8962
Closed
Closed
@blue-wind-25

Description

@blue-wind-25

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0