Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wifi password truncated : not connected
#1
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
Reply
#2
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 Smile
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
Reply
#3
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 ?
Reply
#4
Smile)) indeed 
you need to have wifi to download the fw
http://forum.vair-monitor.com/showthread...d=12#pid12
here i have described how to manually update
Reply
#5
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  Huh Confused :
Reply
#6
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 ?
Reply
#7
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.
Reply
#8
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)
Reply
#9
Hi Vladimir,

The link : http://anker-bg.com/vlast3k/vesprino/latest.bin give me the same firmware old firmware (md5 : 49096D9E273A1905221B2C4C202B2141)

Don't you have forget to upload it ?  Tongue
Reply
#10
hmmm are you sure it is not cached somehow ?
the new one is 421k
you can also try
http://anker-bg.com/vlast3k/vesprino/fir...160924.bin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)