Ambient intelligence (AmI) is the smart environments that the IoT (Internet of Things) devices support people in carrying out their everyday life activities. AmI provides personalized, adaptive, autonomous, context aware, space and time aware, and anticipatory services in many IoT applications