Skip to main content
Configuration lives under the top-level sqlite-replication: key in client YAML, plus MQTT connection: settings.

Connection block

Required for sync — see topics and connection. Optional JITR block under connection.jitr — see JITR enrollment.

sqlite-replication fields

table_strategies example

Strategy values

Security capabilities

Enable module in security.capabilities:
Signed control should stay enabled in production:

Tables requirements

  • User tables must have explicit PRIMARY KEY (rowid-only tables are out of scope).
  • System tables (sqlite_*) and Omega internals (__omega_*) are excluded automatically.
  • After DDL migrations, restart Omega to reinstall triggers.

Persistent state (state.db)

Omega stores per table: Loss of state.db without backup can cause duplicate publishes (server dedupes) or cursor confusion — treat as part of device backup strategy.

Validation

Module discovery

Omega auto-enrolls all non-system tables when table_strategies omits a table, and the default strategy is rows. Narrow with explicit ignore rules for scratch tables and set telemetry explicitly where needed.