You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(mqtt-bridge): add device loading from config (#341)
Add support for loading devices from configuration files in mqtt-bridge CLI.
This enables declarative device configuration for E2E testing, Docker/Kubernetes
deployments, and simple CLI usage without requiring programmatic device addition.
Changes:
- Add optional devices array to MqttBridgeConfig interface
- Extend config validator to validate devices array using deviceConfigSchema
- Load devices sequentially after bridge starts in CLI
- Add comprehensive configuration examples to README
Benefits:
- Eliminates wrapper scripts for E2E testing
- Simplifies Docker/K8s deployments with declarative config
- Better user experience with single config file
- Perfect backward compatibility (devices field is optional)
Closes#337
0 commit comments