Hi !
I try to set up my device but my wifi password is not saved in his intregrality.
My password is composed of 63 ASCII characters.
Quote:---vESPrinoCFG_start---
isMigrated=1
custom_url_arr0=http://192.168.1.7/?vthing&%CO2%&%PM25%&%PM10%
send.interval=120
wifi.ssid=Heaven7
wifi.p1=!GSoQYNfs||Ae3B?Q`\16'I.?4&&
---vESPrinoCFG_end---
What's is the problem ?
Many thanks for the help ;-)
Stéphane
aahh Sorry!.. i realized a couple of days ago that i should envision 64 char long passwords, and added a check about this in one place of the code, completely forgetting the other few
i fixed it now, but for now i will not push a general update for all devices about this, so you can update only yours with the command
otah
in the input field below, it will download and install the new fw in half a minute
thanks for your help but I have this message :
Quote:Will update from: http://anker-bg.com/vlast3k/vesprino/latest.bin]
[HTTP error: connection refused
HTTP_UPDATE_FAILED
strange because I can download from this url directly in chromium.
Can I update from local file ?
Quote:D:\Download\esptool-0.4.9-win32>esptool -vv -cd nodemcu -cb 256000 -cp "COM3" -cf latest.bin
esptool v0.4.9 - © 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu
setting baudrate from 115200 to 256000
setting port from COM1 to COM3
espcomm_upload_file
espcomm_upload_mem
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
Uploading 342400 bytes from latest.bin to flash at 0x00000000
erasing flash
size: 053980 address: 000000
first_sector_index: 0
total_sector_count: 84
head_sector_count: 16
adjusted_sector_count: 68
erase_size: 044000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting serial port timeouts to 15000 ms
setting serial port timeouts to 1000 ms
espcomm_send_command: receiving 2 bytes of data
writing flash
................................................................................ [ 23% ]
................................................................................ [ 47% ]
................................................................................ [ 71% ]
................................................................................ [ 95% ]
............... [ 100% ]
starting app without reboot
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
closing bootloader
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
I have updated the device but after power off/on, my wifi pass is always truncated
:
hmm I will check then again in the afternoon
I will set a long password on my router as well
and btw
do you have " in the pwd ?
my wifi password is like this one :
!t?7k?qen?s|:.oiSKO|ar/qcMFreJ&ST`V+k?~cPN9BC=21255o+1B70%h6#k!
but no " in.
i found one additional place where i had to check for the length.. i had to test it the first time but i was too sure it would work.. sorry
download again latest.bin (this time it is a bit bigger as i added some other functionality)