A smoke alarm for the sea