Press the "+" at the bottom of Llama in the "Events" tab. Name it something, (wifi on, home wifi on, whatever). Hit "add condition", select "Enter/In Area", select "Home", (or whatever area you want Wifi active in). Hit "add condition" again, select "Screen On/off", select "Screen On".
Now...