2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-27 10:37:13 +00:00

ONKYOdb.pm: add commands NDS, NSB, PMB

git-svn-id: https://svn.fhem.de/fhem/trunk@11576 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2016-05-31 15:17:26 +00:00
parent b9ec474cd5
commit 2428d51312

View File

@ -88,11 +88,13 @@ my $ONKYO_cmds_hr = {
'net-popup-message' => 'NPU', 'net-popup-message' => 'NPU',
'net-receiver-information' => 'NRI', 'net-receiver-information' => 'NRI',
'net-service' => 'NSV', 'net-service' => 'NSV',
'net-standby' => 'NSB',
'net-usb-album-name-info' => 'NAL', 'net-usb-album-name-info' => 'NAL',
'net-usb-artist-name-info' => 'NAT', 'net-usb-artist-name-info' => 'NAT',
'net-usb-jacket-art' => 'NJA', 'net-usb-jacket-art' => 'NJA',
'net-usb-list-info' => 'NLS', 'net-usb-list-info' => 'NLS',
'net-usb-list-title-info' => 'NLT', 'net-usb-list-title-info' => 'NLT',
'net-usb-device-status' => 'NDS',
'net-usb-menu-status' => 'NMS', 'net-usb-menu-status' => 'NMS',
'net-usb-play-status' => 'NST', 'net-usb-play-status' => 'NST',
'net-usb-time-info' => 'NTM', 'net-usb-time-info' => 'NTM',
@ -117,6 +119,7 @@ my $ONKYO_cmds_hr = {
'speaker-layout' => 'SPL', 'speaker-layout' => 'SPL',
'speaker-level-calibration' => 'SLC', 'speaker-level-calibration' => 'SLC',
'subwoofer-temporary-level' => 'SWL', 'subwoofer-temporary-level' => 'SWL',
'phase-matching-bass' => 'PMB',
'power' => 'PWR', 'power' => 'PWR',
'tape1-a' => 'CT1', 'tape1-a' => 'CT1',
'tape2-b' => 'CT2', 'tape2-b' => 'CT2',
@ -714,6 +717,10 @@ my $ONKYO_values_hr = {
'NAT' => { 'NAT' => {
'query' => 'QSTN' 'query' => 'QSTN'
}, },
'NDS' => {
'nfr' => 'nfr',
'query' => 'QSTN'
},
'NJA' => { 'NJA' => {
'tp-xx-xx-xx-xx-xx-xx' => 'tp{xx}{xx}{xx}{xx}{xx}{xx}', 'tp-xx-xx-xx-xx-xx-xx' => 'tp{xx}{xx}{xx}{xx}{xx}{xx}',
'off' => 'DIS', 'off' => 'DIS',
@ -741,6 +748,11 @@ my $ONKYO_values_hr = {
# 'NPU' => { # 'NPU' => {
# '' => '' # '' => ''
# }, # },
'NSB' => {
'off' => 'OFF',
'on' => 'ON',
'query' => 'QSTN'
},
'NST' => { 'NST' => {
'prs' => 'prs', 'prs' => 'prs',
'query' => 'QSTN' 'query' => 'QSTN'
@ -833,6 +845,12 @@ my $ONKYO_values_hr = {
'enter' => 'ENTER', 'enter' => 'ENTER',
'xrange(30)' => '(0, 30)' 'xrange(30)' => '(0, 30)'
}, },
'PMB' => {
'off' => '00',
'on' => '01',
'toggle' => 'TG',
'query' => 'QSTN'
},
'PWR' => { 'PWR' => {
'off' => '00', 'off' => '00',
'on' => '01', 'on' => '01',
@ -1654,6 +1672,33 @@ my $ONKYO_values_hr = {
# ----------------Complete command reference database----------------------- # ----------------Complete command reference database-----------------------
my $ONKYO_cmddb = { my $ONKYO_cmddb = {
'1' => { '1' => {
'PMB',
{
'description' => 'Phase Matching Bass Command',
'name' => 'phase-matching-bass',
'values' => {
'00',
{
'description' => 'sets Off',
'name' => 'off'
},
'01',
{
'description' => 'sets On',
'name' => 'on'
},
'TG',
{
'description' => 'sets Phase Matching Bass Wrap-Around Up',
'name' => 'toggle'
},
'QSTN',
{
'description' => 'gets Phase Matching Bass',
'name' => 'query'
}
}
},
'PWR', 'PWR',
{ {
'description' => 'System Power Command', 'description' => 'System Power Command',
@ -4509,6 +4554,31 @@ nnn...nnn : Character of Title Bar (variable-length, 64 Unicode letters [UTF-8 e
}, },
} }
}, },
'NDS',
{
'description' => 'NET Connection/USB Device Status',
'name' => 'net-usb-device-status',
'values' => {
'nfr',
{
'description' =>
'NET Connection/USB Device Status (3 letters)
n -> NET Connection status: \"-\": no connection, \"E\": Ether, \"W\": Wireless
f -> Front USB(USB1) Device Status: \"-\": no device, \"i\": iPod/iPhone,
\"M\": Memory/NAS, \"W\": Wireless Adaptor, \"B\": Bluetooth Adaptor,
\"G\": Google USB, \"x\": disable
r -> Rear USB(USB2) Device Status: \"-\": no device, \"i\": iPod/iPhone,
\"M\": Memory/NAS, \"W\": Wireless Adaptor, \"B\": Bluetooth Adaptor,
\"G\": Google USB, \"x\": disable',
'name' => 'None'
},
'QSTN',
{
'description' => 'gets the Net/USB Status',
'name' => 'query'
},
}
},
'NMS', 'NMS',
{ {
'description' => 'NET/USB Menu Status', 'description' => 'NET/USB Menu Status',
@ -4573,6 +4643,29 @@ ii-> Service icon
} }
} }
}, },
'NSB',
{
'description' =>
'Network Standby Settings (for Network Control Only and Available in AVR is PowerOn)',
'name' => 'net-standby',
'values' => {
'OFF',
{
'description' => 'sets Network Standby is Off',
'name' => 'off'
},
'ON',
{
'description' => 'sets Network Standby is On',
'name' => 'on'
},
'QSTN',
{
'description' => 'gets Network Standby Setting',
'name' => 'query'
},
}
},
'NSV', 'NSV',
{ {
'description' => 'NET Service{for Network Control Only}', 'description' => 'NET Service{for Network Control Only}',