Skip to content

Problem with platform.io and ArduinoOTA (Example BasicOTA.ino) #3020

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chessweb01 opened this issue Mar 3, 2017 · 3 comments
Closed

Problem with platform.io and ArduinoOTA (Example BasicOTA.ino) #3020

chessweb01 opened this issue Mar 3, 2017 · 3 comments
Labels
waiting for feedback Waiting on additional info. If it's not received, the issue may be closed.

Comments

@chessweb01
Copy link

chessweb01 commented Mar 3, 2017

The example BasicOTA.ino that illustrates over the air firmware updates of ESP8266 modules compiles with Arduino IDE 1.6.8 but not with Atom/platform.io.

With the latter I get "error: 'class ArduinoOTAClass' has no member named 'getCommand'". platform.io has an obsolete version of the ArduinoOTA class. On the other hand, Arduino's version is more recent and has a getCommand method.

I'm positive that Atom, platform.io, and all packages are up to date on my computer. I'm working with NodeMCU v1.0.

Work around:
Locate Arduino's version of the ArduinoOTA class and put it into the local lib folder (lib/ArduinoOTA/ArduinoOTA.h, .cpp) of the platform.io project.

@devyte
Copy link
Collaborator

devyte commented Sep 7, 2017

@chessweb01 is this still an issue? I know of others using platformio without problems.

@devyte devyte added the waiting for feedback Waiting on additional info. If it's not received, the issue may be closed. label Sep 9, 2017
@gschintgen
Copy link

@devyte
Hi, I'm not the OP but I'd say this is still an issue. I've just done some maintenance on a small project that I started some months ago and tried to remove my local copy of ArduinoOTA in order to reduce deviations from upstream, when I hit this "has no member named 'getCommand'" error. I'd say my Atom / PlatformIO setup is current as of today.

@devyte
Copy link
Collaborator

devyte commented Oct 4, 2017

Duplicate of #2833 , closing.

@devyte devyte closed this as completed Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for feedback Waiting on additional info. If it's not received, the issue may be closed.
Projects
None yet
Development

No branches or pull requests

3 participants