Commit Graph

15 Commits

Author SHA1 Message Date
znetsixe
43a5bf5468 P11.5 + B2.1/B2.2: per-command units + description (where applicable)
Adds  to scalar setters whose payloads are
plain numbers OR {value, unit}. Skipped where payload is compound or
mode-dependent (control-%, {F, C: [...]}, etc.) — documented inline.
Every command gains a description field for wikiGen consumption.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 17:41:16 +02:00
znetsixe
2af30c0bd8 fix(commands): restore child.register handler (alias registerChild)
Same fix as monster: P6.6 refactor dropped the case 'registerChild'
branch when extracting commands. Settler registers reactor + measurement
children — without this, Port 2 inbound handshakes were silently
ignored.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 16:04:32 +02:00
znetsixe
b8247fc755 P6: convert settler to platform infrastructure
Refactor of settler to use BaseNodeAdapter + commandRegistry + statusBadge.
settler follows the platform refactor plan in .claude/refactor/MODULE_SPLIT.md.
Tests stay green; CONTRACT.md generated; legacy aliases preserved.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 22:23:44 +02:00
znetsixe
518262ac98 Merge remote-tracking branch 'origin/main' into dev-Rene
# Conflicts:
#	settler.html
#	src/nodeClass.js
#	src/specificClass.js
2026-03-31 16:26:04 +02:00
root
9af42bdc4c Harden settler runtime and scaffold tests 2026-03-31 14:26:10 +02:00
Rene De Ren
fdfb9edf0d fix: replace console.log with logger for unknown topic warning
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 09:33:31 +01:00
Rene De Ren
417fad4ec3 refactor: adopt POSITIONS constants and fix ESLint warnings
Replace hardcoded position strings with POSITIONS.* constants.
Prefix unused variables with _ to resolve no-unused-vars warnings.
Fix no-prototype-builtins where applicable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:35:28 +01:00
Rene De Ren
8ae21ce787 Migrate _loadConfig to use ConfigManager.buildConfig()
Replaces manual base config construction with shared buildConfig() method.
Node now only specifies domain-specific config sections.

Part of #1: Extract base config schema

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 14:59:35 +01:00
Rene De Ren
5deb22b8da Fix ESLint errors and bugs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:39:57 +01:00
p.vanderwilt
9c98f1a139 Add warning for improper positioning and rename source assignment 2025-11-06 14:52:41 +01:00
p.vanderwilt
49eeafdcf9 Minor improvements and updates to fix changes due to fork 2025-10-31 13:47:19 +01:00
p.vanderwilt
93b67e607a Refactor settler node: remove unused inlet input and enhance effluent calculation logic 2025-10-24 15:00:57 +02:00
p.vanderwilt
efb99df107 Implement settler class with reactor, measurement and machine connection logic 2025-10-23 17:15:41 +02:00
p.vanderwilt
a6fe39891b Add register child function and fix whitespace 2025-10-22 16:22:33 +02:00
p.vanderwilt
51dc56cc85 Add initial implementation of the settler node for Node-RED
- Create package.json to define project metadata and dependencies
- Implement settler.html for the node's UI in Node-RED
- Add settler.js to register the settler node type and handle HTTP requests
- Introduce src/nodeClass.js for the settler node class functionality
- Define src/specificClass.js for settler-specific logic and utilities
2025-10-22 16:07:42 +02:00