This article belongs to the Special Issue Trends on Edge Computing and Artificial Intelligence for Next Generation Sensor Networks