Next-generation Smart City Streetlight Controller