From 405b764463fa516eb0ee066423446456c077f54f Mon Sep 17 00:00:00 2001 From: Patrick Schurig Date: Sun, 2 Aug 2026 11:52:10 +0200 Subject: [PATCH] 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) --- debian/control | 23 +++++++++++++++++++++++ debian/nymea-plugin-sunspec-etm01.install | 1 + 2 files changed, 24 insertions(+) create mode 100644 debian/nymea-plugin-sunspec-etm01.install diff --git a/debian/control b/debian/control index af1073f..465f302 100644 --- a/debian/control +++ b/debian/control @@ -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. diff --git a/debian/nymea-plugin-sunspec-etm01.install b/debian/nymea-plugin-sunspec-etm01.install new file mode 100644 index 0000000..40c427d --- /dev/null +++ b/debian/nymea-plugin-sunspec-etm01.install @@ -0,0 +1 @@ +usr/lib/*/nymea/plugins/libnymea_integrationpluginsunspec.so