How about a smoke detector connected to a contactor to turn of power to router etc. ..Clive