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
i understand I'm the only one experiencing this issue, which i find extremely odd, so i believe i wont get any further with this.
my conclusive comment, if any, if anyone bump into a similar problem: The sonoffs with firmware 1.5.5 fell out of love with my draytek (2820Vn with latest fw 3.8.0) after updating the sonoff from 1.5.4.
i've tried _all_ imagnable combinations of wifi settings on the draytek to no avail. After being let down by the draytek i moved over to a ZTE router provided by the phone company, .. and im sorry to say that it works - but _only_ with SGI is enabled. _without_ SGI (short guard interval) enabled the sonoffs behvaes just the same connected to the ZTE router as with the draytek. I tried enabling sgi on the draytek but it had no effect.
So, all in all, itead may''ve attempted to optimize wifi perfornance with the sonoff firmware 1.5.5 , as stated in the change log, .. but.. to my experience, .. nothng but trouble... Itead, i'd reverse the 1.5.5 code changes that has to do with wifi functionality back to as it was in version 1.5.4 ..
Itead, all in all, it has been a waste of time using your forum.
You could've easily dropped a short "we Are aware of the problem and will fix it in release 1.5.6" or "we are Not aware of this problem and good luck to you"
regards from barcelona
I'm having a similar experience with S20. Now I've tried enabling SGI after reading your post.
I've waited since my last posting and the widget didn't work after 3 hours... :
but this time it didn't give that warning. I opened the app and used the switch and only then the widget in the first picture started to work again. Feels like it's going to deep sleep and having hard time waking up. I too might try third party stuff since this "device offline" thing gets annoying and fails the whole point of "instant" control. Having to open the app each and every time isn't ideal.
BTW I'm using S20 to power on and off my secondary monitor since it emits a high frequency noise when I attempt to shut it down from the button on it's panel so whenever I need to use S20's switch I'm in front of my computer. I'm quite new to this stuff. I've received my S20 from Aliexpress a few days ago. Do you know a software which I can control my S20 from my windows pc? I thought about installing the EWeLink android app into Remix OS Player but it felt stupid to run a whole emulation for just a button switch. I thought connecting S20 to Alexa and using the web interface but I don't want to use voice commands either.
just out of curiosity. would you try plugging your s20 near your router, in the same room, say within a meter or two, to see if that helps. The new firmware may turn down wifi power to skimp on idle watts, .. maybe they tweaked it a wee too hard .. maybe it works in a lab but not in all domestic environments, maybe there is more than usual wifi and other 2.4ghz interferrence around where you and I live. ..?
I will try today to see if it helps. I've done this test several times already, but, 1. the sonoffs work better for a few hours after they been powered off/on, so in retrosepct, I'm not sure if i allowed enough time and 2. i dont remember if i tried this after I swapped router (and enabled SGI) as It logically was one of the first tests i did. so here we go again. i'll post the outcome. :-] ..
i could've measured idle wattage with a multimeter but since I didnt also measure before the fw update I won't know if the updated firmware draws less mA'mps.. so.. that wont help indicating..
haha you really got me going again. so would like to add, keep an eye out for
if it blinks once, repeatedly, then it cant connect to WIFI.
if it blinks twice, repeatedly, then it cant connect to the server.
steady green means everything is aOK.
the problem im describing throughout is when it blinks Once, repeatedly. ie - wifi problems.
i've also seen the "double blink" on many occations, but thats down to other issues, like the broadband providers DNS server was acting up, .. or .. the chinese may've been messing with national infostructure. or god knows what. Itead says the server is Amazon AWS backed, .. problem is, its probably located in China .. .. i dont know, im Not saying it's crap because its Chinese, im just saying that Distance and Culture may cause the extra odd interruption...
(another reason why to flash 3rd party firmware im afraid........)
update: the sonoff I just now moved next to the router for testing, was online for about 30 minutes before it dropped connection - coming up light grey in eWelink. it was gone for a little while and came back online again. An other sonoffs I got going (th16) did not lose connection, was online all along, so its not related to the eWelink app 'side of things. So, i dont think its down to interference or skimping on wifi idle power. Mysery remains.......
In it's usual operation my S20 is around 4 meters away from my relatively new Castlenet CBW383G4S/CBW3843G4S I tried it in a wall socket that's around 1 meter away and encountered with the same problem.
the widget is unresponsive, then I open the app and it's like the "network unavailable":
Then when i try to operate it from within the app It says "Control by LAN":
and it operates just fine. When i close and reopen the app, voila! No warnings! :
Did the network problem get fixed just because I restarted the app, or were there a network problem to begin with even? I don't know. While these things happening there's no blinking on the device's led. It's either in closed (just steady green) or open (steady green-blue) state. I agree on waiting the new firmware version. Yes it's a shame Sonoffs lack an API.
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?
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
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.