Preventing excessive water consumption with tinyML