ข้ามไปยังเนื้อหา

OBH-IoT CCTV Camera System

CCTV cameras are integrated with Frigate NVR running on a dedicated physical PC (194.1.0.4) with Google Coral TPU for AI object detection. Cameras are on a separate network (192.x.x.x) from IoT devices (194.x.x.x).

  • Server: Core-Frigate PC at 194.1.0.4 (Debian 12, kernel 6.1)
  • Frigate version: 0.17.1 (ghcr.io/blakeblackshear/frigate:stable, upgraded 2026-05-10 from 0.15.0)
  • Hardware: Physical PC with Google Coral Edge TPU (USB) + Intel iGPU (VAAPI)
  • Compose project: /home/mtd/frigate/ (docker-compose.yml + config/config.yml)
  • MQTT: Broker at 194.1.0.1:1883, topic prefix frigate, user frigate
  • Detection: 1280×720 resolution, 5 FPS per camera, EdgeTPU (USB Coral)
  • Object Tracking: person, car (motorcycle available but disabled)
  • Recording: Global recording disabled at top level; per-camera opt-in. Review retention via 0.16+ schema: record.alerts.retain.days: 30, record.detections.retain.days: 30
  • Snapshots: Enabled with bounding boxes, 720p; retention default 60d, person 60d, car 15d
  • Auth: 0.17 enabled built-in auth; default admin user is auto-created on first start (password printed once to logs — set a permanent password via UI)
  • Cameras in Frigate: 13 actively configured (cam_05, 07–12, 14–18, 21) — subset of 25 total
Date From To Notes
2026-05-10 0.15.0-6cb5cfb 0.17.1-416a9b7 Backup tarball: /root/frigate-backup-20260509-235854.tar.gz on fg. Rollback image kept locally as ghcr.io/blakeblackshear/frigate:rollback-0.15.0. Config schema already on new record.alerts/detections form — no migration needed. Coral TPU re-detected; one pre-existing offline camera (cam_18).
No Name Description IP Resolution Encoding Detection
01 CCTV-B/1-8 โถง OPD-B (ประตูไป ER) 192.1.2.15 Full HD H.264 Yes
02 CCTV-B/1-10 โถง X-Ray 192.1.2.16 Full HD H.264 Yes
18 CCTV-B/7-1 ดาดฟ้า B Solar Cell (EzViZ) 192.1.2.46 Full HD H.264 Yes
19 CCTV-B/7-2 บันไดหนีไฟ (ฝั่งวัดพระสิงห์) 192.1.2.47 Full HD H.264 Yes
20 CCTV-B/7-3 บันไดหนีไฟ (ฝั่งวัดพระแก้ว) 192.1.2.48 Full HD H.264 Yes
No Name Description IP Resolution Encoding Detection
03 CCTV-K/1-5 โถง OPD-K (ห้องตรวจ K26) 192.1.3.42 Full HD H.264 Yes
04 CCTV-K/1-13 โถง OPD-K (ทางเข้าห้องยา) 192.1.3.45 2K H.264 Yes
07 CCTV-K/2-7 ศูนย์คอมพิวเตอร์หลัก #1 192.1.3.88 Full HD H.264 Yes
08 CCTV-K/2-8 ศูนย์คอมพิวเตอร์หลัก #2 192.1.3.89 Full HD H.264 Yes
15 CCTV-K/1-19 ห้อง UPS 192.1.3.34 Full HD H.264 Yes
21 CCTV-K/8-1 ดาดฟ้า K Solar Cell (EzViZ) 192.1.3.85 Full HD H.264 Yes
22 CCTV-K/8-2 บันไดหนีไฟ (ฝั่งวัดพระสิงห์) 192.1.3.86 Full HD H.264 Yes
23 CCTV-K/8-3 บันไดหนีไฟ (ฝั่งวัดพระแก้ว) 192.1.3.87 Full HD H.264 Yes
No Name Description IP Resolution Encoding Detection
05 CCTV-A/1-7 ลานจอดรถหลังเวชสถิติ 192.1.1.17 2K H.264 Yes
06 CCTV-A/1-8 ลานจอดรถมุมตึกห้องน้ำ ARI 192.1.1.18 2K H.264 Yes
No Name Description IP Resolution Encoding Detection
09 CCTV-S/2-7 ศูนย์คอมพิวเตอร์สำรอง #1 192.1.6.13 Full HD H.264 Yes
10 CCTV-S/2-8 ศูนย์คอมพิวเตอร์สำรอง #2 192.1.6.14 Full HD H.264 Yes
No Name Description IP Resolution Encoding Detection
16 CCTV-L/1-11 พื้นที่ผลิตน้ำ #1 192.1.4.10 Full HD H.264 Yes
17 CCTV-L/1-12 พื้นที่ผลิตน้ำ #2 192.1.4.11 Full HD H.264 Yes
No Name Description IP Resolution Encoding Detection
11 - ศูนย์คอมพิวเตอร์สำรอง #1 192.2.1.11 Full HD H.264 Yes
12 - ศูนย์คอมพิวเตอร์สำรอง #2 192.2.1.12 Full HD H.264 Yes
13 - ศูนย์คอมพิวเตอร์สำรอง #3 192.2.1.13 Full HD H.264 Yes
No Name Description IP Resolution Encoding Detection
14 - ศูนย์คอมพิวเตอร์สำรอง #1 192.3.1.11 Full HD H.264 Yes

All cameras use RTSP protocol with H.264 encoding. RTSP URL pattern: rtsp://<username>:<password>@<ip>/h264_stream

Verified live 2026-11-22: the current Frigate config defines 14 cameras. The building breakdown below counts all installed CCTV (not all are ingested by Frigate).

  • Main Site Building B: 5
  • Main Site Building K: 8
  • Main Site Building A: 2
  • Main Site Building S: 2
  • Main Site Building L: 2
  • DR-Site แม่สาย: 3
  • DR-Site เชียงของ: 1
  • Main Site (other): 2 (IoT test cameras at 194.1.1.40-41)