feat: support for day time monitoring data, combined report generation now compaitible with mixed day and night types.

This commit is contained in:
2026-03-07 00:16:58 +00:00
parent 67a2faa2d3
commit f89f04cd6f
6 changed files with 941 additions and 399 deletions

View File

@@ -272,6 +272,14 @@ class MonitoringSession(Base):
duration_seconds = Column(Integer, nullable=True)
status = Column(String, default="recording") # recording, completed, failed
# Human-readable label auto-derived from date/location, editable by user.
# e.g. "NRL-1 — Sun 2/23 — Night"
session_label = Column(String, nullable=True)
# Period classification for report stats columns.
# weekday_day | weekday_night | weekend_day | weekend_night
period_type = Column(String, nullable=True)
# Snapshot of device configuration at recording time
session_metadata = Column(Text, nullable=True) # JSON