HOME GAMES APPS CODE DESIGNS ELECTRONICS DOWNLOADS LEGACY

PI-Talos

GOAL

A home security/monitoring system.

CONCEPT

  • Must record/live stream camera facing front door

  • Must work in the dark

  • Available to access remotely via the internet

  • Must have alarm functionality to output the video if triggers

  • Add noise, temperature and gas level sensors.

PURCHASES

Controller Raspberry Pi 5 (8GB) £76.80
Cooling system Active cooler for Raspberry PI 5 £4.80
Cooling system Raspberry Pi AI HAT+ (26 TOPS) £101.90
Power Raspberry Pi 27W USB-C Power Supply £11.60
Camera Arducam 1080P Day & Night Vision USB Camera for Computer, 2MP Automatic IR-Cut Switching £39.95
Camera USB Camera £11.95
 
TOTAL £247

IMPLEMENTATION

So I could have used a normal camera to do this and used the excellent Motion library, but I really wanted to use the AI Hat. I tried out the excellent FrigateNVR which had the built in support for the Hailo but it didn't quite do what I needed and I struggled to configure it. So I decided to create my own scripts to do what I wanted. Firstly I installed aiortc to turn the infared camera into a webcam. The script for this created a webserver to allow me to connect to in real time anywhere in the world. I modified this to create a record method. When called this would then create a 10 second video of the stream. I had an old low res camera and decided to use this as the "targetter" camera for use with the Hailo module. I modified the basicpipelines script to add a queued "Alert" detector which when a person was detected activated an alert pipeline. This saved the frame on the low res camera as a JPEG and called the record method of the aiortc webserver. This seemed to work well KY-038 Sound sensor KY-026 Flame Sensor
© 2025 All Rights Reserved. version 0.0.0.0 82157347