Skip to content

Commit

Permalink
Make Samsung devices visible in rest
Browse files Browse the repository at this point in the history
Button triggers websocket notifications in rest api, but single, double and hold still aren’t distinguishable from each other.
dresden-elektronik#993
dresden-elektronik#946
  • Loading branch information
mysteryan authored Dec 12, 2018
1 parent 81fbd2d commit 876af0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions de_web_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ const quint64 osramMacPrefix = 0x8418260000000000ULL;
const quint64 bjeMacPrefix = 0xd85def0000000000ULL;
const quint64 xalMacPrefix = 0xf8f0050000000000ULL;
const quint64 lutronMacPrefix = 0xffff000000000000ULL;
const quint64 samjinMacPrefix = 0xffff000000000000ULL;

struct SupportedDevice {
quint16 vendorId;
Expand Down Expand Up @@ -170,6 +171,8 @@ static const SupportedDevice supportedDevices[] = {
{ VENDOR_JENNIC, "ZYCT-202", jennicMacPrefix }, // Trust remote control ZYCT-202
{ VENDOR_INNR, "RC 110", jennicMacPrefix }, // innr remote RC 110
{ VENDOR_VISONIC, "MCT-340", emberMacPrefix }, // Visonic MCT-340 E temperature/motion
{ VENDOR_SAMJIN, "button", samjinMacPrefix }, // Samsung SmartThings Button
{ VENDOR_SAMJIN, "water", samjinMacPrefix }, // Samsung Leak Sensor
{ 0, nullptr, 0 }
};

Expand Down

0 comments on commit 876af0f

Please sign in to comment.