From 179dbef0e2f46d67394c0c5d03768b4dfbda348a Mon Sep 17 00:00:00 2001 From: Manuel Pietschmann Date: Mon, 14 Jan 2019 21:03:50 +0100 Subject: [PATCH] Support Climax smart plug PSMP5 (also used by Bitron and Lupus) Issue https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1082 --- bindings.cpp | 1 + de_web_plugin.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/bindings.cpp b/bindings.cpp index 7d95611d7b..3049b7d104 100644 --- a/bindings.cpp +++ b/bindings.cpp @@ -1409,6 +1409,7 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso sensor->modelId().startsWith(QLatin1String("IR_")) || sensor->modelId().startsWith(QLatin1String("DC_")) || sensor->modelId().startsWith(QLatin1String("PSMD_")) || + sensor->modelId().startsWith(QLatin1String("PSMP5_")) || // Philips sensor->modelId() == QLatin1String("SML001") || sensor->modelId().startsWith(QLatin1String("RWL02")) || diff --git a/de_web_plugin.cpp b/de_web_plugin.cpp index 3984a87381..d2b78f86e1 100644 --- a/de_web_plugin.cpp +++ b/de_web_plugin.cpp @@ -104,6 +104,7 @@ static const SupportedDevice supportedDevices[] = { { VENDOR_NONE, "DC_", tiMacPrefix }, { VENDOR_NONE, "BX_", tiMacPrefix }, // Climax siren { VENDOR_NONE, "PSMD_", tiMacPrefix }, // Climax smart plug + { VENDOR_NONE, "PSMP5_", tiMacPrefix }, // Climax smart plug { VENDOR_NONE, "OJB-IR715-Z", tiMacPrefix }, { VENDOR_NONE, "902010/21", tiMacPrefix }, // Bitron: door/window sensor { VENDOR_NONE, "902010/22", tiMacPrefix }, // Bitron: motion sensor