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.
31 lines
970 B
YAML
31 lines
970 B
YAML
cep:
|
|
bindings:
|
|
# MQTT ingress topics: <port>/<app>/<tenant>/<pin>
|
|
# Example: 40200/m2m/tenantA/1
|
|
mqttM2mPinErpnextComposite:
|
|
enabled: true
|
|
in:
|
|
type: MQTT
|
|
match:
|
|
topicRegex: "^(?<deviceId>[^/]+)/(?<app>[^/]+)/(?<tenant>[^/]+)/(?<pin>[^/]+)$"
|
|
# Extracted group vars: port, app, tenant, pin
|
|
parserRef: m2mPinUpdateErpnext
|
|
detectorRef: pinBadState
|
|
|
|
lifecyclePolicyRef: compositeDefault
|
|
|
|
composite:
|
|
groupKeyTemplate: "${site}|${department}|Pumpensumpf" # function should be specified in configuration "${site}|${department}|${function}"
|
|
sourceKeyTemplate: "${path}" # or "${port}/${app}/${tenant}/${pin}"
|
|
|
|
outputRefs:
|
|
# Publishes EEBUS-like <Datagram> XML to MQTT using the templates in config/cep/common.yml
|
|
- restMalisFault
|
|
- outboxMalisFaultJson
|
|
|
|
heartbeat:
|
|
enabled: true
|
|
periodMs: 600000
|
|
includeInactive: true
|
|
|