The global population of older adults has increased, leading to a rising number of older adults in nursing homes without adequate care. This study proposes a smart wearable device for detecting and classifying abnormal behaviour in older adults in nursing homes. The device utilizes artificial intelligence technology to detect abnormal movements through behavioural data collection and target positioning. The intelligent recognition system and hardware sensors were tested using cloud computing and wireless sensor networks (WSNs), comparing their performance with other technologies through simulations. A triple-axis acceleration sensor collected motion behaviour data, and Zigbee enabled the wireless transfer of the sensor data. The Backpropagation (BP) neural network detected and classified abnormal behaviour based on simulated sensor data. The proposed smart wearable device offers indoor positioning, detection, and classification of abnormal behaviour. The embedded intelligent system detects routine motions like walking and abnormal behaviours such as falls. In emergencies, the system alerts healthcare workers for immediate safety measures. This study lays the groundwork for future AI-based technology implementation in nursing homes, advancing care for older adults.