hi people of the earth :-)
I have 3 sonoffs operating for 6 months or so and have lately updated all three from firmware 1.5.4 to 1.5.5. They have worked without any hickups until now (well, almost..) After updating to 1.5.5 all my 3 sonoffs' started repeatedly dropping the wifi connection every minute or so, until they eventually are not able to connect anymore.
need to power them off, "cold boot" - then they behave ok for a while but eventually, after about an hour, starts dropping the wifi again, more and more frequently
until it eventually is not able to connect to the router at all.
My wifi router is a Draytek 2820Vn, ive tested with or without firewall, qos, DOS detection, Bandwith managements etc etc, the router has the latest firmware installed. ... but - still no go".
I've logged the problem with the routers syslog software, the reported insidents
"WLAN_DBG - MLME Disassoc" means that the SONOFF takes the initiative
to the disconnects. Disconnects triggered by the router would've given a
different log message.
extract from router log:
1502017-04-16 12:24:38Apr 16 12:24:11SHWLAN_DBG - MLME Associate MAC 60:01:94:07:ea:a6 1502017-04-16 12:25:38Apr 16 12:25:11SHWLAN_DBG - MLME Disassoc MAC 60:01:94:07:ea:a6 1502017-04-16 12:25:38Apr 16 12:25:11SHWLAN_DBG - Dot1x_session_stop 1502017-04-16 12:25:38Apr 16 12:25:11SHWLAN_DBG - MLME Associate MAC 60:01:94:07:ea:a6 1502017-04-16 12:26:59Apr 16 12:26:32SHWLAN_DBG - MLME Disassoc MAC 60:01:94:07:ea:a6 1502017-04-16 12:26:59Apr 16 12:26:32SHWLAN_DBG - Dot1x_session_stop 1502017-04-16 12:28:02Apr 16 12:27:35SHWLAN_DBG - MLME Associate MAC 60:01:94:07:ea:a6 1502017-04-16 12:29:02Apr 16 12:28:35SHWLAN_DBG - MLME Disassoc MAC 60:01:94:07:ea:a6 1502017-04-16 12:29:02Apr 16 12:28:35SHWLAN_DBG - Dot1x_session_stop 1502017-04-16 12:29:02Apr 16 12:28:35SHWLAN_DBG - MLME Associate MAC 60:01:94:07:ea:a6 1502017-04-16 12:29:51Apr 16 12:29:24SHWLAN_DBG - MLME Disassoc MAC d4:85:64:34:e0:a7 1502017-04-16 12:29:51Apr 16 12:29:24SHWLAN_DBG - Dot1x_session_stop 1502017-04-16 12:30:21Apr 16 12:29:54SHWLAN_DBG - MLME Disassoc MAC 60:01:94:07:ea:a6 1502017-04-16 12:30:21Apr 16 12:29:54SHWLAN_DBG - Dot1x_session_stop 1502017-04-16 12:31:24Apr 16 12:30:57SHWLAN_DBG - MLME Associate MAC 60:01:94:07:ea:a6 1502017-04-16 12:32:24Apr 16 12:31:57SHWLAN_DBG - MLME Disassoc MAC 60:01:94:07:ea:a6 1502017-04-16 12:32:24Apr 16 12:31:57SHWLAN_DBG - Dot1x_session_stop 1502017-04-16 12:32:24Apr 16 12:31:57SHWLAN_DBG - MLME Associate MAC 60:01:94:07:ea:a6 1502017-04-16 12:33:44Apr 16 12:33:17SHWLAN_DBG - MLME Disassoc MAC 60:01:94:07:ea:a6 1502017-04-16 12:33:44Apr 16 12:33:17SHWLAN_DBG - Dot1x_session_stop 1502017-04-16 12:34:47Apr 16 12:34:20SHWLAN_DBG - MLME Associate MAC 60:01:94:07:ea:a6 1502017-04-16 12:35:47Apr 16 12:35:20SHWLAN_DBG - MLME Disassoc MAC 60:01:94:07:ea:a6 1502017-04-16 12:35:47Apr 16 12:35:20SHWLAN_DBG - Dot1x_session_stop 1502017-04-16 12:35:47Apr 16 12:35:20SHWLAN_DBG - MLME Associate MAC 60:01:94:07:ea:a6 1502017-04-16 12:36:47Apr 16 12:36:19SHWLAN_DBG - MLME Disassoc MAC 60:01:94:07:ea:a6 1502017-04-16 12:36:47Apr 16 12:36:19SHWLAN_DBG - Dot1x_session_stop 1502017-04-16 12:36:47Apr 16 12:36:19SHWLAN_DBG - MLME Associate MAC 60:01:94:07:ea:a6 1502017-04-16 12:38:34Apr 16 12:38:06SHWLAN_DBG - MLME Disassoc MAC 60:01:94:07:ea:a6 1502017-04-16 12:38:34Apr 16 12:38:06SHWLAN_DBG - Dot1x_session_stop 1502017-04-16 12:39:36Apr 16 12:39:08SHWLAN_DBG - MLME Associate MAC 60:01:94:07:ea:a6
they did NOT behave like this when running fw 1.5.4.
I have, hand on hearth, changed nothing else on my netwrok, only the sonoff firmware..
therefore, to my understanding it must be a mproblem with the latest wifi related changes is in firmware 1.5.5. anyone else wiht the same issue? .. itead..? .. any ideas?
thanks in advance. SH / Barcelona
NB. Moderator, if youre awake:-)
aplologies for first posting in the wrong (nextion) forum, could you please remove this post
In my case, same as Carlos C, when upgrading Sonoff Basic from 1.5.6 a 1.6.0 solve problems with internet connections, but we have same problema with Sonoff 4 ch and several times we lost internet connections and only solution is go to the site an resete Sonoff.
We have Sonoff 4 ch with 2.0.1 Firmware version, is there a new version to solve this problem in 4Ch Sonoff ?.
Thank you in advance.
Thank you, in my case upgrading the firmware from 1.5.5 to 1.6.0 on my basic switch also fixed the "network unavailable" problem shown in the eWeLink android app which was preventing me from controlling my two different Sonoff switches.
happy holidays and thanks for the link, it looks like a good resource. reading quickly, my sonoffs did indeed get their mac adresses replaced after the 1.5.5 firmware upgrade, i -did- think that was a bit odd, not the best thought through firmware upgrade i'd say. Its been so long since this started but I first suspected the firmware upgrade and spent an awful lot of time investigating, but now im not sure anymore... I wont rant any further cos I'm simply out of ideas and all my 6 sonoffs work spotlessly now (!) since a few weeks - even though say I -cannot- understand what changed. could it be that the sonoff didnt contact the itead server for 12 hours while my internet connection was out? .. would you try leaving -one- of your troublesome s20's disconnected for 24 hours and see if that helps? maybe something times out in the server end - giving you a new 'lease of some sort. im alle ears! :-)
hi moosa. my 3x sonoffs, 2x Pow and 1x Th16 are now all behvaing well after almost half a year of havoc. Unfortunately, i cannot conclude why it has "resloved itself", i think it had to do with the ISP. but try: 1. Switch to openDNS, 2. Set router bandwidth to 20Mhz, 3. Set Long Preamble, 4, set Guard Interval (SGI) to "long". test and report back? it would be great if you could help shed som light on this......(!)
I have the same problem. I have 6 S20 with firmware 1.5.5 and and 6 T1 switches all working fine except two S20 plugs having the same issue as your, it disconnects goes offline and it only comes back online when I unplug and plug it back again. Can't resolve the problem.
bytheway, it wasnt the preabmle i testet, it was the SGI "(short) guard interval"
see below if you like, these are my current wifi settings.
you can see im using narrow band (20 mega og gigahertz, what do i know) and long preamble enabled.
Im not sayin these settings are optimal but its this is what i left them at after hours of mocking about, and the sonoffs works, so i havent bothered tinkering any further.
I have the same problem of you with a Mikrotik router.
Now I'm trying Open DNS and short preamble.
Previous firmware was most offline than online. Current firmware it's always disconnected.
From the Mikrotik router, I can see the sonoff signal, not so weak, It is the sonoff that doesn't want to use the connection.
MODERATOR, if you read this - I'm the topic starter. I suggest you delete this entire thread/topic. My problem disappeared the very same moment our ISP finished work on the neighbourhoods adsl connection , ie. it turns out none of the observations and tests we have performed have been relevant.
It aslo explains why -Nobody- else have experienced the same issue. And damn you Jazztel for wasting my time. so, delete at will. its working Fine now. .. Thank you :-)
I compared performances of opendns, google dns and my ISP's, my ISP's was slightly faster so I ended up not changing my DNS in router level.
Actually my problem got fixed itself somehow, for some reason. I ended up using the physical button anyways since It's right near of me and it's more practical/faster using physical button for me but I haven't had problems using app widget aso (tried now, worked)
Now I'm annoyed that the onboard leds are always on. It's annoying and unnecessary. It should switch to a power saving mode and switch off the leds in my opinion. At least that should be an option.
Hi Aykut, I tried to reply to you but it was stopped by a moderator. god knows why. maybe it was to long and unconclusive. as if that would be a reason good enough not to let my post through. I'm giving up on Sonoff firmware and forum and will load a third party fw. Hope you work something out too. tada' all the best from Barcelona. STIAN
How's the problem going?
My Castlenet CBW383G4S/CBW3843G4S got 2 channels of 2.4 GHz and 5 GHz. I've realised that when sonoff and my phone are on the shame 2.4 GHz channel I don't encounter the network unavailable problem. But whenever I switch my phone's connection to the 5 GHz channel that's when the problem starts, so I guess I kinda solved my problem by keeping my phone in 2.4 GHz channel too. It's still annoying and you shouldn't need to keep them in the same channel for sonoff to function properly but it's a workaround until they hopefully fix it with the new firmware.
Are your phone and sonoffs in the same 2.4 GHz channel too?