Open marian-t-web-de opened 2 weeks ago
Analysis: in adapter v.0.6.0 main.js module, using SamsungHJ API by sending a KEY in async function main() (line 359) following function will be called:
remote = { powerKey: 'KEY_POWER', send: (cmd, cn) => {
remoteHJ.sendKey(cmd);
cb && cb();
} };
Callback(?) cb/cb() is there not being defined. Changing in the call to:
send: (cmd, cb)
creates no more errors, KEY stays proceeded.
@Apollon77 if You confirm I'll include the change to last PR to pull it in v.6.0.1
Yes that seems like a typo ;-) "cn" vs "cb"
fixed 0.6.1
@marian-t-web-de Please retest with 0.6.1
No existing issues.
Description
SamsungHJ API: after succesfull sending a Key to TV error message in LOG appears:
Reproduction instruction
Start iobroker samsung-community adapter, send a KEY to TV using HJ API. KEY is proceeded but in iobroker log an error appears (see above):
Error executing command: KEY_MUTE: cb is not defined
JS-controller version
6.0.9
Node version
18.19.0