A critical analysis of an IoT—aware AAL system for elderly monitoring