Hello everyone, i now there´s some topics about this issue, but they are from 2023!
So, some context, i´m from Portugal, i have 3 Sonoff iplugs S60TPF (Wi-Fi) and 3 Sonoff Mini R4s (Wi-Fi), they are all working fine both with ewelink app and Alexa, but then i got a sonoff DW2 Sensor (also Wi-Fi), i did pair it without any problems, and works fine until i leave it inactive for about 2 minutes! Then takes around 30 seconds to reconnect!
I created a scene where i open my front door (activate the sensor) and the entrance light will turn on, and when i close the door, the light will turn off! It works fine when is “connected”!
But like i mentioned before, if i leave it inactive for at least 2 minutes, the device does not react right away if i open the door again (i don´t think is a delay). But once it reacts (reconnects with the cloud or something), and if i close and open the door repeatedly it works fine, until i leave it inactive again!
After reading here and on other forums i tryed a few things, i adjusted the configurations on the
2.4G network, on my router! I´ve read not to edit the name of the device! I´ve paired it with the internet router, and also paired it with a wi-fi repeater, changed battery´s, nothing, allways takes around 30 seconds to respond!
One thing i noticed is, if i open the ewelink app and then open the door the response is almost instant!
This looks like the device when inactive goes into “sleep mode” or something!
Is anybody out there experiencing, this problem??
Can this be a problem with the device itself??
I´m considering getting another DW2 to see if reacts the same way!
I don’t recall experiencing the same behavior as you.
My DW2-L with firmware 1000.2.1130 doesn’t exhibit this behavior. I just checked, and even after 10 minutes of inactivity, it responds quickly.
It’s generally important to remember that the Wi-Fi version is a full cloud for the DW2. Everything that happens with the DW2 goes to the eWeLink servers, so theoretically there might be some lag, but not 30 seconds.
If you have a firewall, make sure you’re not blocking TCP 8080, 443, or 8088.
If you’re using DNS filtering, make sure domains aren’t blocked.
From what I remember, with some Sonoff Wi-Fi devices, it generally helped maintain connectivity with “Allow legacy 802.11b rates” in OpenWRT. But in my case, this was related to maintaining a connection to the Wi-Fi router.
Make sure the dw2 is constantly connected to your Wi-Fi or is losing it. If it is, that could explain the long lag. The dw2 likely has some kind of sleep/lower activity mode to conserve battery life, but it should still be connected to your Wi-Fi router, regardless of how long ago it was activated.
Don’t do it! I know this problem well - I used to have that sensor. When the Wi‑Fi signal got weaker, it behaved unpredictably. Most of the time it reported state changes with a delay. It also drained batteries very quickly. It worked best only when the Wi‑Fi access point was extremely close. In a mesh network it usually connected to a distant router instead of the nearest one, which was both strange and annoying.
So your conclusions match my experience completely. Overall, Wi‑Fi is a poor choice for a door/window sensor where instant reporting is required. Even the process of waking up and re‑establishing a Wi‑Fi connection takes time, which goes against the whole purpose of this type of device.
After a long struggle, I gave up and switched to a Zigbee sensor.
Hello, i’ll try your sugestions to see if it helps or fixes the issue, i’m also contacting tech support for my internet provider (Vodafone) to see if they can do anything on they’r end!!
Hello, if i can’t fix this situation, i’m thinking on going zigbee yes, i went with this wi-fi version to avoid the hub requirement on the zigbee, all the other wi-fi devices work just fine!!
So, i contacted sonoff and explained the situation, after sending some pictures of the issue, they asked me to create a hotspot with a smartphone and connect my smartphone via wi-fi to that hotspot, then remove the device from the ewelink app and pair it back again, after that, replicate the opening and closing of the door and see if the lag is still happening, voilá, no more delay, even after being inactive for more than 2 minutes!
This meant the problem was on my internet conection, i researched online and found a guy with the same issue as me, but he was using a diferent brand smart device, and he got it fixed by desabling the CG-NAT on is network!
So i contacted Vodafone client support, explained the situation, they forwarded, my problem to technical support, a day later they called me, i brefly explain the situation and ask if i could be caused by the CG-NAT beeing active, he agreed, as we where talking, he deactivated it and re-started the router, i was not home at the time, but once i got in a few hours later, i tested the sensor and no delay anymore, also been testing for the last few days, with shorter and longer inactivite periods and allways reacts right away!