Now it works, even in my own application
I've copied some of recent reboot log below for your info.
Your latest message gave some insights that I must have overlooked in the documentation :
- need to use an external connection, not the IDE serial monitor
- stay away from OTA passwords for now
The other thing that probably went wrong (see your earlier input) was to use IDE 1.6.7 and remove the old $HOME/.arduino15 directory .
My app is on https://github.com/dannybackx/arduino-upnp , I'll post updated sources including OTA support later today.
Thanks for all your input.
Danny
AlarmService::begin (pin 0)
Starting OTA...
Ready!
OTA Start
OTA Progress: 0%
OTA Progress: 0%
OTA Progress: 1%
OTA Progress: 1%
..
OTA Progress: 99%
OTA Progress: 100%
OTA End
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
@cp:0
ld
Alarm Controller
Boot version 31, flash chip size 4194304, SDK version 1.3.0
Free sketch space 2875392
Starting WiFi... MAC 5C:CF:7F:0E:AA:14, SSID {WiFi-2.4-44DF}, IP 192.168.1.101, GW 192.168.1.1
SPIFFS directory {/} :
/config.txt
SPIFFS directory {} :
/config.txt
SPIFFS total 957314 used 502 maxpathlength 32
SPIFFS : /config.txt exists, content 99 bytes
Starting HTTP...
Starting SSDP...
Configuration::Configuration(Alarm)
ReadConfiguration(Alarm)
Configuration match for Alarm code {1234}
AlarmService::begin (pin 0)
Starting OTA...
Ready!