it should work, but you need to test it alot before you go away... last thing you want is to come home to a bunch of water damage because the pump didn;t turn off for some reason... or even worse, if you live in an apartment and it floods the unit below and the landlord comes into your apartment to discover the cause.