Smart Waste Cap funnel with hinged lid for barrel