pulse-monitor/backups/backup_20251125/config.yaml

25 lines
989 B
YAML

# Pulse Oximeter Monitor Configuration
camera:
# Tapo C110 RTSP URL (pulse ox monitoring camera)
rtsp_url: "rtsp://tapohass:!!Helder06@192.168.2.183:554/stream1"
home_assistant:
# TS140 server IP where HASS is hosted
url: "http://192.168.1.252:8123"
# Long-lived access token for pulse-monitor
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIzOTMxMTA4MjczYzI0NDU1YjIzOGJlZWE0Y2NkM2I1OCIsImlhdCI6MTc2MTExNTQxNywiZXhwIjoyMDc2NDc1NDE3fQ.URFS4M0rX78rW27gQuBX-PyrPYMLlGujF16jIBHXYOw"
processing:
# How often to capture and process frames (seconds)
sample_interval: 1
# Reject readings that change more than this percent
change_threshold_percent: 5
# Maximum allowed drift INCREASE in seconds (detects camera lag/freeze)
# Camera can be 10s behind server consistently - that's fine
# But if drift increases by more than this, frame is stale
max_drift_seconds: 3
logging:
level: "info" # debug, info, warn, error
file: "./logs/pulse-monitor.log"