Put this in config.yaml: a connector identity, one Modbus source, and a default DSL
transform.
connector:
name: "shop-floor-pilot"
push_endpoint: "https://api.opex.mx/ingest"
hmac_secret: "${OPEXMX_HMAC_SECRET}"
health_check_port: 3000
adapters:
modbus:
enabled: true
devices:
- id: "fanuc-01"
host: "192.168.1.10"
port: 502
registers: [ ... ]
transform:
enabled: true
default:
backend: "dsl"
script_inline: |
when metadata.temp > 80 || metadata.vib > 5.0
set metadata.alert = metadata.temp > 80 || metadata.vib > 5.0export OPEXMX_HMAC_SECRET=change-me
./target/release/opex-flow config.yamlOpen the canvas UI at http://localhost:3000. Every polled record now runs through the
DSL before fanning out to your sinks.