Skip to content

Quick start

Stand up a connector identity, one Modbus source, and a default DSL transform, then watch records flow through the canvas UI.

Updated View as Markdown

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.0
export OPEXMX_HMAC_SECRET=change-me
./target/release/opex-flow config.yaml

Open the canvas UI at http://localhost:3000. Every polled record now runs through the DSL before fanning out to your sinks.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close