debian: package the SunSpec plugin as nymea-plugin-sunspec-etm01

The plugin was added to PLUGIN_DIRS by the vendoring commit but never
packaged, so dh_missing found its .so in debian/tmp with nowhere to go
and aborted the whole source package: no .deb at all came out of
experimental-silo, not even for the four unrelated plugins.

Declares the binary package and adds libnymea-sunspec-dev to
Build-Depends. Upstream does not need that dependency because it builds
libnymea-sunspec from the same source tree; this repository vendors only
the plugin and links against the installed library.

Named with the -etm01 fork suffix rather than the upstream name, which
our own repository already publishes in stable and testing as a mirror
of 1.15.2. Same file path and same pluginId, hence Conflicts, Replaces
and Provides against nymea-plugin-sunspec so the two can never be
installed side by side.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Patrick Schurig 2026-08-02 11:52:10 +02:00
parent 5a6ad8a2e2
commit 405b764463
2 changed files with 24 additions and 0 deletions

23
debian/control vendored
View File

@ -10,6 +10,7 @@ Build-Depends: debhelper,
libnymea-dev,
nymea-dev-tools:native,
libnymea-modbus-dev,
libnymea-sunspec-dev,
qt6-base-dev,
qt6-base-dev-tools,
qt6-serialport-dev,
@ -53,3 +54,25 @@ Description: PowerSync integration plugin for V2C Trydan EV charger (Modbus TCP)
system. Implements the evcharger interface: charge enable/disable, current
setpoint, plugged-in / charging state, house and solar power telemetry.
Status: Partial — not yet validated on real hardware.
Package: nymea-plugin-sunspec-etm01
Architecture: any
Section: libs
Depends: ${shlibs:Depends},
${misc:Depends},
Conflicts: nymea-plugin-sunspec
Replaces: nymea-plugin-sunspec
Provides: nymea-plugin-sunspec
Description: SunSpec Modbus devices, ETM fork with Fronius support - vendored
nymea integration plugin for SunSpec compatible solar inverters, meters and
storage over Modbus TCP. ETM fork of the upstream plugin, adding the Fronius
vendor: a GEN24 answers for the inverter and for its Smart Meter on separate
unit IDs behind one host and port, so one connection thing carries two.
.
Ships the same plugin file and the same pluginId as the upstream
nymea-plugin-sunspec, which it therefore conflicts with and replaces. The
-etm01 suffix marks the fork; the name goes back to nymea-plugin-sunspec if
the Fronius vendor is ever merged upstream.
.
Status: Partial - verified against a SunSpec simulator only, never on a real
inverter.

View File

@ -0,0 +1 @@
usr/lib/*/nymea/plugins/libnymea_integrationpluginsunspec.so