Closed okanduzyel closed 3 years ago
Try latest version
Try latest version
I guess I use the latest version. (Downloaded them from your links)
--- ota_connect
target IP is 185.199.109.154 bind socket 62008....OK. socket connect to remote....OK. create SSL....OK. set_fd done. SSL to github-releases.githubusercontent.com port 443....failed, return [-0x1]
wolfSSL_send error = -322
send request......failed, return [-0x1]
wolfSSL_send error = -322
--- ota_verify_hash
--- ota_hash
error reading flash
error reading flash
Due to this error _"wolfSSLsend error = -322", you need to update the bootloader with a serial connection. This was out-with my control, and to do with the way LCM works with GitHub.
I downloaded three files that you gave and programmed with the serial port.
esptool.py -p /dev/cu.usbserial-1420 --baud 230400 write_flash -fs 8m -fm dout -ff 40m 0x0 rboot.bin 0x1000 blank_config.bin 0x2000 otaboot.bin
Apologies, Wiki was out of date. Try again with latest Wiki instructions.
Now it is LCM-XXXXXX. Connected via wifi but doesn't show pop-up setup page.
I assume you erase the flash prio to flashing the bootloader, this can happen, two options
I develop on a Mac, so I use pio
pio device monitor --port $ESPPORT --baud 115200
you can then type all the details directly form the command line.
Flashed again and it solved. But,
It must be /maccoylton/esp-homekit-air-quality-sensor I think your wiki must upgrade a little bit.
thanks, updated to correct spelling
Hi,
I face off that issue after the OTA configuration.