WiFi connected/disconnected triggers

Post your questions and help other users.

Moderator: Martin

Post Reply
crackers8199
Posts: 14
Joined: 03 May 2017 18:20

WiFi connected/disconnected triggers

Post by crackers8199 » 03 Jul 2017 07:43

Should these be firing on channel change / AP change in Android 7?

I have a flow that connects to my home VPN when I disconnect from home wifi, and it worked pretty well on my OnePlus 3t on marshmallow. Since getting my op5 this week and using it on nougat, it seems the triggers are running every time I change access points in my house (my network has three AP on channels 1, 6, and 11)...i created a single channel said and
have been testing with that, and
so far haven't seen the same symptoms.

Is this normal? Is there a workaround?

crackers8199
Posts: 14
Joined: 03 May 2017 18:20

Re: WiFi connected/disconnected triggers

Post by crackers8199 » 03 Jul 2017 19:41

so it seems it's not just on channel changes...just had the wifi drop /reconnect on my single channel network. so, seems that's not the issue.

any ideas? is there a way i can verify in automagic if the vpn is connected so i can tell it not to bother running the disconnect shortcut if it's not connected?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: WiFi connected/disconnected triggers

Post by Martin » 04 Jul 2017 19:37

Hi,

The trigger WiFi Connected should also be executed when the BSSID changes. If this is not desired, you could store the SSID in a global variable and only execute the flow when the SSID in the global variable changes (using trigger Global Variable could be used).
You could also try to use a condition or trigger Notification in Statusbar Displayed in case the VPN app shows a notification that changes when the connection drops.

Regards,
Martin

Post Reply