{'fraction_non_alphanumeric': 0.023741007194244605, 'fraction_numerical': 0.0035971223021582736, 'mean_word_length': 5.100877192982456, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Intrusion Detection System using Raspberry Pi and Telegram Integration

Security is of enormous importance in this modern age. The crime rate increases exponentially, and traditional home surveillance systems are expensive and limited in intelligent capabilities, such as real-time detection, instant alert, and prompt reporting. As a result of the rapid evolution of cutting technologies and devices, such as Raspberry Pi and several enabled APIs, the limitation, as mentioned, has become a thing of the past. This paper implements an Intrusion Detection System (IDS) using a Raspberry Pi processor that serves as a controller and stations at a home environment. The choice of Raspberry Pi 4 is considered, which is the core of the system; it does all processing between all components (i.e., Passive Infrared sensor, Web camera, Light Emitting Diode) connected to it. The intelligent device is integrated with the Telegram bot via its API. The API with the appropriate Telegram framework is used as an instant messenger generator and notification system. The designed system achieved promising results, as it accurately identified known people, and all unidentified people were flagged by sending a Telegram text message, which included the captured image of the unknown intruder. The overall accuracy rate achieved was 84 per cent, and the accuracy rate for known people was 86 per cent.