You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
562 B
YAML

cep:
bindings:
mqtt-eebus-alarm-generic:
enabled: true
in:
type: MQTT
match:
topicRegex: "^alarms/(?<site>[^/]+)/(?<department>[^/]+)/(?<deviceId>[^/]+)$"
extract:
tenant: "default"
# Accept both JSON and full <Datagram> XML payloads
parserRef: "eebusAlarm"
detectorRef: "passthroughEebusAlarm"
lifecyclePolicyRef: "default"
# Publish both a JSON alarm message and a full <Datagram> XML (useful for testing)
outputRefs: ["mqttMalisEebus", "mqttMalisEebusDatagramXml"]