Skip to content

Commit

Permalink
Added support for barrier operators
Browse files Browse the repository at this point in the history
This is a fix from another fork that allows linear garage door openers to work.
  • Loading branch information
Brent Hughes committed Mar 18, 2017
1 parent ba258fa commit bd89059
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zwavelib.cpp
Expand Up @@ -225,6 +225,8 @@ const char *cclassStr (uint8 cc)
return "DOOR LOCK";
case 0x63:
return "USER CODE";
case 0x66:
return "BARRIER OPERATOR";
case 0x70:
return "CONFIGURATION";
case 0x71:
Expand Down Expand Up @@ -393,6 +395,8 @@ uint8 cclassNum (char const *str)
return 0x62;
else if (strcmp(str, "USER CODE") == 0)
return 0x63;
else if (strcmp(str, "BARRIER OPERATOR") == 0)
return 0x66;
else if (strcmp(str, "CONFIGURATION") == 0)
return 0x70;
else if (strcmp(str, "ALARM") == 0)
Expand Down

0 comments on commit bd89059

Please sign in to comment.