Add position field and proper logging configuration

This commit is contained in:
2025-07-24 12:13:16 +02:00
parent 31d30c6db3
commit 5ec9319b3f
4 changed files with 17 additions and 3 deletions

View File

@@ -73,9 +73,14 @@ class nodeClass {
general: {
name: uiConfig.name || this.name,
id: this.node.id,
unit: null
unit: null,
logging: {
enabled: uiConfig.enableLog,
logLevel: uiConfig.logLevel
}
},
functionality: {
positionVsParent: uiConfig.positionVsParent || 'atEquipment', // Default to 'atEquipment' if not specified
softwareType: "reactor" // should be set in config manager
},
reactor_type: uiConfig.reactor_type,