An open source research framework for IoT-capable smart traffic lights