-->
Page 1 of 2

OTA Update problem

PostPosted: Wed Apr 06, 2016 8:47 am
by Phil colbert
Hi

Cant find anything on this online but there seems to be a problem with the speed of the new binary arriving or something like that ?

If I update on a local server in my network, it works perfectly, if I move the binary to a server on the web then it fails with Update.writeStream .

Is there anyway to cache the file first or something, any ideas ?

Thanks !

Re: OTA Update problem

PostPosted: Wed Apr 06, 2016 12:09 pm
by danbicks
Hi Phil,

What software versions are you using?
I am trying desperately hard at the moment to get the ArduinoOta library working. I have 1.6.7 IDE stable build 2.0.0 communication is established but serial monitor using terminal program always times out when transfer starts. NodeMCU version 3

Banging my head against a wall.

Any pointers would be great.

Cheers

Dans

Re: OTA Update problem

PostPosted: Wed Apr 06, 2016 1:33 pm
by Phil colbert
2.0.0 at the moment, they removed variable serial buffer size in 2.1 so I cant use that , annoying to remove a feature :(

Just use the ESPhttpUpdate.update(host , port, url );

this does work everytime on a local IP, but if its remote , it fails :(

Re: OTA Update problem

PostPosted: Thu Apr 07, 2016 11:32 am
by Phil colbert
Anyone ? :) Please ?! :)