In a frying pan, heat 1 tablespoon of the oil and cook the sesame and poppy seeds for 2 minutes over a medium heat, stirring. Add the coconut and ginger and saute until brown. Then add the peanuts, chili powder, turmeric and some salt. Mix well and continue cooking for another minute.
Remove from the heat and place the contents of the pan in a spice mill or grinder. Process the mixture for about 3 minutes to give a fine paste. Heat the remaining 2 tablespoon of the oil in a large saucepan. Add the sliced onion and cook for 2-3 minutes, then add the tomatoes and continue cooking for another 5 minutes or until most of the juices have evaporated. Stir in the coconut paste, then the broccoli and green chillies, stirring gently, for 5 minutes. Add 450 milliliters / 16 ounces of water, then cover and simmer for 10 minutes, stirring occasionally.
Taste and add more salt, if required, then bring the mixture to a boil and cook until the broccoli is tender, stirring occasionally. Serve hot.