Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial support for LK Wiser Motion Sensor CCT595011_AS #5023

Merged
merged 1 commit into from Jun 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions bindings.cpp
Expand Up @@ -1756,6 +1756,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 @@ -2986,6 +2987,7 @@ bool DeRestPluginPrivate::checkSensorBindingsForAttributeReporting(Sensor *senso
// LK Wiser
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 @@ -491,6 +491,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 @@ -5449,6 +5450,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