server:
    listen_addr: :8080
plc:
    ip: 192.168.1.205
    db_num: 1001
    rack: 0
    slot: 1
    poll_ms: 500
    connect_timeout_sec: 5
    idle_timeout_sec: 5
    reconnect_delay_sec: 5
thresholds:
    warning_percent: 80
    critical_percent: 95
    gauge_max_percent: 130
    imbalance_warning_percent: 15
    imbalance_critical_percent: 25
trend:
    minutes: 5
press:
    MAX_TONNAGE: 320
ui:
    title: Force Monitor
    subtitle: Siemens S7-1215C • Piezo peak/stroke input • PLC values in % • kN calculated from MAX_TONNAGE
    left_label: LEVI STEBER
    right_label: DESNI STEBER
    unit_force: kN
    unit_percent: '%'
modules:
    show_header_controls: true
    show_verdict: false
    show_summary_bar: true
    show_overview: true
    show_intelligence: false
    show_alarm_timeline: false
    show_gauges: true
    show_gauge_digital: false
    show_trend_chart: true
db:
    path: force_monitor.db
    busy_timeout_ms: 5000
    batch_size: 32
    flush_interval_ms: 1000
    retention_days: 30
    max_chart_points: 2000
    writer_queue_size: 4096
    alarm_queue_size: 512
    checkpoint_pages: 1000
    cleanup_interval_hours: 6
mqtt:
    enabled: true
    broker: tcp://192.168.1.1:1883
    client_id: force_monitor
    username: ""
    password: ""
    topic_prefix: force_monitor
    qos: 1
    retain: false
    auto_publish: true
    publish_interval_ms: 1000
    connect_timeout_sec: 10
    reconnect_delay_sec: 5
