Add basic support for Konke sensors (see
It does work partially on my system, somehow the `IAS_CIE_ADDRESS` doesn't
get set automatically. After manually setting that, at least my door/window sensor works.
@@ -88,6 +88,7 @@ const quint64 energyMiMacPrefix = 0xd0cf5e0000000000ULL;
const quint64 bjeMacPrefix = 0xd85def0000000000ULL;
const quint64 xalMacPrefix = 0xf8f0050000000000ULL;
const quint64 lutronMacPrefix = 0xffff000000000000ULL;
+const quint64 konkeMacPrefix = 0x086bd70000000000ULL;
struct SupportedDevice {
quint16 vendorId;
@@ -198,6 +199,9 @@ static const SupportedDevice supportedDevices[] = {
{ VENDOR_NONE, "RES001", tiMacPrefix }, // Hubitat environment sensor, see #1308
{ VENDOR_119C, "WL4200S", sinopeMacPrefix}, // Sinope water sensor
{ VENDOR_DEVELCO, "SMSZB-120", develcoMacPrefix }, // Develco smoke sensor
+ { VENDOR_EMBER, "3AFE14010402000D", konkeMacPrefix }, // Konke Kit Pro-BS Motion Sensor
+ { VENDOR_EMBER, "3AFE140103020000", konkeMacPrefix }, // Konke Kit Pro-FT Temp Humidity Sensor
+ { VENDOR_EMBER, "3AFE130104020015", konkeMacPrefix }, // Konke Kit Pro-Door Entry Sensor
{ 0, nullptr, 0 }
};
@@ -3608,11 +3612,13 @@ void DeRestPluginPrivate::addSensorNode(const deCONZ::Node *node, const deCONZ::
fpCarbonMonoxideSensor.inClusters.push_back(ci->id());
}
else if (modelId.startsWith(QLatin1String("DOOR_")) || // Heiman door/window sensor
+ modelId == QLatin1String("3AFE130104020015") || // Konke door/window sensor
modelId.startsWith(QLatin1String("902010/21"))) // Bitron door/window sensor
{
fpOpenCloseSensor.inClusters.push_back(ci->id());
}
else if (modelId.startsWith(QLatin1String("PIR_")) || // Heiman motion sensor
+ modelId == QLatin1String("3AFE14010402000D") || // Konke motion sensor
modelId.startsWith(QLatin1String("902010/22"))) // Bitron motion sensor
{
fpPresenceSensor.inClusters.push_back(ci->id());
