From 851a28859ec204a887c514d0c6a7ce6a4d8c5387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Fri, 10 Jan 2020 13:49:38 +0100 Subject: [PATCH 1/2] Add USB relay plugin --- nymea-plugins.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/nymea-plugins.pro b/nymea-plugins.pro index b24bdf2..14118db 100644 --- a/nymea-plugins.pro +++ b/nymea-plugins.pro @@ -51,6 +51,7 @@ PLUGIN_DIRS = \ udpcommander \ unifi \ unitec \ + usbrelay \ wakeonlan \ wemo \ ws2812fx \ From 2aa1f8f863fc5406eb7cb64f22cf37c7f88a38cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Fri, 10 Jan 2020 13:53:39 +0100 Subject: [PATCH 2/2] Add USB relay plugin to debian packaging --- debian/control | 20 ++++++++++++++++++++ debian/copyright | 1 + debian/nymea-plugin-usbrelay.install.in | 1 + 3 files changed, 22 insertions(+) create mode 100644 debian/nymea-plugin-usbrelay.install.in diff --git a/debian/control b/debian/control index 9984ff4..c2fd8b2 100644 --- a/debian/control +++ b/debian/control @@ -15,6 +15,8 @@ Build-depends: libboblight-dev, qtconnectivity5-dev, libow-dev, libsodium-dev, + libudev-dev, + libhidapi-dev, Standards-Version: 3.9.3 @@ -642,6 +644,23 @@ Description: nymea.io plugin for unitec This package will install the nymea.io plugin for unitec +Package: nymea-plugin-usbrelay +Architecture: any +Multi-Arch: same +Section: libs +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libudev1, + libhidapi-hidraw0, +Description: nymea.io plugin for USB relay + The nymea daemon is a plugin based IoT (Internet of Things) server. The + server works like a translator for devices, things and services and + allows them to interact. + With the powerful rule engine you are able to connect any device available + in the system and create individual scenes and behaviors for your environment. + . + This package will install the nymea.io plugin for USB relay + Package: nymea-plugin-wakeonlan Architecture: any @@ -907,6 +926,7 @@ Depends: nymea-plugin-anel, nymea-plugin-sonos, nymea-plugin-keba, nymea-plugin-unifi, + nymea-plugin-usbrelay, Replaces: guh-plugins Description: Plugins for nymea IoT server - the default plugin collection The nymea daemon is a plugin based IoT (Internet of Things) server. The diff --git a/debian/copyright b/debian/copyright index ae9f1c2..b8fb212 100644 --- a/debian/copyright +++ b/debian/copyright @@ -59,6 +59,7 @@ Files: avahimonitor/* senic/* udpcommander/* unitec/* + usbrelay/* wemo/* License: LGPL-2.1 Copyright: 2014-2017, Simon Stürz diff --git a/debian/nymea-plugin-usbrelay.install.in b/debian/nymea-plugin-usbrelay.install.in new file mode 100644 index 0000000..e2a5e0d --- /dev/null +++ b/debian/nymea-plugin-usbrelay.install.in @@ -0,0 +1 @@ +usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginusbrelay.so