I found that turning WiFi on by location wasn't 100% reliable and it used more battery, so this profile is 100% reliable and it uses less battery.
This profile turns on WiFi every 4 minutes for 10 seconds and them disable it, but if connected to a know hotspot it will leave WiFi on until disconnect, once disconnected it will start the cycle again.
PROFILE 1 CONTEXT
State: Wifi Connected
ENTER TASK
WiFi On
Variable Set, %CON to 1
Flash text, WiFi Connected
EXIT TASK
Variable Clear, %CON
Flash text, WiFi Disconnected
Wait 2 seconds [If Not Set %WAIT]
WiFi Off [If Not Set %WAIT]
Flash text, Turning WiFi off [If Not Set %WAIT]
PROFILE 2 CONTEXT
Time: Repeat: 4 minutes (no From or To)
Variable Value: Not Set %CON
ENTER TASK
Variable Set, %WAIT to 1
Wifi On
Flash text, Checking for WiFi connection
Wait 10 seconds <---- your can add more if necessary
Wifi Off [If Not Set %CON] <----in case you connect during the 10 seconds
Flash text, No Wifi connection found [If Not Set %CON]
Variable Clear, %WAIT
If your N1 doesn't auto connect to your netwok this profile will not work for you.
The "Flash text" is optional, but if your new to tasker it help to flash what tasker is doing.
You can remove them once it's working for your. I tent to leave them on.