The incorporation of Artificial Intelligence algorithms in Intelligent Transportation Systems gives rise to new opportunities for a more sustainable urban mobility. However, one the main challenges is decide when and where these techniques should be applied; several options appear, such as cloud computing, fog edge or even devices. In this paper, an Internet Things-based solution smart traffic ...