Skip to content

Commit

Permalink
Merge pull request #5023 from SwoopX/CCT595011_AS
Browse files Browse the repository at this point in the history
Add initial support for LK Wiser Motion Sensor CCT595011_AS
  • Loading branch information
manup committed Jun 28, 2021
2 parents 4ebd974 + 8953a95 commit 07ebfb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bindings.cpp
Expand Up @@ -1757,6 +1757,7 @@ bool DeRestPluginPrivate::sendConfigureReportingRequest(BindingTask &bt)
modelId == QLatin1String("CCT592011_AS") || // LK Wiser Water Leak Sensor
modelId.startsWith(QLatin1String("S57003")) || // SLC switches
modelId == QLatin1String("CCT593011_AS") || // LK Wiser Temperature and Humidity Sensor
modelId == QLatin1String("CCT595011_AS") || // LK Wiser Motion Sensor
modelId.startsWith(QLatin1String("FNB56-")) || // Feibit devices
modelId.startsWith(QLatin1String("FB56-"))) // Feibit devices
{
Expand Down Expand Up @@ -2988,6 +2989,7 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso
sensor->modelId() == QLatin1String("CCT591011_AS") ||
sensor->modelId() == QLatin1String("CCT592011_AS") ||
sensor->modelId() == QLatin1String("CCT593011_AS") ||
sensor->modelId() == QLatin1String("CCT595011_AS") ||
// Immax
sensor->modelId() == QLatin1String("Plug-230V-ZB3.0") ||
sensor->modelId() == QLatin1String("4in1-Sensor-ZB3.0") ||
Expand Down
2 changes: 2 additions & 0 deletions de_web_plugin.cpp
Expand Up @@ -492,6 +492,7 @@ static const SupportedDevice supportedDevices[] = {
{ VENDOR_SCHNEIDER, "CCT592011_AS", emberMacPrefix }, // LK Wiser Water Leak Sensor
{ VENDOR_SCHNEIDER, "iTRV", silabs3MacPrefix }, // Drayton Wiser Radiator Thermostat
{ VENDOR_SCHNEIDER, "CCT593011_AS", emberMacPrefix }, // LK Wiser Temperature and Humidity Sensor
{ VENDOR_SCHNEIDER, "CCT595011_AS", emberMacPrefix }, // LK Wiser Motion Sensor
{ VENDOR_DANFOSS, "eTRV0100", silabs2MacPrefix }, // Danfoss Ally thermostat
{ VENDOR_DANFOSS, "0x8020", silabs6MacPrefix }, // Danfoss RT24V Display thermostat
{ VENDOR_DANFOSS, "0x8021", silabs6MacPrefix }, // Danfoss RT24V Display thermostat with floor sensor
Expand Down Expand Up @@ -5419,6 +5420,7 @@ void DeRestPluginPrivate::addSensorNode(const deCONZ::Node *node, const deCONZ::
modelId == QLatin1String("motion") || // Samjin motion sensor
modelId == QLatin1String("ZB-MotionSensor-D0003") || // Linkind motion sensor
modelId == QLatin1String("3041") || // NYCE motion sensor
modelId == QLatin1String("CCT595011_AS") || // LK Wiser Motion Sensor
modelId.startsWith(QLatin1String("902010/22")) || // Bitron motion sensor
modelId.startsWith(QLatin1String("SN10ZW")) || // ORVIBO motion sensor
modelId.startsWith(QLatin1String("MOSZB-1")) || // Develco motion sensor
Expand Down

0 comments on commit 07ebfb0

Please sign in to comment.