here we go…
tested “alarm/triggered”
Type number : alarmTriggered "Alarm triggered" [ stateTopic="instar/10D1DC21AABB/status/alarm/triggered", transformationPattern="JSONPATH:$.val", qos=1 ]
Number Kamera_EG_alarmTriggered "Alarm ausgelöst [%s]" (gCamera_Eingang) {channel="mqtt:topic:localhost:10D1DC21AABB:alarmTriggered"}
What is working - but:
Kamera_EG_alarmTriggered changed from 6 to 2
Which means, openHAB is only detecting a triggered alarm on change, not on update.
So if the same area is triggered two times or more often only the first alarm is showing up, until another area is triggered.
Same behavior if i use “String” instead of “Number”.