Hi
I have a small task that contains an HTTP GET action,
and I wanted to improve it by making the task also turn WiFi On.
I added a Net\WiFi action, set it to On,
and now the only problem, is that when WiFi is set to On, it takes several seconds until it's actually connected.
But my Tasker script continues right after the WiFi(On), and send the HTTP GET, even tho there's no WiFi connected yet,
and so I get an error.
Can I offer to make the WiFi action be a Blocking one,
so the operation will complete only after the requested WiFi state has actually happened?
And in the meanwhile, what can be a workaround for me?
Just putting a fixed delay, will not always be good, because sometimes it takes 2 seconds to connect to the wifi, and sometimes even 8 seconds..
So I need a "smart" way that will actually wait for the WiFi state to change to the desired one, and only then complete the waiting..
Thank you for the help