Flood detection for Rasperry Pi