You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The signed channel publishes every driver unable to control anything #30
tools/ftw_repository.py makes every published artifact write-inert: it replaces host.modbus_write, host.mqtt_pub and the rest with a function that raises, and overwrites driver_command and driver_default_mode after the source loads. The manifest then marks all 80 drivers read_only: true, control_enabled: false.
The bundled copy has none of that. Since #673 FTW bundles a pinned snapshot of this repo, so the same source file can drive a battery when it ships with the build and cannot when it is downloaded from the channel.
The manifests were no help either: 16 of 18 battery drivers carry a working driver_command while their catalog manifest still says control: false. The control logic was ported; the manifest never caught up.
So the code should decide. A driver that has driver_command is published with its control path intact and the write permissions for its protocol. A driver that declares read_only in its own DRIVER table — a meter or a telemetry gateway saying what it is — keeps the write guards, and that statement outranks everything else.
FTW also has to stop refusing them: directManifestRuntimePolicy returns an error for any device-drivers artifact that is not read-only.
Activity
feat: publish drivers with the control path they were ported with
feat: publish drivers with the control path they were ported with (sr…