Command line

dotnet rPDU2MQTT.dll (the container entry point).

Argument What it does
--emit-schema Print the configuration schema the GUI renders from, as JSON, and exit. The settings reference is generated from it.
--emit-crd Print the generated RpduConfig CustomResourceDefinition, as YAML, and exit.
--role <roles> Which roles this process runs. Same as RPDU2MQTT_ROLE.

Roles

One role or a list separated by commas, spaces or semicolons, e.g. api,ui. Unset or unrecognised runs everything.

Value Role
all Everything (the default).
worker, engine, data Polls sources and publishes.
api The REST API.
ui, gui, web The web GUI.
operator, op The Kubernetes operator.

The Helm chart sets roles when split.enabled is on (Helm chart).

Regenerating the settings reference

dotnet rPDU2MQTT.dll --emit-schema > schema.json
python3 docs-site/generate-settings.py schema.json