This commit is contained in:
Jonas Bengtsson
2026-10-08 06:30:54 +02:00
parent 76b1cc5ccf
commit a1af8d68c9
12 changed files with 966 additions and 21 deletions
+13
View File
@@ -16,6 +16,19 @@ tags:
- { name: "Channel1.Device1.Counter", expect_change: true } # D13 frozen-value detection applies
- { name: "Channel1.Device1.Level" }
# D16 device-link indicators: tags saying whether the OPC server can reach the
# device. DOWN (= DEVICE_LINK_DOWN, CRITICAL, clear-text status in the log) when
# the tag reads non-GOOD, errors, or its GOOD value is NOT in ok_values.
# ok_values defaults to [true] (boolean connected-flags); set it per system
# convention: inverted fault flags -> [false, 0], string states -> ["RUN"].
# Compared by string equality on the rendered value ("True"/"1"/"RUN").
# Do NOT also list these under tags: - they are polled automatically.
devices:
- { name: "Conveyor 3", tag: "Channel1.Device3.Connected" } # ok: true/1
- { name: "Conveyor 4", tag: "Channel1.Device4.Connected", ok_values: [true, 1] }
- { name: "Pump A", tag: "Channel1.PumpA.Fault", ok_values: [false, 0] } # inverted: 0 = ok
- { name: "Boiler 2", tag: "Channel1.Boiler2.State", ok_values: ["RUN"] }
latency:
warn_ms: 1000 # D4 single-spike threshold
critical_ms: 5000 # D5 sustained-slow severity