From b0884f88d7eb4397921399a57d77053273b47e07 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sat, 14 Sep 2019 02:10:25 +0200 Subject: [PATCH] Add closable, dpkg --- debian/control | 15 +++++++++++++++ tuya/deviceplugintuya.json | 28 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/debian/control b/debian/control index 5a9889fd..813808a2 100644 --- a/debian/control +++ b/debian/control @@ -579,6 +579,21 @@ Description: nymea.io plugin for tp-link Kasa devices This package will install the nymea.io plugin for tp-link Kasa devices +Package: nymea-plugin-tuya +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + nymea-plugins-translations, +Description: nymea.io plugin for Tuya cloud devices + 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 Tuya cloud devices + + Package: nymea-plugin-udpcommander Architecture: any Depends: ${shlibs:Depends}, diff --git a/tuya/deviceplugintuya.json b/tuya/deviceplugintuya.json index d572825d..9865d8cf 100644 --- a/tuya/deviceplugintuya.json +++ b/tuya/deviceplugintuya.json @@ -63,7 +63,35 @@ "writable": true } ] + }, + { + "id": "d4bb0170-596d-4904-8fd0-fd8e7ad39f72", + "name": "tuyaClosable", + "displayName": "Tuya blinds", + "createMethods": ["auto"], + "interfaces": ["blind", "connectable"], + "paramTypes": [ + { + "id": "b9b2bb1f-b44b-43d7-8bbb-e67cf1b5d0a0", + "name": "id", + "displayName": "ID", + "type": "QString", + "defaultValue": "" + } + ], + "stateTypes": [ + { + "id": "b5ac83c4-e1ff-4682-80f2-61cca097ed8f", + "name": "connected", + "displayName": "Connected", + "displayNameEvent": "Connected changed", + "type": "bool", + "defaultValue": false, + "cached": false + } + ] } + ] } ]