maximkulkin / esp-homekit-demo

Demo of Apple HomeKit accessory server library
MIT License
809 stars 233 forks source link

Captive portal freezes after entering SSID #246

Closed jenkoj closed 5 years ago

jenkoj commented 5 years ago

Hi,

Just spent few hours debugging why my capitve protal does not complete operation after entering SSID and password. It did not work on multiple ESP8266 devices such as on sonoff or stock ESP8266.

SOLUTION: Completly erase flash on ESP before doing anything else. Command: $ esptool.py --port /dev/ttyUSB0 erase_flash Change "ttyUSB0" with your serial addres. You can find it with $ ls /dev/tty* or $ ls /dev/cu*