Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not connecting after first try went fine
#1
Today I received my CO2 monitor, it looks awesome!
I hooked it up, the setup went fine and received some values over MQTT.
Then I powered it off and on again, and I am getting the next response in the vThings output terminal:e
The led is purple most of the time and flashes to green now and then for +- 2 seconds.
Code:
Searching for v.Air  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . Searching for v.Air Trying : /dev/ttyUSB2

Trying : /dev/ttyUSB1

[Heap Heap at start: 38680]
.  . [²Epʤø]
[XL¬Zü>Mÿ]
[$lÍÉø]
[bGSýzhÅ3ü]
[PropList, register commands]
[xxxxx]
. [Heap Heap at start: 38680]
[Found i2c bus on SDA:SCL = D5:D1]
[(14:5)

vESPrino v1.16 build20]

vESPrino found on : /dev/ttyUSB1
[OK
ready >]
[OK

vESPrino v1.16 build20160917
IP address: 0.0.0.0
ready >]
[OK
---vESPrinoCFG_start---
isMigrated=1
send.interval=120
wifi.ssid=SSID
wifi.p1=mypassword
mqtt.server=192.168.1.200
mqtt.port=1883
mqtt.client=202
mqtt_msg_arr0=/VAir_monitor/temp:{%TEMP%}
mqtt_msg_arr1=/VAir_monitor/hum:{%HUM%}
mqtt_msg_arr2=/VAir_monitor/pres:{%PRES%}
mqtt_msg_arr3=/VAir_monitor/alt:{%ALT%}
mqtt_msg_arr4=/VAir_monitor/co2:{%CO2%}
---vESPrinoCFG_end---
ready >]
[.]
[.

Exception (3):
epc1=0x4010011d epc2=0x00000000 epc3=0x00000000 excvaddr=0x40019588 depc=0x00000000

ctx: cont
sp: 3fff0670 end: 3fff08f0 offset: 01a0

>>>stack>>>
3fff0810:  3ffef49c 0000000b 3fff0888 3ffef380  
3fff0820:  3fff09ec 000002f0 000002f0 4010020c  
3fff0830:  3ffe8e20 3fff1018 3fff0888 40100688  
3fff0840:  3ffe8e20 3fff1018 3ffef7d8 402020a0  
3fff0850:  ffc5f6ed 3ffef7f8 3ffef7d8 40215c5e  
3fff0860:  69725061 00797474 3fff29cc 4021411a  
3fff0870:  3ffe8e29 44564941 7275735f 6c696576  
3fff0880:  636e616c 34325f65 3fff2a00 0000000f  
3fff0890:  0000000b 3fff2a44 0000001f 00000014  
3fff08a0:  3ffef38c 3ffef318 3ffef578 40217d25  
3fff08b0:  feefeffe feefeffe feefeffe feefeffe  
3fff08c0:  feefeffe feefeffe feefeffe 3ffef8c8  
3fff08d0:  3fffdad0 00000000 3ffef8c0 40202d30  
3fff08e0:  feefeffe feefeffe 3ffef8d0 40204ef0  
<<<stack<<<
H!ˆÈ1§DHûÿ
PropList, register commands
xxxxx]
[Heap Heap at start: 38680
Found i2c bus on SDA:SCL = D5:D1 (14:5)

vESPrino v1.16 build20160917
IP address: 0.0.0.0
ready >
Waiting for auto-connect]
[.]
[.]
[.

Exception (3):
epc1=0x4010011d epc2=0x00000000 epc3=0x00000000 excvaddr=0x40019588 depc=0x00000000

ctx: cont
sp: 3fff0670 end: 3fff08f0 offset: 01a0

>>>stack>>>
3fff0810:  3ffef49c 0000000b 3fff0888 3ffef380  
3fff0820:  3fff09ec 000002f0 000002f0 4010020c  
3fff0830:  3ffe8e20 3fff1018 3fff0888 40100688  
3fff0840:  3ffe8e20 3fff1018 3ffef7d8 402020a0  
3fff0850:  ffccb23c 3ffef7f8 3ffef7d8 40215c5e  
3fff0860:  69725061 00797474 3fff29cc 4021411a  
3fff0870:  3ffe8e29 44564941 7275735f 6c696576  
3fff0880:  636e616c 34325f65 3fff2a00 0000000f  
3fff0890:  0000000b 3fff2a44 0000001f 00000014  
3fff08a0:  3ffef38c 3ffef318 3ffef578 40217d25  
3fff08b0:  feefeffe feefeffe feefeffe feefeffe  
3fff08c0:  feefeffe feefeffe feefeffe 3ffef8c8  
3fff08d0:  3fffdad0 00000000 3ffef8c0 40202d30  
3fff08e0:  feefeffe feefeffe 3ffef8d0 40204ef0  
<<<stack<<<
?č()ôŒ
¥
PropList, register commands
xxxxx]
[Heap Heap at start: 38552
Found i2c bus on SDA:SCL = D5:D1 (14:5)

vESPrino v1.16 build20160917
IP address: 0.0.0.0
ready >
Waiting for auto-connect]
[.]
[.]
[.

Exception (3):
epc1=0x4010011d epc2=0x00000000 epc3=0x00000000 excvaddr=0x40019588 depc=0x00000000

ctx: cont
sp: 3fff0670 end: 3fff08f0 offset: 01a0

>>>stack>>>
3fff0810:  3ffef49c 0000000b 3fff0888 3ffef380  
3fff0820:  3fff09ec 000002f0 000002f0 4010020c  
3fff0830:  3ffe8e20 3fff1018 3fff0888 40100688  
3fff0840:  3ffe8e20 3fff1018 3ffef7d8 402020a0  
3fff0850:  ffccb0f6 3ffef7f8 3ffef7d8 40215c5e  
3fff0860:  69725061 00797474 3fff29cc 4021411a  
3fff0870:  3ffe8e29 44564941 7275735f 6c696576  
3fff0880:  636e616c 34325f65 3fff2a00 0000000f  
3fff0890:  0000000b 3fff2a44 0000001f 00000014  
3fff08a0:  3ffef38c 3ffef318 3ffef578 40217d25  
3fff08b0:  feefeffe feefeffe feefeffe feefeffe  
3fff08c0:  feefeffe feefeffe feefeffe 3ffef8c8  
3fff08d0:  3fffdad0 00000000 3ffef8c0 40202d30  
3fff08e0:  feefeffe feefeffe 3ffef8d0 40204ef0  
<<<stack<<<
Rč,)ôŒ
a
PropList, register commands
xxxxx]
[Heap Heap at start: 38680
Found i2c bus on SDA:SCL = D5:D1 (14:5)

vESPrino v1.16 build20160917
IP address: 0.0.0.0
ready >
Waiting for auto-connect]
[.]
[.]
[.

--- Setup PLUGINS ---
Setup plugin: Neopixel
Setup plugin:]
[.åÖÔô1§Dà!ü
PropList, register commands
xxxxx]
[Heap Heap at start: 38680
Found i2c bus on SDA:SCL = D5:D1 (14:5)

vESPrino v1.16 build20160917
IP address: 0.0.0.0
ready >
Waiting for auto-connect]
[.]
[.]
[.

Exception (3):
epc1=0x4010011d epc2=0x00000000 epc3=0x00000000 excvaddr=0x40019588 depc=0x00000000

ctx: cont
sp: 3fff0670 end: 3fff08f0 offset: 01a0

>>>stack>>>
3fff0810:  3ffef49c 0000000b 3fff0888 3ffef380  
3fff0820:  3fff09ec 000002f0 000002f0 4010020c  
3fff0830:  3ffe8e20 3fff1018 3fff0888 40100688  
3fff0840:  3ffe8e20 3fff1018 3ffef7d8 402020a0  
3fff0850:  ffccada3 3ffef7f8 3ffef7d8 40215c5e  
3fff0860:  69725061 00797474 3fff29cc 4021411a  
3fff0870:  3ffe8e29 44564941 7275735f 6c696576  
3fff0880:  636e616c 34325f65 3fff2a00 0000000f  
3fff0890:  0000000b 3fff2a44 0000001f 00000014  
3fff08a0:  3ffef38c 3ffef318 3ffef578 40217d25  
3fff08b0:  feefeffe feefeffe feefeffe feefeffe  
3fff08c0:  feefeffe feefeffe feefeffe 3ffef8c8  
3fff08d0:  3fffdad0 00000000 3ffef8c0 40202d30  
3fff08e0:  feefeffe feefeffe 3ffef8d0 40204ef0  
<<<stack<<<
H!ˆÈ©
ôD‚

PropList, register commands
xxxxx]
[Heap Heap at start: 38552
Found i2c bus on SDA:SCL = D5:D1 (14:5)

vESPrino v1.16 build20160917
IP address: 0.0.0.0
ready >
Waiting for auto-connect]
[.]
[.]
[.
Is it possible that it was still busy with the Over The Air update when I powered it off? I haven't seen the Red LED flash.
Reply
#2
I believe this was some problem with the cure libraries that i worked around in the next version. And somehow i expected that with my fixes from yesterday, as soon as you connect the first time to WiFi, it would update the FW, but apparently it did not work out. The old behavior updated the fw on the next restart - which in this case fails Smile

Anyway - to fix it, download the fw from here
http://anker-bg.com/vlast3k/vesprino/fir...160922.bin

Download the flashing tool for your OS from here
https://github.com/igrr/esptool-ck/releases/tag/0.4.9

and then execute something like (replace the comport)
esptool -vv -cd nodemcu -cb 256000 -cp "COM5" -cf firmware20160922.bin

if it does not succeed from the first time, try a second time

If you get afterwards the same result, then i will send two more commands (just i do not have them now at hand, and i think they are not needed)
Reply
#3
(09-23-2016, 01:27 AM)admin Wrote: I believe this was some problem with the cure libraries that i worked around in the next version. And somehow i expected that with my fixes from yesterday, as soon as you connect the first time to WiFi, it would update the FW, but apparently it did not work out. The old behavior updated the fw on the next restart - which in this case fails Smile

Anyway - to fix it, download the fw from here
http://anker-bg.com/vlast3k/vesprino/fir...160922.bin

Download the flashing tool for your OS from here
https://github.com/igrr/esptool-ck/releases/tag/0.4.9

and then execute something like (replace the comport)
esptool -vv -cd nodemcu -cb 256000 -cp "COM5" -cf firmware20160922.bin

if it does not succeed from the first time, try a second time

If you get afterwards the same result, then i will send two more commands (just i do not have them now at hand, and i think they are not needed)

Thanks for the quick response. I just flashed the firmware and it seems to work fine again!
I took it with me to work, curious how the climate is in here Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)