There should be an option in the "Wifi State Change" trigger to check if the wifi is connected without internet.

BlatnatHacer49

New member
Sometimes, slow or buggy wifi connections can say "Connected, No Internet" or, "No Internet, Connected", and you will be connected to the wifi without being able to actually do anything online. For people with wifi connections that do this frequently, (such as myself), it would be nice to have a way for MacroDroid to detect this somehow, so macros could be made to do things about it like automatically reconnect the internet.

I've settled for making a macro that automatically attempts to reconnect to my internet when it gets disconnected, and if it fails to reconnect it disables my wifi. It works okay, every time my wifi suddenly is connected without internet, I just disable my wifi, which automatically gets reenabled and tries to connect to my wifi, and if it doesn't connect within 5 seconds, it will disable my wifi. However, I'd like to make this fully automatic, to the point where I don't even notice that my wifi had no internet, because it reconnects automatically before anything happens. That is simply impossible because I can't detect if it's connected without internet or not.

In short, allowing MacroDroid users to detect when you are connected without internet would be a very useful feature for those like me with crappy internet that bugs out all the time.

(This image is one I found online of the issue happening to someone).
1e5d3d3fd6072f35a75c5bc67391f82cc91eb7df.jpeg
 

Endercraft

Moderator (& bug finder :D)
@BlatnatHacer49 It, in fact, isn't just for mobile data. I got fooled by its name too, but it actually means any connection, like mobile data, but also wifi, ethernet, bluetooth (who uses bluetooth for network?).
 
Last edited:

BlatnatHacer49

New member
@BlatnatHacer49 It, in fact, isn't just for mobile data. I got fooled by its name too, but it actually means any connection, like mobile data, but also wifi, ethernet, bluetooth (who uses bluetooth for network?).
I didn't even know it was possible to use data for network, haha. Also I made my script idea work, kind of. I had it send a connectivity check to google.com every 10 seconds, and if it came back false it would reconnect my wifi. It worked most of the time, but sometimes it wouldn't work, and even when it did, the 10 second interval was very straining on my battery and RAM, so I just went back to the method I described in my post. I'll check out the Data Connectivity Check in a bit, thanks for the tip!
 
Top