Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get device to connect to wifi #1366

Closed
johntdyer opened this issue Dec 14, 2017 · 44 comments
Closed

Unable to get device to connect to wifi #1366

johntdyer opened this issue Dec 14, 2017 · 44 comments

Comments

@johntdyer
Copy link

S20 Sonoff ( Firmware 5.10.0a)

Serial Logs:

> Executing task: platformio device monitor <

--- Miniterm on /dev/cu.usbserial-00000000  115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
�����rrR�00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:12 CMD: reset 2
00:00:12 RSL: Group 0, Index 1, Command RESET, Data 2
00:00:12 RSL: stat/sonoff3/RESULT = {"Reset":"Erase, Reset and Restarting"}
00:00:13 APP: Erase 136 sectors
00:00:13 CFG: Use defaults
00:00:19 CFG: Saved to flash at FB, Count 1, Bytes 1648
00:00:19 WIF: Attempting connection...
00:00:20 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,1)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 1
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at FA, Count 2, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F9, Count 3, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,1)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 2
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at F8, Count 4, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F7, Count 5, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,1)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 3
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at F6, Count 6, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F5, Count 7, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,1)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 4
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at F4, Count 8, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at FB, Count 9, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
A�
00:00:00 APP: Boot Count 5
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at FA, Count 10, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F9, Count 11, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,1)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 6
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at F8, Count 12, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F7, Count 13, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,1)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 7
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at F6, Count 14, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F5, Count 15, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,1)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 8
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at F4, Count 16, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at FB, Count 17, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigactive for 1 minute
00:00:46 WIF: WPSconfig FAILED with status 4
00:00:49 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,1)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 9
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at FA, Count 18, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F9, Count 19, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,1)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 10
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at F8, Count 20, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F7, Count 21, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,1)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 11
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at F6, Count 22, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F5, Count 23, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Button 1 multi-press 1

--- exit ---

I jhave tried re-flashing many times but it doesnt seem to help. Appreciate any suggestions

@johntdyer
Copy link
Author

I tried a "reset 1" and it seemed to try a few more times to connect and then was able to fully connect...

> Executing task: platformio device monitor <

--- Miniterm on /dev/cu.usbserial-00000000  115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 CMD:
00:00:28 RSL: Group 0, Index 1, Command , Data
00:00:28 RSL: stat/sonoff3/RESULT = {"Command":"Unknown"}
00:00:28 WIF: Attempting connection...
00:00:28 CMD:
00:00:28 RSL: Group 0, Index 1, Command , Data
00:00:28 RSL: stat/sonoff3/RESULT = {"Command":"Unknown"}
00:00:29 CMD:
00:00:29 RSL: Group 0, Index 1, Command , Data
00:00:29 RSL: stat/sonoff3/RESULT = {"Command":"Unknown"}
00:00:29 CMD:
00:00:29 RSL: Group 0, Index 1, Command , Data
00:00:29 RSL: stat/sonoff3/RESULT = {"Command":"Unknown"}
00:00:29 CMD:
00:00:29 RSL: Group 0, Index 1, Command , Data
00:00:29 RSL: stat/sonoff3/RESULT = {"Command":"Unknown"}
00:00:29 WIF: Attempting connection...
00:00:30 CMD: help
00:00:30 RSL: Group 0, Index 1, Command HELP, Data
00:00:30 RSL: stat/sonoff3/RESULT = {"Command":"Unknown"}
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,3)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 13
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CMD: re
00:00:00 RSL: Group 0, Index 1, Command RE, Data
00:00:00 RSL: stat/sonoff3/RESULT = {"Command":"Unknown"}
00:00:00 CFG: Saved to flash at FA, Count 26, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F9, Count 27, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,3)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 14
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at F8, Count 28, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F7, Count 29, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:32 CMD:
00:00:32 RSL: Group 0, Index 1, Command , Data
00:00:32 RSL: stat/sonoff3/RESULT = {"Command":"Unknown"}
00:00:33 CMD:
00:00:33 RSL: Group 0, Index 1, Command , Data
00:00:33 RSL: stat/sonoff3/RESULT = {"Command":"Unknown"}
00:00:33 CMD:
00:00:33 RSL: Group 0, Index 1, Command , Data
00:00:33 RSL: stat/sonoff3/RESULT = {"Command":"Unknown"}
00:00:34 CMD: reset 1
00:00:34 RSL: Group 0, Index 1, Command RESET, Data 1
00:00:34 RSL: stat/sonoff3/RESULT = {"Reset":"Reset and Restarting"}
00:00:34 CFG: Use defaults
00:00:34 CFG: Saved to flash at FB, Count 1, Bytes 1648
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,3)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 1
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at FA, Count 2, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F9, Count 3, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,3)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 2
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at F8, Count 4, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F7, Count 5, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,3)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 3
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at F6, Count 6, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F5, Count 7, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,3)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 4
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at F4, Count 8, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at FB, Count 9, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,3)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 5
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at FA, Count 10, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Connected
00:00:04 DNS: Initialized
00:00:04 HTP: Web server active on sonoff3-2589.local with IP address 192.168.100.212
00:00:05 CFG: Saved to flash at F9, Count 11, Bytes 1648
00:00:06 MQT: Attempting connection...
00:00:06 APP: (UTC) Thu Dec 14 22:59:49 2017
00:00:06 APP: (DST) Sun Mar 26 02:00:00 2017
00:00:06 APP: (STD) Sun Oct 29 03:00:00 2017
23:59:50 MQT: Connected
23:59:50 MQT: tele/sonoff3/LWT = Online (retained)
23:59:50 MQT: cmnd/sonoff3/POWER =
23:59:50 MQT: Subscribe to cmnd/sonoff3/#
23:59:50 MQT: Subscribe to cmnd/sonoffs/#
23:59:50 MQT: Subscribe to cmnd/DVES_07AA1D/#
23:59:50 MQT: tele/sonoff3/INFO1 = {"Module":"Sonoff Basic","Version":"5.10.0a","FallbackTopic":"DVES_07AA1D","GroupTopic":"sonoffs"}
23:59:50 MQT: tele/sonoff3/INFO2 = {"WebServerMode":"Admin","Hostname":"sonoff3-2589","IPAddress":"192.168.100.212"}
23:59:50 MQT: tele/sonoff3/INFO3 = {"RestartReason":"Software/System restart"}
23:59:51 MQT: stat/sonoff3/RESULT = {"POWER":"OFF"}
23:59:51 MQT: stat/sonoff3/POWER = OFF
23:59:58 MQT: tele/sonoff3/STATE = {"Time":"2017-12-14T23:59:58","Uptime":0,"Vcc":4.094,"POWER":"OFF","Wifi":{"AP":1,"SSId":"dyer-iot","RSSI":58,"APMac":"8E:15:44:50:51:EC"}}
00:01:01 APP: (UTC) Thu Dec 14 23:01:01 2017
00:01:01 APP: (DST) Sun Mar 26 02:00:00 2017
00:01:01 APP: (STD) Sun Oct 29 03:00:00 2017
00:01:25 RSL: Group 0, Index 1, Command POWER, Data 0
00:01:25 MQT: stat/sonoff3/RESULT = {"POWER":"OFF"}
00:01:25 MQT: stat/sonoff3/POWER = OFF
00:01:31 RSL: Group 0, Index 1, Command POWER, Data 0
00:01:31 MQT: stat/sonoff3/RESULT = {"POWER":"OFF"}
00:01:31 MQT: stat/sonoff3/POWER = OFF
00:01:33 RSL: Group 0, Index 1, Command POWER, Data 0
00:01:33 MQT: stat/sonoff3/RESULT = {"POWER":"OFF"}
00:01:33 MQT: stat/sonoff3/POWER = OFF
00:01:38 RSL: Group 0, Index 1, Command POWER, Data 1
00:01:38 MQT: stat/sonoff3/RESULT = {"POWER":"ON"}
00:01:38 MQT: stat/sonoff3/POWER = ON
00:01:38 CFG: Saved to flash at F8, Count 12, Bytes 1648
00:01:40 RSL: Group 0, Index 1, Command POWER, Data 0
00:01:40 MQT: stat/sonoff3/RESULT = {"POWER":"OFF"}
00:01:40 MQT: stat/sonoff3/POWER = OFF
00:01:40 CFG: Saved to flash at F7, Count 13, Bytes 1648
00:01:40 RSL: Group 0, Index 1, Command POWER, Data 1
00:01:40 MQT: stat/sonoff3/RESULT = {"POWER":"ON"}
00:01:40 MQT: stat/sonoff3/POWER = ON
00:01:41 CFG: Saved to flash at F6, Count 14, Bytes 1648
00:01:41 RSL: Group 0, Index 1, Command POWER, Data 0
00:01:41 MQT: stat/sonoff3/RESULT = {"POWER":"OFF"}
00:01:41 MQT: stat/sonoff3/POWER = OFF
00:01:42 RSL: Group 0, Index 1, Command POWER, Data 1
00:01:42 MQT: stat/sonoff3/RESULT = {"POWER":"ON"}
00:01:42 MQT: stat/sonoff3/POWER = ON
00:01:43 RSL: Group 0, Index 1, Command POWER, Data 0
00:01:43 MQT: stat/sonoff3/RESULT = {"POWER":"OFF"}
00:01:43 MQT: stat/sonoff3/POWER = OFF
00:01:43 CFG: Saved to flash at F5, Count 15, Bytes 1648
00:01:44 RSL: Group 0, Index 1, Command POWER, Data 1
00:01:44 MQT: stat/sonoff3/RESULT = {"POWER":"ON"}
00:01:44 MQT: stat/sonoff3/POWER = ON
00:01:44 CFG: Saved to flash at F4, Count 16, Bytes 1648
00:02:00 MQT: tele/sonoff3/UPTIME = {"Time":"2017-12-15T00:02:00","Uptime":1}

Then I reset it by unplugging it in and then plugging it back in, and it failed to associate again

> Executing task: platformio device monitor <

--- Miniterm on /dev/cu.usbserial-00000000  115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀␀00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigactive for 1 minute
00:00:46 WIF: WPSconfig FAILED with status 4
00:00:49 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,3)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
�
00:00:00 APP: Boot Count 7
00:00:00 Project sonoff3 Sonoff (Topic sonoff3, Fallback DVES_07AA1D, GroupTopic sonoffs) Version 5.10.0a
00:00:00 CFG: Saved to flash at F9, Count 19, Bytes 1648
00:00:00 WIF: Attempting connection...
00:00:00 WIF: Patch issue 2186
00:00:00 WIF: Connecting to AP2 dyer in mode 11N as sonoff3-2589...
00:00:01 WIF: Attempting connection...
00:00:02 WIF: Attempting connection...
00:00:03 WIF: Attempting connection...
00:00:04 WIF: Attempting connection...
00:00:05 WIF: Attempting connection...
00:00:06 WIF: Attempting connection...
00:00:07 WIF: Attempting connection...
00:00:08 WIF: Attempting connection...
00:00:09 WIF: Attempting connection...
00:00:10 WIF: Attempting connection...
00:00:11 WIF: Attempting connection...
00:00:12 WIF: Attempting connection...
00:00:13 WIF: Attempting connection...
00:00:14 WIF: Attempting connection...
00:00:15 WIF: Connect failed with AP timeout
00:00:15 WIF: Patch issue 2186
00:00:15 WIF: Connecting to AP1 dyer-iot in mode 11N as sonoff3-2589...
00:00:16 CFG: Saved to flash at F8, Count 20, Bytes 1648
00:00:16 WIF: Attempting connection...
00:00:17 WIF: Attempting connection...
00:00:18 WIF: Attempting connection...
00:00:19 WIF: Attempting connection...
00:00:20 WIF: Attempting connection...
00:00:21 WIF: Attempting connection...
00:00:22 WIF: Attempting connection...
00:00:23 WIF: Attempting connection...
00:00:24 WIF: Attempting connection...
00:00:25 WIF: Attempting connection...
00:00:26 WIF: Attempting connection...
00:00:27 WIF: Attempting connection...
00:00:28 WIF: Attempting connection...
00:00:29 WIF: Attempting connection...
00:00:30 WIF: Connect failed with AP timeout
00:00:30 WIF: WPSConfigfailed to start
00:00:35 APP: Restarting

Any idea why this seems so "temperamental" ?

@johntdyer
Copy link
Author

Argh, I have tried 5 Sonoff basics and I am getting the same behavior from each... Very frustrating..

@reloxx13
Copy link
Contributor

Did you enter your wifi config in the user_config.h before ?
=> than did you change the config holder in the top section of user_config.h?

Did u connect to the tasmota wifi manager and enter your wifi config?
=> 4 Short Press on button for wifi manager, see here: https://github.com/arendst/Sonoff-Tasmota/wiki/Button-usage
try a few times till the sonoff wifi shows up in your wifi list.

@johntdyer
Copy link
Author

@reloxx13 - Thanks for the response... so I am going to answer your questions below, inline

Did you enter your wifi config in the user_config.h before ?

Yes, I put my wifi config in user_config.h before flashing.


=> than did you change the config holder in the top section of user_config.h?

This part has never been entirely clear to me... I have this right now

#define CFG_HOLDER             0x20161209        // [Reset 1] Change this value to load following default configuration parameters

and what would you have me change this to? Also when is it necessary to change this value ?


Did u connect to the tasmota wifi manager and enter your wifi config?

I was under the impression that this was unnecessary when puting the credentials in user_config.h.

=> 4 Short Press on button for wifi manager, see here: arendst/Sonoff-Tasmota/wiki/Button-usage


Thanks again
-John

@stefanbode
Copy link
Contributor

Changing the config_holder does not help because he already executes a "reset 2". This securely wipes out any strange config for sure.
Following scenarious are likely the issue; please check:

  • Password is wrong or include some non ACSII characters (could be an issue)
  • MAC Filter defined on the router
  • IP-Address conflict (e.g. you assigned to the device a fixed IP and now already another device is using the IP (my best guess to be the problem). Please change back to dynamically assign in your router.

@johntdyer
Copy link
Author

@stefanbode -

Password is wrong or include some non ACSII characters (could be an issue)

The SSID I setup for testing is dyer-iot. I also specifically used a simplistic password that has no special characters ( dyeriotsecret ).

MAC Filter defined on the router

There is no mac filter on the router.

IP-Address conflict (e.g. you assigned to the device a fixed IP and now already another device is using the IP (my best guess to be the problem). Please change back to dynamically assign in your router.

I am using the default config, which AFAIK mean's it will do DHCP. I have included the wifi section is below

#define STA_SSID1              "dyer-iot"        // [Ssid1] Wifi SSID
#define STA_PASS1              "dyeriotsecret"   // [Password1] Wifi password
#define STA_SSID2              "indebuurt2"      // [Ssid2] Optional alternate AP Wifi SSID
#define STA_PASS2              "VnsqrtnrsddbrN"  // [Password2] Optional alternate AP Wifi password
#define WIFI_CONFIG_TOOL       WIFI_WPSCONFIG    // [WifiConfig] Default tool if wifi fails to connect \
                                                 //   (WIFI_RESTART, WIFI_SMARTCONFIG, WIFI_MANAGER, WIFI_WPSCONFIG, WIFI_RETRY, WIFI_WAIT)

@stefanbode
Copy link
Contributor

stefanbode commented Dec 15, 2017

Please check on your router, if you have assigned an IP to the device. In the firmware you can, but with "reset 2" you're for sure back on DHCP

You can also look which IP is/was assigned last time and ping it. If you get a reply you have a problem :-)

@stefanbode
Copy link
Contributor

If you go to WIFI_MANAGER as a failover configuration you should be able to connect to the AP of the ESP itself and discover for the Wifi networks the devices can see. Maybe this gives you more insight into the problem.

@davidelang
Copy link
Collaborator

davidelang commented Dec 15, 2017 via email

@johntdyer
Copy link
Author

@DavidLang - just increment the serial by 1 each time ?

@reloxx13
Copy link
Contributor

hey, yes, in- or decrement, doesnt matter. it just has te be not the same as before.

i usually just change the last number to a diffrent number.

@davidelang
Copy link
Collaborator

davidelang commented Dec 15, 2017 via email

@johntdyer
Copy link
Author

I think it might have something to do w/ the Meraki AP, though I have no idea what... I tried having it connect to the AP on my iPhone ( Tethering mode ) and it worked first time.. I have my Meraki set to 2.4 and 5ghz, WPA2.... not really sure what the heck it could be...

@PlumbumDN
Copy link

Hi @johntdyer did you find any solution on this problem? I have the exact same issues except, that my TH16 isn´t connecting to any AP, including AndoridAP and iOS-Hotspot...

#1461

@niklasfink
Copy link

@johntdyer I also have a Meraki AP and was experiencing this problem. Before this happened, I set it to a fixed IP. Setting it back to dynamic solves the issue, however, it then get an IP address I might not want it to have.
Did you already find a solution for this? Maybe by flashing a static IP instead of using DHCP?

@niklasfink
Copy link

Strange thing is, that instead of getting the same IP after resetting it, it gets a different IP (even though it's recognized as the same device).
Maybe this has to do with the dynamic/fixed IP problem.

@johntdyer
Copy link
Author

johntdyer commented Jan 23, 2018

@niklasfink - Honestly I never got it working on Meraki and finally gave up and switched everything to Unifi and it worked first try... I know thats probably not the answer you were looking for....

@e2m32
Copy link

e2m32 commented Apr 28, 2018

@davidelang Thank you for your explanation on the CFG_HOLDER! I have a Sonoff S31 and it was failing to reconnect to my WIFI AP after a power outage. I reflashed a few times with no luck. I just changed that number for CFG_HOLDER, recompiled and reflashed, and bingo!

@stefanbode
Copy link
Contributor

Yes, this can happen. I requested a CRC check for the configuration to detect a defect. But this was declined. The problem is, that the device is not detecting the defect configuration at boot time and start with bullshit. Sometimes it start and just do not connect, sometimes it just reboot all the time.

@stale
Copy link

stale bot commented Jun 13, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Action - Issue left behind - Used by the BOT to call for attention label Jun 13, 2018
@senadaruc
Copy link

senadaruc commented Jun 28, 2018

Gents, I have the same issue with my Meraki MR53 and MR32 AP's after flashing my Sonoff devices with Tasmota FW. I tried all possible combinations and no success! I have more than 30 Sonoff devices at home with stock FW and they work perfectly with my Meraki AP's so is there any workaround to make them work with Tasmota and Meraki?

Thanks,

@stale stale bot removed the stale Action - Issue left behind - Used by the BOT to call for attention label Jun 28, 2018
@stefanbode
Copy link
Contributor

stefanbode commented Jun 28, 2018

There seems to be a new issue with the 6.0.0a firmware. I had the same problem getting connected to my Fritzbox and with this change it now works again. No idea about side effects. I have deleted/comment out the command in support.ino

near line 1000

//WiFi.persistent(false); // Solve possible wifi init errors

Please give Feedback, if this works for you, because this is intresting for the rest of the community

arendst added a commit that referenced this issue Jun 28, 2018
Fix possible wifi connection problem (#1366)
@senadaruc
Copy link

stefanbode, thanks for the feedback but searching inside the "support.ino" I found 3 lines with the same command.

WiFi.persistent(false); // Solve possible wifi init errors
Do i need to comment(disable) the function in all 3 places or just at line 1012 ?

Thanks,

@stefanbode
Copy link
Contributor

Interesting to know. I was expecting it only once. Anyhow I would comment ALL of the lines out. The command itself seems to have some problems.

@senadaruc
Copy link

Ok, testing now... I will let you know the results.

@senadaruc
Copy link

Just tested by removing the "WiFi.persistent(false); // Solve possible wifi init errors" from "support.ino" but unfortunately this didn't work! same problem.....

00:00:00 Project sonoff Sonoff (Topic sonoff, Fallback DVES_834616, GroupTopic sonoffs) Version 6.0.0a-2_3_0
00:00:00 WIF: Connecting to AP1 SmartMeraki in mode 11N as sonoff-1558...
00:00:17 WIF: Connect failed with AP timeout
00:00:17 WIF: Connecting to AP2 SmartMeraki in mode 11N as sonoff-1558...
00:00:33 WIF: Connect failed with AP timeout
00:00:33 WIF: WifiManager active for 3 minutes
00:00:34 HTP: Web server active on sonoff-1558 with IP address 192.168.4.1

@stefanbode
Copy link
Contributor

can you double check on the INFO. "status 2" that the build time is correct and you really have the NEW firmware up and running.

12:42:08 MQT: hm/status/ESP_19FFA2/STATUS2 = {"StatusFWR":{"Version":"6.0.0a","BuildDateTime":"2018-06-26T13:16:41","Boot":31,"Core":"2_4_0","SDK":"2.1.0(deb1901)"}}

@senadaruc
Copy link

senadaruc commented Jun 28, 2018

sure here is the output.!

pio device monitor --port /dev/cu.SLAB_USBtoUART --baud 115200
SARUC-M-C1EA:Sonoff-Tasmota-development saruc$ pio device monitor --port /dev/cu.SLAB_USBtoUART --baud 115200
--- Miniterm on /dev/cu.SLAB_USBtoUART  115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
00:00:33 CMD: status 2
00:00:33 RSL: stat/sonoff/STATUS2 = {"StatusFWR":{"Version":"6.0.0a","BuildDateTime":"2018-06-28T12:33:52","Boot":31,"Core":"2_3_0","SDK":"1.5.3(a
ec24ac9)"}}
00:00:34 WIF: Connect failed with AP timeout
00:00:34 WIF: WifiManager active for 3 minutes
00:00:34 HTP: Web server active on sonoff-1558 with IP address 192.168.4.1

@JF62
Copy link

JF62 commented Jun 28, 2018

I also had to revert 20a5395 , because all of my Sonoffs get time out and no wifi connection - multiple different access points are in use here.
After reverting back everything is fine

@senadaruc
Copy link

How to revert to 20a5395 ?

@JF62
Copy link

JF62 commented Jun 28, 2018

I have my own repository so I reverted back all changes done by 20a5395
It looks for my, that the problem started with this commit.

@senadaruc
Copy link

This is committed 4 hours ago, but I am strugling with the WiFi issue from yesterday morning !!! When I stated to flash my devices with Tasmota !

@JF62
Copy link

JF62 commented Jun 28, 2018

You may have this problem longer (I also use AVM Routers) but after this fix the problems you described happend for me too. I had never seen this problem before. And after the revert the problems for me are gone.

@ascillato
Copy link
Contributor

ascillato commented Jun 28, 2018

Hi,

I have just tested the actual v6.0.0b and works for me without problems.

So, I think that your issue is not Tasmota code or any commit, could be a config issue or a compilation issue.

I found that sometimes platformio compiles but the firmware have wifi issues. With just compiling twice, and then do the upload, the wifi issues are gone. If you compile with arduino ide, this weird behaviour is not there. There is an open issue at platformio with this at:
https://github.com/platformio/platform-espressif8266/issues/ 83

Hope this helps

@senadaruc
Copy link

Ok, so I deleted all WiFi clients and DHCP reservations from my Meraki and then I flashed my Sonoff with https://github.com/arendst/Sonoff-Tasmota/releases/download/v5.14.0/sonoff.bin now works fine... Thanks

@ascillato2
Copy link
Collaborator

Great!

Good to know that now it is working for you! 👍

@JF62
Copy link

JF62 commented Jun 28, 2018

Thanks ascillato2 for the hint - twice compiling fix my problems

@senadaruc
Copy link

Ascillato, from where you got the 6.0.0b version?

@ascillato
Copy link
Contributor

ascillato commented Jun 28, 2018 via email

@senadaruc
Copy link

Ok, and can you please compile a bin file for me so I can flash directly?

@ascillato
Copy link
Contributor

@ascillato
Copy link
Contributor

And

https://github.com/reloxx13/Sonoff-Tasmota-Modified/releases

@senadaruc
Copy link

Thanks,

curzon01 pushed a commit to curzon01/Tasmota that referenced this issue Sep 7, 2018
Fix possible wifi connection problem (arendst#1366)
@Sergi0Martin
Copy link

I had same problem and I solved following these tasmota oficial steps (with termite) using-serial-terminal

After send the command Backlog ssid1 ; password1 <your_password>; ssid2 <your_ssid2>; password2 <your_password> device connected automatically. IMPORTANT: put always ssid1 and ssid2 even if it is the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests