Updates a specific configuration property value.
The configuration property key to update
The new value to set for the property
await systemConfig.updateProperty('debugMode', true);
await systemConfig.updateProperty('machineId', 'MACHINE-001');
Retrieves schema definition for a specific property.
Property key to get schema for
Schema definition if found, undefined otherwise
const schema = systemConfig.getSchemaForProperty('debugMode');
if (schema) {
console.log('Type:', schema.type);
console.log('Description:', schema.description);
}
Unique identifier for this configuration model instance
Hierarchical configuration path (e.g., 'system:app', 'kos:service:CANPumpMgr')
Observable configuration properties with current values
Observable configuration properties with previous values (before last update)
Optional serviceOptional custom base path for configuration service endpoints
ConfigBean - Reactive hierarchical configuration management for KOS devices.
The ConfigBean model provides reactive access to hierarchical configuration data from KOS devices with real-time synchronization via WebSocket topics, schema-based validation, and transactional updates. Essential for building configuration interfaces and managing device operational parameters.
Key Features
/kos/config/{path}WebSocket topicConfiguration Path Patterns
ConfigBean supports hierarchical paths that mirror device system organization:
system:app- Machine identity, operational modeskos:service:CANPumpMgr- KOS service configurationsassembly:core:board:macro:pump:water- Component settingsapp:scheduling:dayWiseLockConfigMap- Application-specific settingsCommon Use Cases
Example: Basic Configuration Management
Use Declared Type
See