NEWS
Onkyo
-
почему по громкости 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 имеют одно значение.
-
Ипсправлений не будет?
-
Я попробовал управлять громкостью моего ресивера - просто передаю нужный уровень в переменную "onkyo.0.master-volume", громкость меняется, все ОК.
-
Да блин у вас ресиверы не той системы.
Я использовал стандартный пакет https://github.com/tillbaks/node-eiscp
Вероятно, что у человека, который этот пакет создал ресивер немного отличается.
! ````
"main" : {
"system-power" : "PWR",
"audio-muting" : "AMT",
"speaker-a" : "SPA",
"speaker-b" : "SPB",
"speaker-layout" : "SPL",
"master-volume" : "MVL",
"volume" : "MVL",
"tone-front" : "TFR",
"tone-front-wide" : "TFW",
"tone-front-high" : "TFH",
"tone-center" : "TCT",
"tone-surround" : "TSR",
"tone-surround-back" : "TSB",
"tone-subwoofer" : "TSW",
"sleep-set" : "SLP",
"speaker-level-calibration" : "SLC",
"subwoofer-temporary-level" : "SWL",
"center-temporary-level" : "CTL",
"display-mode" : "DIF",
"dimmer-level" : "DIM",
"setup" : "OSD",
"memory-setup" : "MEM",
"audio-infomation" : "IFA",
"video-infomation" : "IFV",
"input-selector" : "SLI",
"recout-selector" : "SLR",
"audio-selector" : "SLA",
"12v-trigger-a" : "TGA",
"12v-trigger-b" : "TGB",
"12v-trigger-c" : "TGC",
"video-output-selector" : "VOS",
"hdmi-output-selector" : "HDO",
"hdmi-audio-out" : "HAO",
"monitor-out-resolution" : "RES",
"isf-mode" : "ISF",
"video-wide-mode" : "VWM",
"video-picture-mode" : "VPM",
"listening-mode" : "LMD",
"late-night" : "LTN",
"cinema-filter" : "RAS",
"audyssey-2eq-multeq-multeq-xt" : "ADY",
"audyssey-dynamic-eq" : "ADQ",
"audyssey-dynamic-volume" : "ADV",
"dolby-volume" : "DVL",
"music-optimizer" : "MOT",
"tuning" : "UTN",
"preset" : "PRS",
"preset-memory" : "UPM",
"rds-information" : "RDS",
"pty-scan" : "PTS",
"tp-scan" : "TPS",
"xm-channel-name-info" : "XCN",
"xm-artist-name-info" : "XAT",
"xm-title-info" : "XTI",
"xm-channel-number" : "XCH",
"xm-category" : "XCT",
"sirius-channel-name-info" : "SCN",
"sirius-artist-name-info" : "SAT",
"sirius-title-info" : "STI",
"sirius-channel-number" : "SCH",
"sirius-category" : "SCT",
"sirius-parental-lock" : "SLK",
"hd-radio-artist-name-info" : "UHA",
"hd-radio-channel-name-info" : "UHC",
"hd-radio-title-info" : "UHT",
"hd-radio-detail-info" : "UHD",
"hd-radio-channel-program" : "UHP",
"hd-radio-blend-mode" : "UHB",
"hd-radio-tuner-status" : "UHS",
"network-usb" : "NTC",
"net-usb-artist-name-info" : "NAT",
"net-usb-album-name-info" : "NAL",
"net-usb-title-name" : "NTI",
"net-usb-time-info" : "NTM",
"net-usb-track-info" : "NTR",
"net-usb-play-status" : "NST",
"internet-radio-preset" : "NPR",
"net-usb-list-info" : "NLS",
"net-usb-jacket-art" : "NJA",
"net-service" : "NSV",
"net-keyboard" : "NKY",
"net-popup-message" : "NPU",
"ipod-mode-change" : "IMD",
"cd-player" : "CCD",
"tape1-a" : "CT1",
"tape2-b" : "CT2",
"graphics-equalizer" : "CEQ",
"dat-recorder" : "CDT",
"dvd-player" : "CDV",
"md-recorder" : "CMD",
"cd-r-recorder" : "CCR",
"universal-port" : "CPT",
"ipod-artist-name-info" : "IAT",
"ipod-album-name-info" : "IAL",
"ipod-title-name" : "ITI",
"ipod-time-info" : "ITM",
"ipod-track-info" : "ITR",
"ipod-play-status" : "IST",
"ipod-list-info" : "ILS",
"dab-preset" : "UPR",
"dab-sation-name" : "UDS",
"dab-display-info" : "UDD"
},
"zone2" : {
"power" : "ZPW",
"muting" : "ZMT",
"volume" : "ZVL",
"tone" : "ZTN",
"balance" : "ZBL",
"selector" : "SLZ",
"tuning" : "TUZ",
"preset" : "PRZ",
"net-tune-network" : "NTZ",
"internet-radio-preset" : "NPZ",
"listening-mode" : "LMZ",
"late-night" : "LTZ",
"re-eq-academy-filter" : "RAZ"
},
"zone3" : {
"power" : "PW3",
"muting" : "MT3",
"volume" : "VL3",
"tone" : "TN3",
"balance" : "BL3",
"selector" : "SL3",
"tuning" : "TU3",
"preset" : "PR3",
"net-tune-network" : "NT3",
"internet-radio-preset" : "NP3"
},
"zone4" : {
"power" : "PW4",
"muting" : "MT4",
"volume" : "VL4",
"selector" : "SL4",
"tuning" : "TU4",
"preset" : "PR4",
"net-tune-network" : "NT4",
"internet-radio-preset" : "NP4"
},
"dock" : {
"command-for-docking-station-via-ri" : "CDS"
} -
Нашел пару ошибок в подгружаемом пакете node-eiscp. Пока что форкнул и исправил.
Надо включить debug level и посмотреть, что выдает.
Например у меня на power=true выдает:
2015-05-13 22:06:04.397 - info: onkyo.0 stateChange onkyo.0.power {"val":"true","ack":false,"ts":1431547564,"lc":1431545330} 2015-05-13 22:06:04.397 - debug: inMem message onkyo.0.* onkyo.0.power val=true, ack=false, ts=1431547564, lc=1431545330 2015-05-13 22:06:04.397 - debug: onkyo.0 DEBUG (command_to_iscp) Zone: main | Command: system-power | Argument: on 2015-05-13 22:06:04.397 - debug: onkyo.0 DEBUG (command_to_iscp) raw command "PWR01"
Но проверить это я не могу.
Если заработает, то надо подумать, какие ещё комманды необходимы, кроме громкости и вкл/выкл.
-
Нашел пару ошибок в подгружаемом пакете node-eiscp. Пока что форкнул и исправил.
Надо включить debug level и посмотреть, что выдает.
Например у меня на power=true выдает:
2015-05-13 22:06:04.397 - info: onkyo.0 stateChange onkyo.0.power {"val":"true","ack":false,"ts":1431547564,"lc":1431545330} 2015-05-13 22:06:04.397 - debug: inMem message onkyo.0.* onkyo.0.power val=true, ack=false, ts=1431547564, lc=1431545330 2015-05-13 22:06:04.397 - debug: onkyo.0 DEBUG (command_to_iscp) Zone: main | Command: system-power | Argument: on 2015-05-13 22:06:04.397 - debug: onkyo.0 DEBUG (command_to_iscp) raw command "PWR01"
onkyo-0 2015-05-14 18:44:00 info Got message: {"command":"net-usb-time-info","iscp_command":"NTM01:15/–:--"}
onkyo-0 2015-05-14 18:44:00 info Error: ERROR (arg_not_in_range) Command master-volume=46 is not available on this model
Но проверить это я не могу.
Если заработает, то надо подумать, какие ещё комманды необходимы, кроме громкости и вкл/выкл. `
onkyo-0 2015-05-14 18:41:58 info stateChange onkyo.0.command {"val":"PWR00","ack":true,"ts":1431607319,"from":"system.adapter.onkyo.0","lc":1431607318}
onkyo-0 2015-05-14 18:41:58 info stateChange onkyo.0.power {"val":"standby","ack":true,"ts":1431607319,"from":"system.adapter.onkyo.0","lc":1431607319}
onkyo-0 2015-05-14 18:41:58 debug Received: command[PWR00]
onkyo-0 2015-05-14 18:41:58 debug Received: system-power[standby]
! onkyo-0 2015-05-14 18:42:43 info stateChange onkyo.0.command {"val":"NJA01FDFDFDFDFDFDFDFDFD1A64D560D5FDFDFD64C464FDFD1A1AFD1A1AC41A754C4C75C0C0C0D8D8C0696969C069C075757538C438BCD5C4C4D5D5C4FD6460D5D56064FDFDFDFDFDFDFDFDFDFDFDFDFDFD
! onkyo-0 2015-05-14 18:42:43 debug ISCP!1NJA01F7F7F7F7F7F7F7F7F7F7641A64D560F7C4D804293B3B3B3B3B3B4444581D44443B4444443B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B443B3B3B3B3B443B3B6239066906C0387564F71AF7F7F7F7F7F7F7F
! onkyo-0 2015-05-14 18:42:43 debug ISCP!1NJA01F7F7F7F7F7F7F7F764F7F7F7F760F7BCBCC406E01C3B3B44444444444444443B1D4444443B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B443B3B3B444444443BD222ED0606697538D5D5F7C48A8AD5D5F7F7F7F7D5D
! onkyo-0 2015-05-14 18:42:43 debug ISCP!1NJA01F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7D5C46460ED049E3B3B3B3B3B3B443B3B4444443B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B2D49150606066938D5D5F7F7F7F7F7F7F7F7F7F7F7F7F7F7F
! onkyo-0 2015-05-14 18:42:43 debug ISCP!1NJA01F7F7F7F7F7F7F7F7F7F7F7F7F7F7C4F7F71AC460D149B21C3B3B443B3B443B3B3B3B443B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B443B3B3B3B3B3B441C968E67690669386057F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F
! onkyo-0 2015-05-14 18:42:43 debug ISCP!1NJA01F7F7F7F7F7F7F7F7F7F7F7F7F7C464F7F760C41A1A1AED399329443B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B443BE49EB240ED06066902C0751A1A1AF7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F
! onkyo-0 2015-05-14 18:42:43 debug ISCP!1NJA01F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F76464F7C438383806493F314DE4443B3B3B3B3B3B3B3B3B3B3B3B3B443B3B3B3B3B1D9AEF96406706060606C0D838F7F764F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7FDFDFDFDFDFDF
! onkyo-0 2015-05-14 18:42:43 debug ISCP!1NJA01FDFDFDFDFDFDFDFDFDFDFD6464C41A64FDFD601AFD6475751A7569ED2422E0989F62EBE41D444444441D4D29D23F987122246706C0C06906C07575C4FDFD64C4C4FDFD1AFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDF
! onkyo-0 2015-05-14 18:42:43 debug ISCP!1NJA01FDFDFDFDFDFDFDFDFDFDFDFDFDFDFD1A57FDFDFDFDFDD51A1A1A757563D8D869066767676767671F1F67ED066969690669696969637538C4BCD5D56460FDFDFD64FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDF
! onkyo-0 2015-05-14 18:42:43 debug Received: command[NJA01FDFDFDFDFDFDFDFDFD1A64D560D5FDFDFD64C464FDFD1A1AFD1A1AC41A754C4C75C0C0C0D8D8C0696969C069C075757538C438BCD5C4C4D5D5C4FD6460D5D56064FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFD
! onkyo-0 2015-05-14 18:42:43 debug Received: net-usb-jacket-art[undefined]
! onkyo-0 2015-05-14 18:42:43 info Got message: {"command":"net-usb-jacket-art","iscp_command":"NJA01FDFDFDFDFDFDFDFDFD1A64D560D5FDFDFD64C464FDFD1A1AFD1A1AC41A754C4C75C0C0C0D8D8C0696969C069C075757538C438BCD5C4C4D5D5C4FD6460D5D56064FDF
! onkyo-0 2015-05-14 18:42:43 info stateChange onkyo.0.command {"val":"CBCBCC4D5BCD5D5D5D564FDFD64FDFDD564FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFD8A8A8A8A8A8A8A8A8A8A8A8A000000FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFD","ack":true
! onkyo-0 2015-05-14 18:42:43 info stateChange onkyo.0.command {"val":"NJA015AFF594843FF953B21FF181717FFE5BAADFFD5D5D6FFEEC1B5FF3C3C3CFF3E3C3BFF78716FFF87594AFF8B4835FFDFA699FF3E4040FF943B21FFFEFFFFFFC8C0B3FF88695AFF785D60FF6C4D3EFF7C
! onkyo-0 2015-05-14 18:42:43 info stateChange onkyo.0.command {"val":"F6A321BFF8C3E23FF72331AFF994130FFAD8F83FFFEFEFFFF3E2113FFE9CAC0FFD5A699FFE8E7E9FFBCB7B2FF752B16FFB68A78FFFCFAFCFF8E7B73FF605D5BFF3F0B00FFE4B2A5FF515051\u001a\r\nIS
! onkyo-0 2015-05-14 18:42:43 info stateChange onkyo.0.command {"val":"NJA01433EFF804E3AFF973D22FFF3D9CCFFDBD9D7FF9D432AFFA03922FF935845FF624F41FFF7F8F8FFC19C8DFF2C2A2CFF090506FF93604FFFC5C6C5FFFDFFFBFFF5EAEAFFA4A2A0FFC8C0BEFFBEBBBBFF
! onkyo-0 2015-05-14 18:42:43 info stateChange onkyo.0.command {"val":"NJA00424D36F60000000000003604000028000000790000008000000001000800000000000000000000000000000000000001000000010000DFCDC4FFFDFDF6FFEAE9E6FF878584FF808081FFF9C9BCFFDC
! onkyo-0 2015-05-14 18:42:43 debug Received: command[CBCBCC4D5BCD5D5D5D564FDFD64FDFDD564FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFD8A8A8A8A8A8A8A8A8A8A8A8A000000FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFD]
! onkyo-0 2015-05-14 18:42:43 error Empty command string! (value: undefined
! onkyo-0 2015-05-14 18:42:43 info Got message: {"iscp_command":"CBCBCC4D5BCD5D5D5D564FDFD64FDFDD564FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFD8A8A8A8A8A8A8A8A8A8A8A8A000000FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFD"}
! onkyo-0 2015-05-14 18:42:43 debug ISCP!1NJA01FDFDFDFDFDFDFDFDFDFDFDFDD560D5FDFDFDFD6060FDFDFDFDFD606064FD60C4FD1A383838]
! onkyo-0 2015-05-14 18:42:43 debug ISCP!1NJA018A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8AF7F7F7F7F7F7F7F7F7F7F7F7F7FD8A8A8A8A8AF7F7F7F78A8A8AF7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7FDFDFDFDFDF
! onkyo-0 2015-05-14 18:42:43 debug ISCP!1NJA01FDFDFDFDFDFDFDFDFDFDFDFDF7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F
! onkyo-0 2015-05-14 18:42:43 debug ISCP!1NJA01FDFD8A8A8A8A8A8A8A8A8A8A8AFDFDFDFD8A8A8A8A8AFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFDF
! onkyo-0 2015-05-14 18:42:43 debug ISCP!1NJA018A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A8A6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6
! onkyo-0 2015-05-14 18:42:43 debug Received: command[NJA015AFF594843FF953B21FF181717FFE5BAADFFD5D5D6FFEEC1B5FF3C3C3CFF3E3C3BFF78716FFF87594AFF8B4835FFDFA699FF3E4040FF943B21FFFEFFFFFFC8C0B3FF88695AFF785D60FF6C4D3EFF7C4A33FFFFFFFFFF886D
! onkyo-0 2015-05-14 18:42:43 debug Received: net-usb-jacket-art[undefined]Вообще чудеса какието. На команды то он реагирует, а вот на переменную громкости нет.
-
Выложил список команд.
У меня Onkyo 818
266_tx-nr616_latest_232_codes.rar -
После обновления вообще не работает, постоянно переподключается
! onkyo-0 2015-05-14 19:06:01 debug statesDB connected
! onkyo-0 2015-05-14 19:06:01 debug objectDB connected
! onkyo-0 2015-05-14 19:05:39 debug statesDB connected
! onkyo-0 2015-05-14 19:05:39 debug objectDB connected
! onkyo-0 2015-05-14 19:05:27 debug statesDB connected
! onkyo-0 2015-05-14 19:05:27 debug objectDB connected
! onkyo-0 2015-05-14 19:05:17 debug statesDB connected
! onkyo-0 2015-05-14 19:05:17 debug objectDB connected
! onkyo-0 2015-05-14 19:05:04 info Connecting to AVR 192.168.1.210:60128
! onkyo-0 2015-05-14 19:05:04 info starting. Version 0.1.3 in c:/ioBroker/node_modules/iobroker.onkyo
! onkyo-0 2015-05-14 19:05:03 debug statesDB connected
! onkyo-0 2015-05-14 19:05:03 debug objectDB connected
! onkyo-0 2015-05-14 19:04:51 info Connecting to AVR 192.168.1.210:60128
! onkyo-0 2015-05-14 19:04:51 info starting. Version 0.1.3 in c:/ioBroker/node_modules/iobroker.onkyo
! onkyo-0 2015-05-14 19:04:50 debug statesDB connected
! onkyo-0 2015-05-14 19:04:50 debug objectDB connected
! onkyo-0 2015-05-14 19:04:37 debug statesDB connected
! onkyo-0 2015-05-14 19:04:37 debug objectDB connected
! onkyo-0 2015-05-14 19:04:27 info Connecting to AVR 192.168.1.210:60128
! onkyo-0 2015-05-14 19:04:27 info starting. Version 0.1.3 in c:/ioBroker/node_modules/iobroker.onkyo
! onkyo-0 2015-05-14 19:04:27 debug statesDB connected
! onkyo-0 2015-05-14 19:04:27 debug objectDB connected
! onkyo-0 2015-05-14 19:04:12 info Connecting to AVR 192.168.1.210:60128
! onkyo-0 2015-05-14 19:04:12 info starting. Version 0.1.3 in c:/ioBroker/node_modules/iobroker.onkyo
! onkyo-0 2015-05-14 19:04:12 debug statesDB connected
! onkyo-0 2015-05-14 19:04:12 debug objectDB connected
! onkyo-0 2015-05-14 19:03:58 info Connecting to AVR 192.168.1.210:60128
! onkyo-0 2015-05-14 19:03:58 info starting. Version 0.1.3 in c:/ioBroker/node_modules/iobroker.onkyo
! onkyo-0 2015-05-14 19:03:58 debug statesDB connected
! onkyo-0 2015-05-14 19:03:58 debug objectDB connectedhost-Server-PC 2015-05-14 19:08:29 info Restart adapter system.adapter.onkyo.0 because enabled
host-Server-PC 2015-05-14 19:08:29 error instance system.adapter.onkyo.0 terminated with code 6 (uncaught exception)
386_discovery_-_fronius.txt -
Так и не работает драйвер вообще, постоянно перезапускается, пока отключил вообще.