Skip to content

Commit

Permalink
add code
Browse files Browse the repository at this point in the history
  • Loading branch information
chukie-clt committed Oct 16, 2023
1 parent a5da50f commit 6e74aaa
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions action.js
Original file line number Diff line number Diff line change
Expand Up @@ -609,26 +609,27 @@ var getActionDefinitions = function (self) {
}
}

// cmd = [
// '0x50',
// '0x10',
// '0x00',
// '0x13',
// '0x00',
// '0x00',
// '0x00',
// deviceIdArr[0],
// deviceIdArr[1],
// '0x02',
// '0x00',
// '0x00',
// '0x00',
// '0x00',
// '0x00',
// '0x00',
// '0x00',
// presetStr
// ]
cmd = [
'0x07',
'0x10',
'0x03',
'0x13',
'0x00',
'0x00',
'0x00',
deviceIdArr[0],
deviceIdArr[1],
'0x00',
'0x00',
'0x00',
'0x00',
'0x00',
'0x00',
'0x00',
'0x00',
presetStr,
'0x00'
]

if (self.config.deviceType == 'Z-Protocol') {
cmd = []
Expand Down

0 comments on commit 6e74aaa

Please sign in to comment.