Raspberry Pi Project for barn surveillance

December 6, 2023, 21:35

iursevla

Key points: - Remote barn (1km+) with no internet, only mobile. - 2 entry points: door && gate. - Detect intruders -> send SMS/call && send video to a remote server. Setup: - Raspberry Pi 4 or 5. - Door sensors (Zigbee/LTE) - Night camera - GSM/LTE-M module - BLE/Zigbee button Life cycle: Shutdown detection on off-hours (hours where there's no need to act upon detection). Generally, between 7 am and 7 pm. When movement is detected by the BLE/Zigbee sensor, the Raspberry Pi should receive the notification and then in parallel do the following: - send an SMS message/make a phone call to my mobile phone (or my parents) - start taking an X-second video with a night camera, then compress the video and send it to a remote server that I control - start playing some siren sounds in an external sound system Other considerations: - Local BLE/Zigbee button for system control. - Remote system stop capability. Questions: 1. Raspberry Pi 4 or 5? I'm considering at least 2GB RAM for video processing. Is it enough/too much? 2. Small (64GB) M2 SATA or NVME SSD. Recommendations? 3. Zigbee or BLE for the door sensors? The walls to the secondary door have +-50cm thickness and the door is ~8 meters from the place I'm thinking of placing the Raspberry Pi. I've read about some interference between Wifi/USB3 modules and Zigbee but don't know how much of a problem this is. 4. Night camera recommendations? 5. Considering an LTE-M module. Any recommendations? Appreciate overall recommendations and feedback on the system's design and potential improvements or flaws.

iursevla

<@847449468311306291> no. The camera is just to record images/video. No need for extra work from it 🙏

k9t33n

then pi 4 should be fine

k9t33n

I can help you with scripts for the SMS and maybe phone calls. and maybe the turning off for "off-hours"

k9t33n

and streaming video. that's quite hard to do without a particular service. if you find a service I can maybe help setting that up

oops.se

Take a look at LoRa as an alternative to a LTE-modem.

null

WLAN bridge? I installed one the other day. It has a range of up to 1.5 kilometers with a clear view. In our house it transmits through 2 walls and it works 😅

oops.se

Ok, I didn't understand that the description was a live stream?! When movement is detected by the BLE/Zigbee sensor, the Raspberry Pi should receive the notification and then in parallel do the following: - send an SMS message/make a phone call to my mobile phone (or my parents) - start taking an X-second video with a night camera, then compress the video and send it to a remote server that I control

iursevla

Yeah, I want to send the video to a server (async) but not livestream. I'll guess the best way due to circumstances is a LTE-M module. I'll end up paying a 1-2 cents per Megabyte but I will only use it when there's a detection.