Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By DIRR70
#81375 Hello Lakshan Fernando,

there is a menu item called "export compiled binary" under "sketch" in the main menu. This creates a .bin file in the same directory where your .ino is and that is what I serve for the OTA and it is working well... ;)
User avatar
By bdepauw
#83336 Hello All,
I have an additional question on ESPhttpUpdate class.
The site : http://arduino.esp8266.com/Arduino/vers ... dates.html
mentions :
"Simple updater downloads the file every time the function is called"
ESPhttpUpdate.update("192.168.0.2", 80, "/arduino.bin");

If this is true, will it load the .bin file really each time ? Or will it do a check first to see if it is a newer/changed file ( md5 check ?)
This would mean that you can't use this with sleep mode ( let's say 30s ), as it would each time load MB's and flash+reboot when waking up ...

I have a completely autonomous ESP without any human/manual interaction, so I can't call the function based on a interaction ( example button press )

Thanks for all answers.