In a large bowl, combine the grated potatoes and chopped onion.
Add the flour, eggs, baking powder, salt, and black pepper. Mix well to form a batter.
If using, fold in the chopped dill and bacon bits.
Heat a generous amount of oil in a large skillet over medium heat.
Spoon heaping tablespoons of the batter into the hot oil, flattening them slightly with the back of the spoon.
Fry until golden brown and crispy on both sides, about 3-4 minutes per side.
Transfer the cooked vedarai to a plate lined with paper towels to drain excess oil.
Enjoy your meal!