Human activity monitoring by smart devices