GFI with photocontrol