Tonnage-app-IMCO/config.yaml

63 lines
1.4 KiB
YAML
Raw Normal View History

2026-04-16 11:51:18 +00:00
server:
listen_addr: :8080
plc:
2026-04-23 10:09:40 +00:00
ip: 192.168.1.205
2026-04-16 11:51:18 +00:00
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
2026-04-23 10:09:40 +00:00
critical_percent: 95
2026-04-16 11:51:18 +00:00
gauge_max_percent: 130
2026-04-23 10:09:40 +00:00
imbalance_warning_percent: 15
imbalance_critical_percent: 25
2026-04-16 11:51:18 +00:00
trend:
minutes: 5
press:
2026-04-23 10:09:40 +00:00
MAX_TONNAGE: 320
2026-04-16 11:51:18 +00:00
ui:
title: Force Monitor
2026-04-23 10:09:40 +00:00
subtitle: Siemens S7-1215C • Piezo peak/stroke input • PLC values in % • kN calculated from MAX_TONNAGE
2026-04-16 11:51:18 +00:00
left_label: LEVI STEBER
right_label: DESNI STEBER
unit_force: kN
unit_percent: '%'
2026-04-23 10:09:40 +00:00
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