feat(settings): add modbus and relay configuration structs

Add ModbusSettings with host, port, slave_id, and timeout_secs fields.
Add RelaySettings with label_max_length field.
Integrate both into Settings struct and load from settings/base.yaml
with test Modbus TCP configuration.

Ref: T003 (specs/001-modbus-relay-control)
This commit is contained in:
2026-01-01 14:54:35 +01:00
parent 9bae638bd2
commit 10f31ea90d
4 changed files with 65 additions and 5 deletions

View File

@@ -6,3 +6,12 @@ rate_limit:
enabled: true
burst_size: 10
per_seconds: 60
modbus:
host: "192.168.0.200"
port: 502
slave_id: 0
timeout_secs: 5
relay:
label_max_length: 8