A Smart System for Early Floods Detection and Waste Monitoring in the Lepenec River Basin