Hi to all,
I can't connect my shelly em to my wifi.
I set wifi 2.4 GHz
It is impossible via the app, so i try with the acces point @ 192168.33.1
I set my ssid and psw for my wifi network, bur there is no way:
So i activate the log and this os what is goin on:
I have wifi disconnected for reason 2.
What's reason 2??
below the logs,
Thank you
[...]
Code
340895650 mgos_sys_config.c:174 Saved to conf9.json
340948985 mgos_mongoose.c:66 New heap free LWM: 29392
340956434 cloud_aes.c:143 Reconnect after 4000
341039928 mgos_http_server.c:180 0x3fff38ec HTTP connection from 192.168.33.2:50518
341060904 mgos_mongoose.c:66 New heap free LWM: 29216
345412719 mgos_http_server.c:180 0x3fff310c HTTP connection from 192.168.33.2:50519
345425461 json.c:420 RAM: 49600 total, 32720 free
346513916 mgos_http_server.c:180 0x3fff310c HTTP connection from 192.168.33.2:50520
347008565 mongoose.c:12123 Failed to resolve 'iot.shelly.cloud', server 8.8.8.8
347012815 cloud_aes.c:260 Connect to cloud: -1
347016962 cloud_aes.c:429 Cloud connection 0x3fff36c4 closed
347022321 cloud_aes.c:143 Reconnect after 8000
350785516 mgos_http_server.c:180 0x3fff3184 HTTP connection from 192.168.33.2:50523
350830463 json.c:420 RAM: 49600 total, 33988 free
351570483 switch.c:929 23d1981515> ch: 0, act: 0.0, return: 0.0
351577551 switch.c:536 writing in file /mnt0/0_23d19800001 @ 4570
351582078 switch.c:559 Set blank
351590126 switch.c:991 VMIN: ch0 239.942713 (103)
351594749 switch.c:995 VMAX: ch0 239.942713 (103)
351607662 switch.c:929 23d1981515> ch: 1, act: 0.0, return: 0.0
351613694 switch.c:536 writing in file /mnt1/1_23d19800001 @ 4570
351618225 switch.c:559 Set blank
351626276 switch.c:991 VMIN: ch1 239.942713 (103)
351631834 switch.c:995 VMAX: ch1 239.942713 (103)
352570554 switch.c:995 VMAX: ch0 240.297946 (104)
352614067 switch.c:995 VMAX: ch1 240.297946 (104)
355031734 cloud_aes.c:130 Connected to tcp://iot.shelly.cloud:6011
355797807 mgos_http_server.c:180 0x3fff3934 HTTP connection from 192.168.33.2:50524
355810662 json.c:420 RAM: 49600 total, 32464 free
360807386 mgos_http_server.c:180 0x3fff3944 HTTP connection from 192.168.33.2:50525
360822948 json.c:420 RAM: 49600 total, 32496 free
365016672 mongoose.c:12123 Failed to resolve 'iot.shelly.cloud', server 8.8.8.8
365020936 cloud_aes.c:260 Connect to cloud: -1
365025095 cloud_aes.c:429 Cloud connection 0x3fff305c closed
365030460 cloud_aes.c:143 Reconnect after 15000
365792340 mgos_http_server.c:180 0x3fff2fa4 HTTP connection from 192.168.33.2:50526
365805092 json.c:420 RAM: 49600 total, 34076 free
370807494 mgos_http_server.c:180 0x3fff301c HTTP connection from 192.168.33.2:50527
370822908 json.c:420 RAM: 49600 total, 34076 free
375809710 mgos_http_server.c:180 0x3ffefe4c HTTP connection from 192.168.33.2:50528
375822461 json.c:420 RAM: 49600 total, 34224 free
380036431 cloud_aes.c:130 Connected to tcp://iot.shelly.cloud:6011
381368677 mgos_http_server.c:180 0x3fff36c4 HTTP connection from 192.168.33.2:50531
381383162 json.c:420 RAM: 49600 total, 32652 free
386419287 mgos_http_server.c:180 0x3fff36c4 HTTP connection from 192.168.33.2:50532
386432190 json.c:420 RAM: 49600 total, 32504 free
390016125 mongoose.c:12123 Failed to resolve 'iot.shelly.cloud', server 8.8.8.8
390020411 cloud_aes.c:260 Connect to cloud: -1
390025540 cloud_aes.c:429 Cloud connection 0x3fff305c closed
390061126 cloud_aes.c:143 Reconnect after 15000
391430410 mgos_http_server.c:180 0x3fff301c HTTP connection from 192.168.33.2:50533
391444233 json.c:420 RAM: 49600 total, 34076 free
394611999 mgos_http_server.c:180 0x3fff301c HTTP connection from 192.168.33.2:50534
394779510 mgos_sys_config.c:174 Saved to conf9.json
394790233 http_handlers.c:275 0x3fff301c Connection closed
394825628 mgos_http_server.c:180 0x3ffefec4 HTTP connection from 192.168.33.2:50535
394995681 shelly.c:307 Restart to sta
394999957 esp_wifi.c:174 WiFi mode: disabled
395005079 esp_main.c:137 SDK: station: b0:10:41:eb:d8:d3 leave, AID = 1
395010536 esp_main.c:137 SDK: rm 1
395015833 esp_main.c:137 SDK: bcn 0
395020191 esp_main.c:137 SDK: del if1
395024548 esp_main.c:137 SDK: usl
395029490 esp_main.c:137 SDK: mode : null
395035100 mgos_wifi.c:89 WiFi STA: Using config 0 (TIM-MP2000)
395039261 mgos_wifi.c:472 WiFi mode: STA
395043676 esp_wifi.c:174 WiFi mode: STA
395049034 esp_main.c:137 SDK: mode : sta(34:94:54:73:ca:67)
395086580 esp_main.c:137 SDK: add if0
395091522 esp_main.c:137 SDK: sleep disable
395096642 mgos_wifi.c:271 WiFi STA: Connecting to TIM-MP2000
395158647 mgos_wifi.c:157 b0:10:41:eb:d8:d3 disconnected
395163578 mgos_net.c:86 WiFi STA: connecting
397985211 esp_main.c:137 SDK: scandone
397992013 esp_main.c:137 SDK: state: 0 -> 2 (b0)
398996845 esp_main.c:137 SDK: state: 2 -> 0 (2)
399001673 mgos_wifi.c:119 WiFi STA: Disconnected, reason: 2
399007091 mgos_net.c:82 WiFi STA: disconnected
411560592 switch.c:929 23d1981516> ch: 0, act: 0.0, return: 0.0
411566683 switch.c:536 writing in file /mnt0/0_23d19800001 @ 4575
411605364 switch.c:559 Set blank
411614404 switch.c:991 VMIN: ch0 238.900595 (103)
411619092 switch.c:995 VMAX: ch0 238.900595 (103)
411631135 switch.c:929 23d1981516> ch: 1, act: 0.0, return: 0.0
411637222 switch.c:536 writing in file /mnt1/1_23d19800001 @ 4575
411642741 switch.c:559 Set blank
411650852 switch.c:991 VMIN: ch1 238.900595 (103)
411655540 switch.c:995 VMAX: ch1 238.900595 (103)
412487410 mgos_mdns.c:55 mDNS socket closed
412493579 mgos_mdns.c:82 Listening on udp://:5353
415559527 switch.c:991 VMIN: ch0 238.558501 (102)
415571921 switch.c:991 VMIN: ch1 238.558501 (102)
425104186 mgos_wifi.c:349 WiFi STA: Connect timeout
425109454 mgos_wifi.c:89 WiFi STA: Using config 0 (TIM-MP2000)
425114801 mgos_wifi.c:271 WiFi STA: Connecting to TIM-MP2000
425122362 mgos_net.c:86 WiFi STA: connecting
427989299 esp_main.c:137 SDK: scandone
427995493 esp_main.c:137 SDK: state: 0 -> 2 (b0)
428007733 esp_main.c:137 SDK: state: 2 -> 3 (0)
429013152 esp_main.c:137 SDK: state: 3 -> 0 (4)
429018187 mgos_wifi.c:119 WiFi STA: Disconnected, reason: 4
429022680 mgos_net.c:82 WiFi STA: disconnected
441918390 mgos_mdns.c:55 mDNS socket closed
441923665 mgos_mdns.c:82 Listening on udp://:5353
455120734 mgos_wifi.c:349 WiFi STA: Connect timeout
455125060 mgos_wifi.c:89 WiFi STA: Using config 0 (TIM-MP2000)
455131343 mgos_wifi.c:271 WiFi STA: Connecting to TIM-MP2000
455138928 mgos_net.c:86 WiFi STA: connecting
455544164 switch.c:995 VMAX: ch0 240.647939 (104)
455556598 switch.c:995 VMAX: ch1 240.647939 (104)
458023211 esp_main.c:137 SDK: scandone
458028476 esp_main.c:137 SDK: state: 0 -> 2 (b0)
459033364 esp_main.c:137 SDK: state: 2 -> 0 (2)
459039038 mgos_wifi.c:119 WiFi STA: Disconnected, reason: 2
459045236 mgos_net.c:82 WiFi STA: disconnected
471349355 mgos_mdns.c:55 mDNS socket closed
471389964 mgos_mdns.c:82 Listening on udp://:5353
471538114 switch.c:929 23d1981517> ch: 0, act: 0.0, return: 0.0
471545189 switch.c:536 writing in file /mnt0/0_23d19800001 @ 4580
471549811 switch.c:559 Set blank
471557957 switch.c:991 VMIN: ch0 240.663581 (104)
471562677 switch.c:995 VMAX: ch0 240.663581 (104)
471574748 switch.c:929 23d1981517> ch: 1, act: 0.0, return: 0.0
471581458 switch.c:536 writing in file /mnt1/1_23d19800001 @ 4580
471586086 switch.c:559 Set blank
471594242 switch.c:991 VMIN: ch1 240.663581 (104)
471599907 switch.c:995 VMAX: ch1 240.663581 (104)
474536557 switch.c:991 VMIN: ch0 239.927462 (103)
474578111 switch.c:991 VMIN: ch1 239.927462 (103)
485137311 mgos_wifi.c:349 WiFi STA: Connect timeout
485141671 mgos_wifi.c:89 WiFi STA: Using config 0 (TIM-MP2000)
485147996 mgos_wifi.c:271 WiFi STA: Connecting to TIM-MP2000
485155754 mgos_net.c:86 WiFi STA: connecting
488043837 esp_main.c:137 SDK: scandone
488049124 esp_main.c:137 SDK: state: 0 -> 2 (b0)
489055002 esp_main.c:137 SDK: state: 2 -> 0 (2)
489060078 mgos_wifi.c:119 WiFi STA: Disconnected, reason: 2
489064894 mgos_net.c:82 WiFi STA: disconnected
500780503 mgos_mdns.c:55 mDNS socket closed
500786758 mgos_mdns.c:82 Listening on udp://:5353
514522789 switch.c:991 VMIN: ch0 238.597607 (102)
514535232 switch.c:991 VMIN: ch1 238.597607 (102)
515153963 mgos_wifi.c:349 WiFi STA: Connect timeout
515159265 mgos_wifi.c:89 WiFi STA: Using config 0 (TIM-MP2000)
515164645 mgos_wifi.c:271 WiFi STA: Connecting to TIM-MP2000
515172892 mgos_net.c:86 WiFi STA: connecting
518068457 esp_main.c:137 SDK: scandone
518074682 esp_main.c:137 SDK: state: 0 -> 2 (b0)
519079607 esp_main.c:137 SDK: state: 2 -> 0 (2)
519084535 mgos_wifi.c:119 WiFi STA: Disconnected, reason: 2
519089079 mgos_net.c:82 WiFi STA: disconnected
530211378 mgos_mdns.c:55 mDNS socket closed
530246824 mgos_mdns.c:82 Listening on udp://:5353
531520160 switch.c:929 23d1981518> ch: 0, act: 0.0, return: 0.0
531526328 switch.c:536 writing in file /mnt0/0_23d19800001 @ 4585
531531906 switch.c:559 Set blank
531540081 switch.c:991 VMIN: ch0 241.253368 (104)
531544830 switch.c:995 VMAX: ch0 241.253368 (104)
531556932 switch.c:929 23d1981518> ch: 1, act: 0.0, return: 0.0
531564030 switch.c:536 writing in file /mnt1/1_23d19800001 @ 4585
531568687 switch.c:559 Set blank
531576863 switch.c:991 VMIN: ch1 241.253368 (104)
531581611 switch.c:995 VMAX: ch1 241.253368 (104)
Alles anzeigen
[...]