NEWS
Onkyo
-
Из виза регулирую громкость, переменная меняется но подтверждение false. в vis - onkyo.0.volume прописал вручную, так как в списке нету их, писал выше.
-
Спасибо за логи. Разобрался более менее, как это должно работать.
Можешь выполнить следующее в /opt/iobroker
./iobroker del onkyo npm install https://github.com/ioBroker/ioBroker.onkyo/tarball/master ./iobroker add onkyo
Потом сконфигурировать драйвер снова в admin, выставить debug level на "debug" и запустить.
-
Спасибо за логи. Разобрался более менее, как это должно работать.
Можешь выполнить следующее в /opt/iobroker
./iobroker del onkyo npm install https://github.com/ioBroker/ioBroker.onkyo/tarball/master ./iobroker add onkyo
Потом сконфигурировать драйвер снова в admin, выставить debug level на "debug" и запустить. `
Переставил, в логе каждую секунду приходит статус о смене времени проигрования ( на ресивере играет интренет радио). Громкость так и не регулирует! onkyo-0 2015-05-07 20:46:22 info stateChange onkyo.0.command {"val":"NTM09:13/–:--","ack":true,"ts":1431006382,"from":"system.adapter.onkyo.0","lc":1431006382}
! onkyo-0 2015-05-07 20:46:22 debug Received: command[NTM09:13/–:--]
! onkyo-0 2015-05-07 20:46:22 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-07 20:46:22 info Got message: {"command":"net-usb-time-info","iscp_command":"NTM09:13/–:--"}
! onkyo-0 2015-05-07 20:46:21 info stateChange onkyo.0.command {"val":"NTM09:12/--:--","ack":true,"ts":1431006381,"from":"system.adapter.onkyo.0","lc":1431006381}
! onkyo-0 2015-05-07 20:46:21 debug Received: command[NTM09:12/–:--]
! onkyo-0 2015-05-07 20:46:21 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-07 20:46:21 info Got message: {"command":"net-usb-time-info","iscp_command":"NTM09:12/–:--"}
! onkyo-0 2015-05-07 20:46:20 info stateChange onkyo.0.command {"val":"NTM09:11/--:--","ack":true,"ts":1431006380,"from":"system.adapter.onkyo.0","lc":1431006380}
! onkyo-0 2015-05-07 20:46:20 debug Received: command[NTM09:11/–:--]
! onkyo-0 2015-05-07 20:46:20 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-07 20:46:20 info Got message: {"command":"net-usb-time-info","iscp_command":"NTM09:11/–:--"}
! onkyo-0 2015-05-07 20:46:19 info stateChange onkyo.0.command {"val":"NTM09:10/--:--","ack":true,"ts":1431006379,"from":"system.adapter.onkyo.0","lc":1431006379}
! onkyo-0 2015-05-07 20:46:19 debug Received: command[NTM09:10/–:--]
! onkyo-0 2015-05-07 20:46:19 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-07 20:46:19 info Got message: {"command":"net-usb-time-info","iscp_command":"NTM09:10/–:--"}
! onkyo-0 2015-05-07 20:46:18 info stateChange onkyo.0.command {"val":"NTM09:09/--:--","ack":true,"ts":1431006378,"from":"system.adapter.onkyo.0","lc":1431006378}
! onkyo-0 2015-05-07 20:46:18 debug Received: command[NTM09:09/–:--]
! onkyo-0 2015-05-07 20:46:18 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-07 20:46:18 info Got message: {"command":"net-usb-time-info","iscp_command":"NTM09:09/–:--"}
! onkyo-0 2015-05-07 20:46:17 info stateChange onkyo.0.command {"val":"NTM09:08/--:--","ack":true,"ts":1431006377,"from":"system.adapter.onkyo.0","lc":1431006377}
! onkyo-0 2015-05-07 20:46:17 debug Received: command[NTM09:08/–:--]
! onkyo-0 2015-05-07 20:46:17 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-07 20:46:17 info Got message: {"command":"net-usb-time-info","iscp_command":"NTM09:08/–:--"}
! onkyo-0 2015-05-07 20:46:16 info stateChange onkyo.0.command {"val":"NTM09:07/--:--","ack":true,"ts":1431006376,"from":"system.adapter.onkyo.0","lc":1431006376}
! onkyo-0 2015-05-07 20:46:16 debug Received: command[NTM09:07/–:--]
! onkyo-0 2015-05-07 20:46:16 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-07 20:46:16 info Got message: {"command":"net-usb-time-info","iscp_command":"NTM09:07/–:--"}
! onkyo-0 2015-05-07 20:46:15 info stateChange onkyo.0.command {"val":"NTM09:06/--:--","ack":true,"ts":1431006375,"from":"system.adapter.onkyo.0","lc":1431006375}
Хотя переменные ща видны в visКогда регулируешь громкость на ресивере, переменная меняется, похоже команды не уходят рессиверу или не правильные команды идут
! onkyo.0 2015-05-07 19:53:16 info onkyo.0 stateChange onkyo.0.command {"val":"MVL23","ack":true,"ts":1431006796,"from":"system.adapter.onkyo.0","lc":1431006796}
! onkyo.0 2015-05-07 19:53:16 debug inMem message onkyo.0.* onkyo.0.command
! onkyo.0 2015-05-07 19:53:16 info onkyo.0 stateChange onkyo.0.volume {"val":35,"ack":true,"ts":1431006796,"from":"system.adapter.onkyo.0","lc":1431006796}
! onkyo.0 2015-05-07 19:53:16 debug inMem message onkyo.0.* onkyo.0.volume
! onkyo.0 2015-05-07 19:53:16 info onkyo.0 stateChange onkyo.0.master-volume {"val":35,"ack":true,"ts":1431006796,"from":"system.adapter.onkyo.0","lc":1431006796}
! onkyo.0 2015-05-07 19:53:16 debug inMem message onkyo.0.* onkyo.0.master-volume
! onkyo.0 2015-05-07 19:53:16 debug onkyo.0 Received: command[MVL23]
! onkyo.0 2015-05-07 19:53:16 debug onkyo.0 Received: volume[35]
! onkyo.0 2015-05-07 19:53:16 debug onkyo.0 Received: master-volume[35]
! onkyo.0 2015-05-07 19:53:16 info onkyo.0 Got message: {"command":["master-volume","volume"],"argument":35,"iscp_command":"MVL23"}
! onkyo.0 2015-05-07 19:53:16 info onkyo.0 stateChange onkyo.0.command {"val":"NTM16:07/–:--","ack":true,"ts":1431006796,"from":"system.adapter.onkyo.0","lc":1431006796}
! onkyo.0 2015-05-07 19:53:16 debug inMem message onkyo.0.* onkyo.0.command
! onkyo.0 2015-05-07 19:53:16 debug onkyo.0 Received: command[NTM16:07/–:--]
! onkyo.0 2015-05-07 19:53:16 debug onkyo.0 Received: net-usb-time-info[undefined]
! onkyo.0 2015-05-07 19:53:16 info onkyo.0 Got message: {"command":"net-usb-time-info","iscp_command":"NTM16:07/–:--"}
! onkyo.0 2015-05-07 19:53:15 info onkyo.0 stateChange onkyo.0.command {"val":"MVL23","ack":true,"ts":1431006796,"from":"system.adapter.onkyo.0","lc":1431006796}
! onkyo.0 2015-05-07 19:53:15 debug inMem message onkyo.0.* onkyo.0.command
! onkyo.0 2015-05-07 19:53:15 info onkyo.0 stateChange onkyo.0.volume {"val":35,"ack":true,"ts":1431006796,"from":"system.adapter.onkyo.0","lc":1431006796}
! onkyo.0 2015-05-07 19:53:15 debug inMem message onkyo.0.* onkyo.0.volumeА это при попытки регулировки из vis :
! Нажмите Ctrl+A и Ctrl+C, что бы скопировать в буффер обмена и после этого нажмите мышкой в любом месте.
! onkyo.0 2015-05-07 19:55:03 error TypeError: Cannot read property 'native' of undefined at Object.utils.adapter.stateChange (c:\ioBroker\node_modules\iobroker.onkyo\onkyo.js:38:42) at Object.that.states.States.change (c:\ioBroker\node_modules\iobroker.js-controller\lib\adapter.js:1393:80) at Socket.StatesInMemClient.client.on.connectionTimeout (c:\ioBroker\node_modules\iobroker.js-controller\lib\statesInMemClient.js:45:30) at Socket.Emitter.emit (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\node_modules\component-emitter\index.js:134:20) at Socket.onevent (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\lib\socket.js:254:10) at Socket.onpacket (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\lib\socket.js:212:12) at Manager. (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\node_modules\component-bind\index.js:21:15) at Manager.Emitter.emit (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\node_modules\component-emitter\index.js:134:20) at Manager.ondecoded (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\lib\manager.js:301:8) at Decoder. (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\node_modules\component-bind\index.js:21:15)
! onkyo.0 2015-05-07 19:55:03 error message onkyo.0.volume [object Object] Cannot read property 'native' of undefined
! onkyo.0 2015-05-07 19:55:02 error TypeError: Cannot read property 'native' of undefined at Object.utils.adapter.stateChange (c:\ioBroker\node_modules\iobroker.onkyo\onkyo.js:38:42) at Object.that.states.States.change (c:\ioBroker\node_modules\iobroker.js-controller\lib\adapter.js:1393:80) at Socket.StatesInMemClient.client.on.connectionTimeout (c:\ioBroker\node_modules\iobroker.js-controller\lib\statesInMemClient.js:45:30) at Socket.Emitter.emit (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\node_modules\component-emitter\index.js:134:20) at Socket.onevent (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\lib\socket.js:254:10) at Socket.onpacket (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\lib\socket.js:212:12) at Manager. (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\node_modules\component-bind\index.js:21:15) at Manager.Emitter.emit (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\node_modules\component-emitter\index.js:134:20) at Manager.ondecoded (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\lib\manager.js:301:8) at Decoder. (c:\ioBroker\node_modules\iobroker.js-controller\node_modules\socket.io-client\node_modules\component-bind\index.js:21:15)
! onkyo.0 2015-05-07 19:55:02 error message onkyo.0.volume [object Object] Cannot read property 'native' of undefined -
Снова нашёл проблему. Вечером выложу. Спасибо.
-
Можешь попробовать:
cd /opt/iobroker npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master npm install https://github.com/ioBroker/ioBroker.onkyo/tarball/master ./iobroker restart
-
Можешь попробовать:
cd /opt/iobroker npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master npm install https://github.com/ioBroker/ioBroker.onkyo/tarball/master ./iobroker restart ```` `
Не работает. Повесил в vis кнопку, даю команду на выключение PWR00 - срабатывает. Громкость так и не регулирует.
-
Ну что хоть пишет то? Я не телепат
-
Ну что хоть пишет то? Я не телепат `
Про громкость ничего. Нету ошибок даже. Лог автоматом теперь не обновляется каждую секунду при изменении времени проигрования, только по кнопке обновить.! onkyo-0 2015-05-08 18:14:27 info stateChange onkyo.0.command {'val':'NTM07:11/–:--','ack':true,'ts':1431083668,'from':'system.adapter.onkyo.0','lc':1431083668}
! inMem 2015-05-08 18:14:27 debug message onkyo.0.* onkyo.0.command val=NTM07:11/--:--, ack=true, ts=1431083668, from=system.adapter.onkyo.0, lc=1431083668
! onkyo-0 2015-05-08 18:14:27 debug Received: command[NTM07:11/–:--]
! onkyo-0 2015-05-08 18:14:27 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-08 18:14:27 info Got message: {'command':'net-usb-time-info','iscp_command':'NTM07:11/–:--'}
! onkyo-0 2015-05-08 18:14:26 info stateChange onkyo.0.command {'val':'NTM07:10/--:--','ack':true,'ts':1431083667,'from':'system.adapter.onkyo.0','lc':1431083667}
! inMem 2015-05-08 18:14:26 debug message onkyo.0.* onkyo.0.command val=NTM07:10/--:--, ack=true, ts=1431083667, from=system.adapter.onkyo.0, lc=1431083667
! onkyo-0 2015-05-08 18:14:26 debug Received: command[NTM07:10/–:--]
! onkyo-0 2015-05-08 18:14:26 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-08 18:14:26 info Got message: {'command':'net-usb-time-info','iscp_command':'NTM07:10/–:--'}
! onkyo-0 2015-05-08 18:14:25 info stateChange onkyo.0.command {'val':'NTM07:09/--:--','ack':true,'ts':1431083666,'from':'system.adapter.onkyo.0','lc':1431083666}
! inMem 2015-05-08 18:14:25 debug message onkyo.0.* onkyo.0.command val=NTM07:09/--:--, ack=true, ts=1431083666, from=system.adapter.onkyo.0, lc=1431083666
! onkyo-0 2015-05-08 18:14:25 debug Received: command[NTM07:09/–:--]
! onkyo-0 2015-05-08 18:14:25 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-08 18:14:25 info Got message: {'command':'net-usb-time-info','iscp_command':'NTM07:09/–:--'}
! onkyo-0 2015-05-08 18:14:24 info stateChange onkyo.0.command {'val':'NTM07:08/--:--','ack':true,'ts':1431083665,'from':'system.adapter.onkyo.0','lc':1431083665}
! inMem 2015-05-08 18:14:24 debug message onkyo.0.* onkyo.0.command val=NTM07:08/--:--, ack=true, ts=1431083665, from=system.adapter.onkyo.0, lc=1431083665
! onkyo-0 2015-05-08 18:14:24 debug Received: command[NTM07:08/–:--]
! onkyo-0 2015-05-08 18:14:24 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-08 18:14:24 info Got message: {'command':'net-usb-time-info','iscp_command':'NTM07:08/–:--'}
! onkyo-0 2015-05-08 18:14:23 info stateChange onkyo.0.command {'val':'NTM07:07/--:--','ack':true,'ts':1431083664,'from':'system.adapter.onkyo.0','lc':1431083664}
! inMem 2015-05-08 18:14:23 debug message onkyo.0.* onkyo.0.command val=NTM07:07/--:--, ack=true, ts=1431083664, from=system.adapter.onkyo.0, lc=1431083664
! onkyo-0 2015-05-08 18:14:23 debug Received: command[NTM07:07/–:--]
! onkyo-0 2015-05-08 18:14:23 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-08 18:14:23 info Got message: {'command':'net-usb-time-info','iscp_command':'NTM07:07/–:--'}
! onkyo-0 2015-05-08 18:14:22 info stateChange onkyo.0.command {'val':'NTM07:06/--:--','ack':true,'ts':1431083663,'from':'system.adapter.onkyo.0','lc':1431083663}
! inMem 2015-05-08 18:14:22 debug message onkyo.0.* onkyo.0.command val=NTM07:06/--:--, ack=true, ts=1431083663, from=system.adapter.onkyo.0, lc=1431083663
! onkyo-0 2015-05-08 18:14:22 debug Received: command[NTM07:06/–:--]
! onkyo-0 2015-05-08 18:14:22 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-08 18:14:22 info Got message: {'command':'net-usb-time-info','iscp_command':'NTM07:06/–:--'}
! onkyo-0 2015-05-08 18:14:21 info stateChange onkyo.0.command {'val':'NTM07:05/--:--','ack':true,'ts':1431083662,'from':'system.adapter.onkyo.0','lc':1431083662}
! inMem 2015-05-08 18:14:21 debug message onkyo.0.* onkyo.0.command val=NTM07:05/--:--, ack=true, ts=1431083662, from=system.adapter.onkyo.0, lc=1431083662
! onkyo-0 2015-05-08 18:14:21 debug Received: command[NTM07:05/–:--]
! onkyo-0 2015-05-08 18:14:21 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-08 18:14:21 info Got message: {'command':'net-usb-time-info','iscp_command':'NTM07:05/–:--'}
! onkyo-0 2015-05-08 18:14:20 info stateChange onkyo.0.command {'val':'NTM07:04/--:--','ack':true,'ts':1431083661,'from':'system.adapter.onkyo.0','lc':1431083661}
! inMem 2015-05-08 18:14:20 debug message onkyo.0.* onkyo.0.command val=NTM07:04/--:--, ack=true, ts=1431083661, from=system.adapter.onkyo.0, lc=1431083661
! onkyo-0 2015-05-08 18:14:20 debug Received: command[NTM07:04/–:--]
! onkyo-0 2015-05-08 18:14:20 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-08 18:14:20 info Got message: {'command':'net-usb-time-info','iscp_command':'NTM07:04/–:--'}
! onkyo-0 2015-05-08 18:14:19 info stateChange onkyo.0.command {'val':'NTM07:03/--:--','ack':true,'ts':1431083660,'from':'system.adapter.onkyo.0','lc':1431083660}
! inMem 2015-05-08 18:14:19 debug message onkyo.0.* onkyo.0.command val=NTM07:03/--:--, ack=true, ts=1431083660, from=system.adapter.onkyo.0, lc=1431083660
! onkyo-0 2015-05-08 18:14:19 debug Received: command[NTM07:03/–:--]
! onkyo-0 2015-05-08 18:14:19 debug Received: net-usb-time-info[undefined] -
почему по громкости 2 переменные?
onkyo.0.master-volume Master volume Master volume 44 true onkyo.0 2015-05-08 17:16:22 2015-05-08 17:16:22
onkyo.0.volume Volume Volume 44 true onkyo.0 2015-05-08 17:16:22 2015-05-08 17:16:22
-
Вот появилось предупреждение в логе
! onkyo-0 2015-05-08 18:18:05 debug Received: command[NTM10:49/–:--]
! onkyo-0 2015-05-08 18:18:05 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-08 18:18:05 info Got message: {"command":"net-usb-time-info","iscp_command":"NTM10:49/–:--"}
! onkyo-0 2015-05-08 18:18:04 warn non controllable state: onkyo.0.master-volume
! onkyo-0 2015-05-08 18:18:04 info stateChange onkyo.0.master-volume {"val":15,"ack":false,"ts":1431083885,"from":"system.adapter.web.0","lc":1431083885}
! inMem 2015-05-08 18:18:04 debug message onkyo.0.* onkyo.0.master-volume val=15, ack=false, ts=1431083885, from=system.adapter.web.0, lc=1431083885
! onkyo-0 2015-05-08 18:18:04 info stateChange onkyo.0.command {"val":"NTM10:48/--:--","ack":true,"ts":1431083885,"from":"system.adapter.onkyo.0","lc":1431083885}
! inMem 2015-05-08 18:18:04 debug message onkyo.0.* onkyo.0.command val=NTM10:48/--:--, ack=true, ts=1431083885, from=system.adapter.onkyo.0, lc=1431083885
! onkyo-0 2015-05-08 18:18:04 debug Received: command[NTM10:48/–:--]
! onkyo-0 2015-05-08 18:18:04 debug Received: net-usb-time-info[undefined]
! onkyo-0 2015-05-08 18:18:04 info Got message: {"command":"net-usb-time-info","iscp_command":"NTM10:48/–:--"}
! onkyo-0 2015-05-08 18:18:04 warn non controllable state: onkyo.0.volume
Могу дать доступ через тимвьювер -
Переустановил еще раз драйвер онки, вообще не работает.
! Server-PC 2015-05-08 22:56:46 info host.Server-PC Restart adapter system.adapter.onkyo.0 because enabled
! Server-PC 2015-05-08 22:56:46 error host.Server-PC instance system.adapter.onkyo.0 terminated with code 6 (uncaught exception)
! Server-PC 2015-05-08 22:56:46 info host.Server-PC Restart adapter system.adapter.onkyo.0 because enabled
! Server-PC 2015-05-08 22:56:46 error host.Server-PC instance system.adapter.onkyo.0 terminated with code 6 (uncaught exception)
! Server-PC 2015-05-08 22:56:43 info host.Server-PC instance system.adapter.onkyo.0 started with pid 4852
! Server-PC 2015-05-08 22:56:43 info host.Server-PC instance system.adapter.onkyo.0 started with pid 4852
! Server-PC 2015-05-08 22:56:31 info host.Server-PC Restart adapter system.adapter.onkyo.0 because enabled
! Server-PC 2015-05-08 22:56:31 error host.Server-PC instance system.adapter.onkyo.0 terminated with code 6 (uncaught exception)
! Server-PC 2015-05-08 22:56:31 info host.Server-PC Restart adapter system.adapter.onkyo.0 because enabled
! Server-PC 2015-05-08 22:56:31 error host.Server-PC instance system.adapter.onkyo.0 terminated with code 6 (uncaught exception)
! Server-PC 2015-05-08 22:56:28 info host.Server-PC instance system.adapter.onkyo.0 started with pid 4772
! Server-PC 2015-05-08 22:56:28 info host.Server-PC instance system.adapter.onkyo.0 started with pid 4772
! host-Server-PC 2015-05-08 23:56:13 info Restart adapter system.adapter.onkyo.0 because enabled
! host-Server-PC 2015-05-08 23:56:13 error instance system.adapter.onkyo.0 terminated with code 6 (uncaught exception)
! onkyo-0 2015-05-08 23:56:12 info stateChange onkyo.0.connected {"val":true,"ack":true,"ts":1431104173,"from":"system.adapter.onkyo.0","lc":1431103712}
! inMem 2015-05-08 23:56:12 debug message onkyo.0.* onkyo.0.connected val=true, ack=true, ts=1431104173, from=system.adapter.onkyo.0, lc=1431103712
! TypeError: 2015-05-08 23:56:12 error at readableAddChunk (_stream_readable.js:166:9)
! TypeError: 2015-05-08 23:56:12 error at emitReadable (stream_readable.js:423:5)
! TypeError: 2015-05-08 23:56:12 error at emitReadable (_stream_readable.js:427:10)
! TypeError: 2015-05-08 23:56:12 error at Socket.emit (events.js:92:17)
! TypeError: 2015-05-08 23:56:12 error at Socket. (_stream_readable.js:765:14)
! TypeError: 2015-05-08 23:56:12 error at Socket.emit (events.js:95:17)
! TypeError: 2015-05-08 23:56:12 error at Socket. (c:\ioBroker\node_modules\iobroker.onkyo\node_modules\eiscp\eiscp.js:369:8)
! TypeError: 2015-05-08 23:56:12 error at EventEmitter.emit (events.js:95:17)
! TypeError: 2015-05-08 23:56:12 error at EventEmitter. (c:\ioBroker\node_modules\iobroker.onkyo\onkyo.js:189:13)
! TypeError: 2015-05-08 23:56:12 error at notifyCommand (c:\ioBroker\node_modules\iobroker.onkyo\onkyo.js:88:31)
! TypeError: 2015-05-08 23:56:12 error Cannot read property 'command' of undefined
! uncaught 2015-05-08 23:56:12 error exception: Cannot read property 'command' of undefined -
почему по громкости 2 переменные?
onkyo.0.master-volume Master volume Master volume 44 true onkyo.0 2015-05-08 17:16:22 2015-05-08 17:16:22
onkyo.0.volume Volume Volume 44 true onkyo.0 2015-05-08 17:16:22 2015-05-08 17:16:22 `
Это мне у тебя надо спросить Чем отличаются volume От Master volume? -
Можешь ещё попробовать?
cd /opt/iobroker ./iobroker del onkyo npm install https://github.com/ioBroker/ioBroker.onkyo/tarball/master ./iobroker add onkyo
Потом снова IP настроить.
Терпение. Мы уже близко к решению
-
Можешь ещё попробовать?
cd /opt/iobroker ./iobroker del onkyo npm install https://github.com/ioBroker/ioBroker.onkyo/tarball/master ./iobroker add onkyo
Потом снова IP настроить.
Терпение. Мы уже близко к решению `
Да я терплю) новый лог:
! onkyo-0 2015-05-09 11:48:49 warn non controllable state: onkyo.0.volume
! onkyo-0 2015-05-09 11:48:49 info stateChange onkyo.0.volume {'val':43,'ack':false,'ts':1431146929,'from':'system.adapter.web.0','lc':1431146929}
! onkyo-0 2015-05-09 11:48:48 warn non controllable state: onkyo.0.volume
! onkyo-0 2015-05-09 11:48:48 info stateChange onkyo.0.volume {'val':0,'ack':false,'ts':1431146928,'from':'system.adapter.web.0','lc':1431146928}
! onkyo-0 2015-05-09 11:48:46 warn non controllable state: onkyo.0.master-volume
! onkyo-0 2015-05-09 11:48:46 info stateChange onkyo.0.master-volume {'val':30,'ack':false,'ts':1431146926,'from':'system.adapter.web.0','lc':1431146926}
! onkyo-0 2015-05-09 11:48:45 warn non controllable state: onkyo.0.master-volume
! onkyo-0 2015-05-09 11:48:45 info stateChange onkyo.0.master-volume {'val':0,'ack':false,'ts':1431146925,'from':'system.adapter.web.0','lc':1431146925}
! onkyo-0 2015-05-09 11:47:05 info stateChange onkyo.0.command {'val':'SLI05','ack':true,'ts':1431146825,'from':'system.adapter.onkyo.0','lc':1431146825}
! onkyo-0 2015-05-09 11:47:05 info stateChange onkyo.0.input {'val':['video6','pc'],'ack':true,'ts':1431146825,'from':'system.adapter.onkyo.0','lc':1431146825}
! onkyo-0 2015-05-09 11:47:05 info Got message: {'command':'input-selector','argument':['video6','pc'],'iscp_command':'SLI05'}
! onkyo-0 2015-05-09 11:47:05 info stateChange onkyo.0.listening-mode {'val':'all-ch-stereo','ack':true,'ts':1431146825,'from':'system.adapter.onkyo.0','lc':1431146825}
! onkyo-0 2015-05-09 11:47:05 info stateChange onkyo.0.command {'val':'LMD0C','ack':true,'ts':1431146825,'from':'system.adapter.onkyo.0','lc':1431146825}
! onkyo-0 2015-05-09 11:47:05 info Create new object: onkyo.0.listening-mode, type = media
! onkyo-0 2015-05-09 11:47:05 info Got message: {'command':'listening-mode','argument':'all-ch-stereo','iscp_command':'LMD0C'}
! onkyo-0 2015-05-09 11:47:04 info stateChange onkyo.0.command {'val':'NLTF300000000090000FFFF00NE\u001a\r\nISCP\u0000\u0000\u0000\u0010\u0000\u0000\u0000\u000b\u0001\u0000\u0000\u0000!1NLSC0C','ack':true,'ts':1431146825,'from':'system.adapter.onkyo.0','lc':1431146825}
! onkyo-0 2015-05-09 11:47:04 error Empty command string! (value: undefined
! onkyo-0 2015-05-09 11:47:04 info Got message: {'iscp_command':'NLTF300000000090000FFFF00NE\u001a\r\nISCP\u0000\u0000\u0000\u0010\u0000\u0000\u0000\u000b\u0001\u0000\u0000\u0000!1NLSC0C'}
! onkyo-0 2015-05-09 11:47:04 info stateChange onkyo.0.command {'val':'NLSC-P','ack':true,'ts':1431146825,'from':'system.adapter.onkyo.0','lc':1431146825}
! onkyo-0 2015-05-09 11:47:04 info Got message: {'command':'net-usb-list-info','iscp_command':'NLSC-P'}
! onkyo-0 2015-05-09 11:45:32 info Error: ERROR (cmd_not_supported) Command master-volume in zone main is not supported on this model.
! onkyo-0 2015-05-09 11:45:32 info Initial query: master-volume
! onkyo-0 2015-05-09 11:45:32 info Error: ERROR (cmd_not_supported) Command volume in zone main is not supported on this model.
! onkyo-0 2015-05-09 11:45:32 info Initial query: volume
! onkyo-0 2015-05-09 11:45:32 info Error: ERROR (cmd_not_supported) Command audio-muting in zone main is not supported on this model.
! onkyo-0 2015-05-09 11:45:32 info Initial query: audio-muting
! onkyo-0 2015-05-09 11:45:32 info Error: ERROR (cmd_not_supported) Command system-power in zone main is not supported on this model.
! onkyo-0 2015-05-09 11:45:32 info Initial query: system-power
! onkyo-0 2015-05-09 11:45:32 info Error: ERROR (cmd_not_supported) Command input-selector in zone main is not supported on this model.
! onkyo-0 2015-05-09 11:45:32 info Initial query: input-selector
! onkyo-0 2015-05-09 11:45:28 info stateChange onkyo.0.command {'val':'NLSU8-My Favorites','ack':true,'ts':1431146728,'from':'system.adapter.onkyo.0','lc':1431146728}
! onkyo-0 2015-05-09 11:45:28 info Got message: {'command':'net-usb-list-info','iscp_command':'NLSU8-My Favorites'}
! onkyo-0 2015-05-09 11:45:28 info stateChange onkyo.0.command {'val':'NLSU6-Spotify\u001a\r\nISCP\u0000\u0000\u0000\u0010\u0000\u0000\u0000\u0010\u0001\u0000\u0000\u0000!1NLSU7-simfy','ack':true,'ts':1431146728,'from':'system.adapter.onkyo.0','lc':1431146728}
! onkyo-0 2015-05-09 11:45:28 info Got message: {'command':'net-usb-list-info','iscp_command':'NLSU6-Spotify\u001a\r\nISCP\u0000\u0000\u0000\u0010\u0000\u0000\u0000\u0010\u0001\u0000\u0000\u0000!1NLSU7-simfy'}
! onkyo-0 2015-05-09 11:45:27 info stateChange onkyo.0.command {'val':'NLSU5-MP3tunes','ack':true,'ts':1431146728,'from':'system.adapter.onkyo.0','lc':1431146728}
! onkyo-0 2015-05-09 11:45:27 info Got message: {'command':'net-usb-list-info','iscp_command':'NLSU5-MP3tunes'}
! onkyo-0 2015-05-09 11:45:27 info stateChange onkyo.0.command {'val':'NLSU2-DLNA\u001a\r\nISCP\u0000\u0000\u0000\u0010\u0000\u0000\u0000 \u0001\u0000\u0000\u0000!1NLSU3-AUPEO! PERSONAL RADIO\u001a\r\nISCP\u0000\u0000\u0000\u0010\u0000\u0000\u0000\u0015\u0001\u0000\u0000\u0000!1NLSU4-Home Media','ack':true,'ts':1431146728,'from':'system.adapter.onkyo.0','lc':1431146728}
! onkyo-0 2015-05-09 11:45:27 info Got message: {'command':'net-usb-list-info','iscp_command':'NLSU2-DLNA\u001a\r\nISCP\u0000\u0000\u0000\u0010\u0000\u0000\u0000 \u0001\u0000\u0000\u0000!1NLSU3-AUPEO! PERSONAL RADIO\u001a\r\nISCP\u0000\u0000\u0000\u0010\u0000\u0000\u0000\u0015\u0001\u0000\u0000\u0000!1NLSU4-Home Media'}
! onkyo-0 2015-05-09 11:45:27 info stateChange onkyo.0.command {'val':'NLSC0P\u001a\r\nISCP\u0000\u0000\u0000\u0010\u0000\u0000\u0000 \u0001\u0000\u0000\u0000!1NLSU0-vTuner Internet Radio\u001a\r\nISCP\u0000\u0000\u0000\u0010\u0000\u0000\u0000!\u0001\u0000\u0000\u0000!1NLSU1-Last.fm Internet Radio','ack':true,'ts':1431146728,'from':'system.adapter.onkyo.0','lc':1431146728}
! onkyo-0 2015-05-09 11:45:27 info Create new object: onkyo.0.net-usb-list-info, type = media
! onkyo-0 2015-05-09 11:45:27 info Got message: {'command':'net-usb-list-info','iscp_command':'NLSC0P\u001a\r\nISCP\u0000\u0000\u0000\u0010\u0000\u0000\u0000 \u0001\u0000\u0000\u0000!1NLSU0-vTuner Internet Radio\u001a\r\nISCP\u0000\u0000\u0000\u0010\u0000\u0000\u0000!\u0001\u0000\u0000\u0000!1NLSU1-Last.fm Internet Radio'}
! onkyo-0 2015-05-09 11:45:27 info stateChange onkyo.0.command {'val':'NLTF300000000090000FFFF00NE','ack':true,'ts':1431146727,'from':'system.adapter.onkyo.0','lc':1431146727}
! onkyo-0 2015-05-09 11:45:27 error Empty command string! (value: undefined
! onkyo-0 2015-05-09 11:45:27 info Got message: {'iscp_command':'NLTF300000000090000FFFF00NE'}
! onkyo-0 2015-05-09 11:45:27 info stateChange onkyo.0.connected {'val':true,'ack':true,'ts':1431146727,'from':'system.adapter.onkyo.0','lc':1431146727}
! onkyo-0 2015-05-09 11:45:27 info Successfully connected to AVRПосле регулировки громкости на ресивере:
! onkyo-0 2015-05-09 11:52:38 info stateChange onkyo.0.command {'val':'MVL24','ack':true,'ts':1431147159,'from':'system.adapter.onkyo.0','lc':1431147159}
! onkyo-0 2015-05-09 11:52:38 info stateChange onkyo.0.volume {'val':36,'ack':true,'ts':1431147159,'from':'system.adapter.onkyo.0','lc':1431147159}
! onkyo-0 2015-05-09 11:52:38 info stateChange onkyo.0.master-volume {'val':36,'ack':true,'ts':1431147159,'from':'system.adapter.onkyo.0','lc':1431147159}
! onkyo-0 2015-05-09 11:52:38 info Got message: {'command':['master-volume','volume'],'argument':36,'iscp_command':'MVL24'}
! onkyo-0 2015-05-09 11:52:38 info stateChange onkyo.0.command {'val':'MVL25','ack':true,'ts':1431147158,'from':'system.adapter.onkyo.0','lc':1431147158}
! onkyo-0 2015-05-09 11:52:38 info stateChange onkyo.0.volume {'val':37,'ack':true,'ts':1431147158,'from':'system.adapter.onkyo.0','lc':1431147158}
! onkyo-0 2015-05-09 11:52:38 info stateChange onkyo.0.master-volume {'val':37,'ack':true,'ts':1431147158,'from':'system.adapter.onkyo.0','lc':1431147158}
! onkyo-0 2015-05-09 11:52:38 info Got message: {'command':['master-volume','volume'],'argument':37,'iscp_command':'MVL25'}
! onkyo-0 2015-05-09 11:52:37 info stateChange onkyo.0.command {'val':'MVL26','ack':true,'ts':1431147157,'from':'system.adapter.onkyo.0','lc':1431147157}
! onkyo-0 2015-05-09 11:52:37 info stateChange onkyo.0.volume {'val':38,'ack':true,'ts':1431147157,'from':'system.adapter.onkyo.0','lc':1431147157}
! onkyo-0 2015-05-09 11:52:37 info stateChange onkyo.0.master-volume {'val':38,'ack':true,'ts':1431147157,'from':'system.adapter.onkyo.0','lc':1431147157}
! onkyo-0 2015-05-09 11:52:37 info Got message: {'command':['master-volume','volume'],'argument':38,'iscp_command':'MVL26'}
! onkyo-0 2015-05-09 11:52:36 info stateChange onkyo.0.command {'val':'MVL25','ack':true,'ts':1431147157,'from':'system.adapter.onkyo.0','lc':1431147157}
! onkyo-0 2015-05-09 11:52:36 info stateChange onkyo.0.volume {'val':37,'ack':true,'ts':1431147157,'from':'system.adapter.onkyo.0','lc':1431147157}
! onkyo-0 2015-05-09 11:52:36 info stateChange onkyo.0.master-volume {'val':37,'ack':true,'ts':1431147157,'from':'system.adapter.onkyo.0','lc':1431147157}
! onkyo-0 2015-05-09 11:52:36 info Got message: {'command':['master-volume','volume'],'argument':37,'iscp_command':'MVL25'}
! onkyo-0 2015-05-09 11:52:36 info stateChange onkyo.0.command {'val':'MVL22','ack':true,'ts':1431147156,'from':'system.adapter.onkyo.0','lc':1431147156}
! onkyo-0 2015-05-09 11:52:36 info stateChange onkyo.0.volume {'val':34,'ack':true,'ts':1431147156,'from':'system.adapter.onkyo.0','lc':1431147156}
! onkyo-0 2015-05-09 11:52:36 info stateChange onkyo.0.master-volume {'val':34,'ack':true,'ts':1431147156,'from':'system.adapter.onkyo.0','lc':1431147156}
! onkyo-0 2015-05-09 11:52:36 info Got message: {'command':['master-volume','volume'],'argument':34,'iscp_command':'MVL22'}
! onkyo-0 2015-05-09 11:52:35 info stateChange onkyo.0.command {'val':'MVL1D','ack':true,'ts':1431147156,'from':'system.adapter.onkyo.0','lc':1431147156}
! onkyo-0 2015-05-09 11:52:35 info stateChange onkyo.0.volume {'val':29,'ack':true,'ts':1431147156,'from':'system.adapter.onkyo.0','lc':1431147156}
! onkyo-0 2015-05-09 11:52:35 info stateChange onkyo.0.master-volume {'val':29,'ack':true,'ts':1431147156,'from':'system.adapter.onkyo.0','lc':1431147156}
! onkyo-0 2015-05-09 11:52:35 info Got message: {'command':['master-volume','volume'],'argument':29,'iscp_command':'MVL1D'}
! onkyo-0 2015-05-09 11:52:35 info stateChange onkyo.0.command {'val':'MVL15','ack':true,'ts':1431147155,'from':'system.adapter.onkyo.0','lc':1431147155}
! onkyo-0 2015-05-09 11:52:35 info stateChange onkyo.0.volume {'val':21,'ack':true,'ts':1431147155,'from':'system.adapter.onkyo.0','lc':1431147155}
! onkyo-0 2015-05-09 11:52:35 info stateChange onkyo.0.master-volume {'val':21,'ack':true,'ts':1431147155,'from':'system.adapter.onkyo.0','lc':1431147155}
! onkyo-0 2015-05-09 11:52:35 info Got message: {'command':['master-volume','volume'],'argument':21,'iscp_command':'MVL15'}
! onkyo-0 2015-05-09 11:52:34 info stateChange onkyo.0.command {'val':'MVL11','ack':true,'ts':1431147155,'from':'system.adapter.onkyo.0','lc':1431147155}
! onkyo-0 2015-05-09 11:52:34 info stateChange onkyo.0.volume {'val':17,'ack':true,'ts':1431147155,'from':'system.adapter.onkyo.0','lc':1431147155}
! onkyo-0 2015-05-09 11:52:34 info stateChange onkyo.0.master-volume {'val':17,'ack':true,'ts':1431147155,'from':'system.adapter.onkyo.0','lc':1431147155}Если через брокера отправить команду MVL24 уровень на ресивере и в переменной 36. При изменении то самой переменной значения правильные формирует? (если переменная 36 то в команде идет 24? там же фроде как 16тиричный код должен быть).
Не понятно что говорит эта строчка в логе onkyo-0 2015-05-09 11:48:46 warn non controllable state: onkyo.0.master-volume т.е. переменная не контролируемая?
-
Можешь показать инфу по объекту master-volume?
48_onkyo.png -
-
npm install https://github.com/ioBroker/ioBroker.onkyo/tarball/master
И перезапустить драйвер.
-
npm install https://github.com/ioBroker/ioBroker.onkyo/tarball/master
И перезапустить драйвер. `
Непомогло, сервер исчез из списка! Server-PC 2015-05-09 21:47:52 error host.Server-PC Invalid request getInstalled. "callback" or "from" is null
! Server-PC 2015-05-09 21:47:52 error host.Server-PC Invalid request getRepository. "callback" or "from" is null
! Server-PC 2015-05-09 21:47:52 error host.Server-PC Invalid request getInstalled. "callback" or "from" is null
! Server-PC 2015-05-09 21:47:52 error host.Server-PC Invalid request getInstalled. "callback" or "from" is null
! Server-PC 2015-05-09 21:47:52 error host.Server-PC Invalid request getRepository. "callback" or "from" is null
! Server-PC 2015-05-09 21:47:52 error host.Server-PC Invalid request getInstalled. "callback" or "from" is null
! Server-PC 2015-05-09 21:47:52 error host.Server-PC Invalid request getRepository. "callback" or "from" is null
! Server-PC 2015-05-09 21:47:52 error host.Server-PC Invalid request getRepository. "callback" or "from" is null
! Server-PC 2015-05-09 21:47:43 error host.Server-PC Invalid request getInstalled. "callback" or "from" is null
! Server-PC 2015-05-09 21:47:43 error host.Server-PC Invalid request getInstalled. "callback" or "from" is null
! Server-PC 2015-05-09 21:47:43 error host.Server-PC Invalid request getRepository. "callback" or "from" is null -
Рестартанул полностью брокер
onkyo-0 2015-05-09 21:55:00 info Error: ERROR (arg_not_in_range) Command volume=29 is not available on this model
onkyo-0 2015-05-09 21:55:00 info stateChange onkyo.0.volume {"val":29,"ack":false,"ts":1431186901,"from":"system.adapter.web.0","lc":1431186901}
inMem 2015-05-09 21:55:00 debug message onkyo.0.* onkyo.0.volume val=29, ack=false, ts=1431186901, from=system.adapter.web.0, lc=1431186901
Какую команду отправляешь при регулировке?
"MVL" - Master Volume Command
"00"-"64" Volume Level 0 – 100 ( In hexadecimal representation)
"00"-"50" Volume Level 0 – 80 ( In hexadecimal representation)
"UP" sets Volume Level Up
"DOWN" sets Volume Level Down
"UP1" sets Volume Level Up 1dB Step
"DOWN1" sets Volume Level Down 1dB Step
"QSTN" gets the Volume Level
-
Повесил в vis две кнопки с командами MVLUP1 и MVLDOWN1 громкость регулирует, ползунки переменных перемещяются, единственный момент, переменная volume и master volume имеют одно значение.