Check this thread for ideas. The IR or ultrasonic sensor would be perfect I think, you could set up an alert to check at X time if the cans are not there to remind you constantly until they are put away.