-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
Fixes for Herdsman 2.x.x #2255
Fixes for Herdsman 2.x.x #2255
Conversation
Fix: Delete Device Fix: Enumerate Group Members Part Fix: Scan Channels
} | ||
} | ||
if (!devStates) { | ||
if (has_debug) this.error(`ELEVATED publishToState: no device states for device ${devId} type '${model}'`) |
Check notice
Code scanning / CodeQL
Semicolon insertion Note
the enclosing function
@@ -11,6 +12,7 @@ | |||
const DeviceEventExt = require('./zbDeviceEvent'); | |||
const DelayedActionExt = require('./zbDelayedAction'); | |||
const utils = require('./utils'); | |||
const { waitForDebugger } = require('inspector'); |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
const result = await energyScan.start().promise; | ||
return result.payload; | ||
|
||
const BLANK_EUI64 = "0xFFFFFFFFFFFFFFFF"; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
return result.payload; | ||
|
||
const BLANK_EUI64 = "0xFFFFFFFFFFFFFFFF"; | ||
const SLEEPY = 0xffff; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
let payload = ZDO.Buffalo.buildRequest(false, clusterId, [11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26], 0x05, undefined, 0, undefined); | ||
this.warn(`Payload is [${JSON.stringify(payload)}]`); | ||
result = await this.herdsman.adapter.sendZdo(0x0, 0x0, clusterId , payload, false); | ||
this.warn(`result is ${JSON.stringify(result)}`) |
Check notice
Code scanning / CodeQL
Semicolon insertion Note
the enclosing function
@@ -706,12 +718,15 @@ | |||
if (!c.hasOwnProperty('key') && c.hasOwnProperty('convertSet') && converter === undefined) | |||
{ | |||
converter = c; | |||
|
|||
if (has_elevated_debug) this.log.warn(`ELEVATED: setting converter to keyless converter for ${deviceID} of type ${model}`) |
Check notice
Code scanning / CodeQL
Semicolon insertion Note
the enclosing function
this.log.debug('setting converter to keyless converter') | ||
continue; | ||
} | ||
if (c.key.includes(stateDesc.prop) || c.key.includes(stateDesc.setattr) || c.key.includes(stateDesc.id)) | ||
{ | ||
this.log.debug(`${(converter===undefined?'Setting':'Overriding')}' converter to converter with key(s)'${JSON.stringify(c.key)}}`) | ||
if (has_elevated_debug) this.log.warn(`ELEVATED: ${(converter===undefined?'Setting':'Overriding')}' converter to converter with key(s)'${JSON.stringify(c.key)}}`) |
Check notice
Code scanning / CodeQL
Semicolon insertion Note
Fix group member display
Fix group delete
Fix device delete
Fix group member edit
Fix crash on channel scan. Note; Channel scan still defunct, but no longer crashes the adapter