diff --git a/doorbird/README.md b/doorbird/README.md index 05134aea..36130e22 100644 --- a/doorbird/README.md +++ b/doorbird/README.md @@ -12,10 +12,12 @@ This plugin integrates DoorBird video doorbells into nymea. All the communicatio * Switching door relays * No internet connection required +NOTE: This plug-in does not handle any video- or audio stream. + ## Requirements * The DoorBird device must be in the same local area network as nymea. -* The router must not block avahi/zeroconf multicast messages. +* The router must not block ZeroConf/mDNS multicast messages. * TCP Sockets on port 80 must not be blocked by the router. * The user must have the permission to act as DoorBird API-operator. * You can check the permissions in the DoorBird app. @@ -23,4 +25,4 @@ This plugin integrates DoorBird video doorbells into nymea. All the communicatio ## More -https://www.doorbird.com/ +https://www.doorbird.com diff --git a/doorbird/doorbird.pro b/doorbird/doorbird.pro index 99666af5..7efb2342 100644 --- a/doorbird/doorbird.pro +++ b/doorbird/doorbird.pro @@ -2,8 +2,6 @@ include(../plugins.pri) QT += network -TARGET = $$qtLibraryTarget(nymea_integrationplugindoorbird) - SOURCES += \ integrationplugindoorbird.cpp \ doorbird.cpp \ diff --git a/doorbird/integrationplugindoorbird.cpp b/doorbird/integrationplugindoorbird.cpp index 85a5643a..ddce2f09 100644 --- a/doorbird/integrationplugindoorbird.cpp +++ b/doorbird/integrationplugindoorbird.cpp @@ -85,7 +85,7 @@ void IntegrationPluginDoorbird::discoverThings(ThingDiscoveryInfo *info) return; } else { qCWarning(dcDoorBird()) << "Cannot discover for ThingClassId" << info->thingClassId(); - info->finish(Thing::ThingErrorThingNotFound); + info->finish(Thing::ThingErrorThingClassNotFound); } } @@ -97,7 +97,7 @@ void IntegrationPluginDoorbird::startPairing(ThingPairingInfo *info) return; } else { qCWarning(dcDoorBird()) << "StartPairing unhandled ThingClassId" << info->thingClassId(); - info->finish(Thing::ThingErrorCreationMethodNotSupported); + info->finish(Thing::ThingErrorThingClassNotFound); } }