Set "home mode" when on wifi

If your router supports something like my smartapp, this works extremely well for me.