Skip to content

watlowlib.config

Defaults — process-wide defaults for I/O timeout, drain idle, and default Std Bus baud. Most callers do not touch this module directly; open_device and the WatlowManager thread the values through.

Public surface

watlowlib.config

Library defaults read once at import time.

Timeouts and retry counts are kept here so callers can adjust them without monkey-patching deeper modules. Values match the captures used to build docs/protocol-stdbus-findings.md against an EZ-ZONE PM3.

Defaults dataclass

Defaults(
    io_timeout_s=1.0, drain_idle_s=0.05, stdbus_baud=38400
)

Library-wide default values.