Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Shelly bulb kommt nicht von AP-Mode in Client mode

95 views
Skip to first unread message

Kay Martinen

unread,
Aug 5, 2023, 8:10:03 AM8/5/23
to
Hallo.

Ich habe hier eine Shelly duo Color Bulb die erst einfach aus ging und
nicht mehr wieder an und aus dem WLAN verschwand. Und jetzt; nach
mehreren Versuchen die nach dem Werksreset wieder ein zu binden kommt
sie einfach nicht mehr in das WLAN hinein.

Ich gehe dabei auf die Webseite der Lampe die sie im AP modus wie üblich
anzeigt und trage die Angaben für den WLAN Zugang ein. Nach dem
Speichern (Grüner Balken "saved") verschwindet deren AP auch, aber im
WLAN kommt sie nie an.

Hier ist ein Debuglog das ich aus der Lampe habe. Dabei ist es so das
die 2-3 Versuche (Reset, Zugang eintragen und Verbinden "sollen") macht,
aber dann scheint sie weder das eine (AP) noch das andere (Client)
überhaupt noch zu machen. Die ist also ab dann quasi offline, leuchtet
aber immer noch (Blau, wie nach dem Reset).

Debug.log (von vor dem komplett offline bleiben)

277412946 mgos_http_server.c:180 0x3fff1a9c HTTP connection from
192.168.33.2:55488
277427844 json.c:426 RAM: 51624 total, 37924 free
278202691 mgos_http_server.c:180 0x3fff1a9c HTTP connection from
192.168.33.2:55494
278364309 mgos_sys_config.c:323 Saved to conf9.json
278375713 http_handlers.c:274 0x3fff1a9c Connection closed
278401599 mgos_http_server.c:180 0x3fff1b54 HTTP connection from
192.168.33.2:55510
278581510 shelly.c:380 Restart to sta
278585909 esp_wifi.c:123 WiFi mode: disabled
278620655 esp_main.c:138 SDK: station: e0:ca:94:4a:5e:1b leave,
AID = 1
278626283 esp_main.c:138 SDK: rm 1
278631556 esp_main.c:138 SDK: bcn 0
278636060 esp_main.c:138 SDK: del if1
278640555 esp_main.c:138 SDK: usl
278645636 esp_main.c:138 SDK: mode : null
278651310 mgos_wifi.c:360 WiFi mode: STA
278813555 mgos_sys_config.c:323 Saved to conf9.json
278847224 mgos_wifi.c:96 e0:ca:94:4a:5e:1b disconnected
278851805 esp_wifi.c:123 WiFi mode: STA
278857293 esp_main.c:138 SDK: mode : sta(98:cd:ac:1e:51:25)
278863545 esp_main.c:138 SDK: add if0
278868732 esp_main.c:138 SDK: sleep enable,type: 2
281499424 esp_main.c:138 SDK: scandone
281506001 mgos_wifi_sta.c:619 Trying linksys_KM cfg 0 AP (auto) att 1
281516372 mgos_net.c:89 WiFi STA: connecting
281614982 esp_main.c:138 SDK: scandone
281622296 esp_main.c:138 SDK: state: 0 -> 2 (b0)
282627217 esp_main.c:138 SDK: state: 2 -> 0 (2)
282632148 mgos_wifi.c:70 WiFi STA: Disconnected, reason: 2
282668344 mgos_wifi_sta.c:637 Connect failed
282673619 esp_main.c:138 SDK: sleep enable,type: 2
282679309 mgos_net.c:84 WiFi STA: disconnected
284673489 mgos_wifi_sta.c:587 No candidate APs
289304847 esp_main.c:138 SDK: scandone
289311434 mgos_wifi_sta.c:619 Trying linksys_KM cfg 0 AP (auto) att 2
289319776 mgos_net.c:89 WiFi STA: connecting
291128744 esp_main.c:138 SDK: scandone
291135563 esp_main.c:138 SDK: state: 0 -> 2 (b0)
292141463 esp_main.c:138 SDK: state: 2 -> 0 (2)
292146396 mgos_wifi.c:70 WiFi STA: Disconnected, reason: 2
292150614 mgos_wifi_sta.c:637 Connect failed
292197723 esp_main.c:138 SDK: sleep enable,type: 2
292204515 mgos_net.c:84 WiFi STA: disconnected
294197536 mgos_wifi_sta.c:587 No candidate APs
298828288 esp_main.c:138 SDK: scandone
298835526 mgos_wifi_sta.c:610 Trying linksys_KM AP 00:16:b6:dd:a3:ab
ch 6 RSSI -67 cfg 0 att 1
298844770 mgos_net.c:89 WiFi STA: connecting
299075816 esp_main.c:138 SDK: scandone
299082612 esp_main.c:138 SDK: state: 0 -> 2 (b0)
299093778 esp_main.c:138 SDK: state: 2 -> 3 (0)
300100146 esp_main.c:138 SDK: state: 3 -> 0 (4)
300140765 mgos_wifi.c:70 WiFi STA: Disconnected, reason: 4
300144995 mgos_wifi_sta.c:637 Connect failed
300150282 esp_main.c:138 SDK: sleep enable,type: 2
300155154 shelly_sntp.c:441 minute tick at 00:05:00
300161362 mgos_net.c:84 WiFi STA: disconnected
302150044 mgos_wifi_sta.c:587 No candidate APs
306780319 esp_main.c:138 SDK: scandone
306787187 mgos_wifi_sta.c:619 Trying linksys_KM cfg 0 AP (auto) att 3
306795993 mgos_net.c:89 WiFi STA: connecting
309418079 esp_main.c:138 SDK: scandone
309423183 mgos_wifi.c:70 WiFi STA: Disconnected, reason: 201
309465534 mgos_wifi_sta.c:637 Connect failed
309470824 esp_main.c:138 SDK: sleep enable,type: 2
309477478 mgos_net.c:84 WiFi STA: disconnected
311470619 mgos_wifi_sta.c:587 No candidate APs
316101316 esp_main.c:138 SDK: scandone
316107917 mgos_wifi_sta.c:619 Trying linksys_KM cfg 0 AP (auto) att 4
316116726 mgos_net.c:89 WiFi STA: connecting
316479676 esp_main.c:138 SDK: scandone
316486481 esp_main.c:138 SDK: state: 0 -> 2 (b0)
... next log
317559895 esp_main.c:138 SDK: state: 2 -> 0 (2)
317592781 mgos_wifi.c:70 WiFi STA: Disconnected, reason: 2
317596871 mgos_wifi_sta.c:637 Connect failed
317602018 esp_main.c:138 SDK: sleep enable,type: 2
317607140 mgos_net.c:84 WiFi STA: disconnected
319601810 mgos_wifi_sta.c:587 No candidate APs
323818906 mgos_sys_config.c:323 Saved to conf9.json
323824046 shelly.c:399 Restart to ap
323829103 esp_main.c:138 SDK: scandone
323871730 esp_wifi.c:123 WiFi mode: disabled
323877766 esp_main.c:138 SDK: del if0
323882175 esp_main.c:138 SDK: usl
323886854 esp_main.c:138 SDK: mode : null
323891634 esp_wifi.c:123 WiFi mode: AP
323896997 esp_main.c:138 SDK: mode : softAP(9a:cd:ac:1e:51:25)
323902408 esp_main.c:138 SDK: add if1
323907676 esp_main.c:138 SDK: dhcp server
start:(ip:192.168.33.1,mask:255.255.255.0,g
323912162 esp_main.c:138 SDK: w:192.168.33.1)
323918508 esp_main.c:138 SDK: bcn 100
323924518 esp_wifi.c:400 WiFi AP: SSID
shellycolorbulb-98CDAC1E5125, channel 11
323929605 esp_main.c:138 SDK: bcn 0
323961095 esp_main.c:138 SDK: del if1
323965487 esp_main.c:138 SDK: usl
323971206 esp_main.c:138 SDK: add if1
323976475 esp_main.c:138 SDK: dhcp server
start:(ip:192.168.33.1,mask:255.255.255.0,g
323980957 esp_main.c:138 SDK: w:192.168.33.1)
323987610 esp_main.c:138 SDK: bcn 100
323994564 esp_wifi.c:446 WiFi AP IP: 192.168.33.1/255.255.255.0
gw 192.168.33.1, DHCP range 192.168.33.2 - 192.168.33.100
324156208 mgos_sys_config.c:323 Saved to conf9.json
324195528 coiot.c:616 coap_connect, WIFI status=1313166339
mode=2
360167596 shelly_sntp.c:441 minute tick at 00:06:00
420131477 shelly_sntp.c:441 minute tick at 00:07:00
480095515 shelly_sntp.c:441 minute tick at 00:08:00
540059503 shelly_sntp.c:441 minute tick at 00:09:00
571438974 esp_main.c:138 SDK: add 1
571443397 esp_main.c:138 SDK: aid 1
571448005 esp_main.c:138 SDK: station: e0:ca:94:4a:5e:1b join,
AID = 1
571453959 mgos_wifi.c:96 e0:ca:94:4a:5e:1b connected
600023573 shelly_sntp.c:441 minute tick at 00:10:00
619017099 mgos_http_server.c:180 0x3fff1c64 HTTP connection from
192.168.33.2:60560
621110749 mgos_http_server.c:180 0x3fff24ec HTTP connection from
192.168.33.2:60564
622845138 mgos_http_server.c:180 0x3fff25e4 HTTP connection from
192.168.33.2:46638
622862526 json.c:426 RAM: 51624 total, 38432 free
622874392 mgos_http_server.c:180 0x3fff2c1c HTTP connection from
192.168.33.2:46654
622896974 mgos_mongoose.c:66 New heap free LWM: 33952
627835754 mgos_http_server.c:180 0x3fff1c64 HTTP connection from
192.168.33.2:46664
627850098 json.c:426 RAM: 51624 total, 38400 free
632839935 mgos_http_server.c:180 0x3fff1c64 HTTP connection from
192.168.33.2:57186
632864361 json.c:426 RAM: 51624 total, 38400 free
637841640 mgos_http_server.c:180 0x3fff1c64 HTTP connection from
192.168.33.2:57188
637865486 json.c:426 RAM: 51624 total, 38768 free
642836544 mgos_http_server.c:180 0x3fff1c64 HTTP connection from
192.168.33.2:33796
642851879 json.c:426 RAM: 51624 total, 38768 free
646419098 mgos_http_server.c:180 0x3fff1c64 HTTP connection from
192.168.33.2:33798

Die 192.168.33.2 ist mein PC via WLAN. Mit Firefox 113.0.2

Mir fallen da nur die Disconnect Reason 2, 4 und 201 auf.

2 soll AUTH expire sein aber ein abgelaufenes Passwort kann es m.E.
nicht sein. Das WLAN-Kennwort läuft doch nicht ab, oder hat das mit
fehlendem Zeit-setup (sntp) zu tun?

Was 4 und 201 genau bedeutet weiß ich jetzt nicht, könnte aber mit "Kein
AP gefunden" zu tun haben - oder?

Der AP benutzt WPA2-Personal und zwei Weitere Shelly Bulbs und eine Plug
S sind an dem weiterhin ohne Probleme angebunden. Neustart des AP
(WRT-54 mit Linksys Firmware) habe ich auch versucht - erfolglos.

Fällt hier jemandem noch etwas auf das mir weiter helfen könnte?

Ich hab jetzt nur eine sache anderes gemacht als bei früheren Versuchen,
den Eco mode aus und AP Roaming ein bei -50db. Aber letzteren hab ich
AFAIR vor dem letzten versuch wieder aus geschaltet.

Bye/
/Kay

--
"Kann ein Wurstbrot die Welt retten?" :-)
0 new messages