Skip to content

Commit

Permalink
Decode wall thermostat device data
Browse files Browse the repository at this point in the history
See #14, #15
  • Loading branch information
ivesdebruycker committed Jan 11, 2017
1 parent d0295a5 commit ad94108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maxcube-commandparser.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function decodeDevice (payload) {
switch (payload[0]) {
case 8: deviceType = EQ3MAX_DEV_TYPE_PUSH_BUTTON; break;
case 11: deviceType = EQ3MAX_DEV_TYPE_THERMOSTAT; deviceStatus = decodeDeviceThermostat (payload); break;
case 12: deviceType = EQ3MAX_DEV_TYPE_WALLTHERMOSTAT; break;
case 12: deviceType = EQ3MAX_DEV_TYPE_WALLTHERMOSTAT; deviceStatus = decodeDeviceThermostat (payload); break;
default: deviceType = EQ3MAX_DEV_TYPE_UNKNOWN; break;
}

Expand Down

0 comments on commit ad94108

Please sign in to comment.