set SZ.Harmony activity Fernsehen 2
Zitat von: justme1968 am 26 November 2016, 13:27:24
dann hat sich an deiner activity irgendetwas geändert.
schau ob in der ausgabe von get <hub> activityDetail Fernsehen einen eintrag isTuningDefault und ChannelChangingActivityRole gibt.
$VAR1 = {
'icon' => 'userdata: 0x4454e0',
'activityTypeDisplayName' => 'Default',
'rules' => [],
'zones' => undef,
'suggestedDisplay' => 'Default',
'id' => 22540355,
'isMultiZone' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
'sequences' => [],
'fixit' => {
'38781464' => {
'isManualPower' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
'id' => '38781464'
},
'38610433' => {
'id' => '38610433',
'Power' => 'Off'
},
'39363781' => {
'isManualPower' => $VAR1->{'fixit'}{'38781464'}{'isManualPower'},
'id' => '39363781'
},
'38686542' => {
'isManualPower' => $VAR1->{'fixit'}{'38781464'}{'isManualPower'},
'id' => '38686542'
},
'38610432' => {
'id' => '38610432',
'Power' => 'On'
},
'38682845' => {
'isRelativePower' => $VAR1->{'fixit'}{'38781464'}{'isManualPower'},
'id' => '38682845',
'Power' => 'Off'
},
'38610435' => {
'isRelativeInput' => $VAR1->{'fixit'}{'38781464'}{'isManualPower'},
'id' => '38610435',
'Input' => 'TV',
'isRelativePower' => $VAR1->{'fixit'}{'38781464'}{'isManualPower'},
'Power' => 'On'
}
},
'controlGroup' => [
{
'function' => [
{
'name' => 'Number0',
'action' => '{"command":"0","type":"IRCommand","deviceId":"38610435"}',
'label' => '0'
},
{
'name' => 'Number1',
'action' => '{"command":"1","type":"IRCommand","deviceId":"38610435"}',
'label' => '1'
},
{
'name' => 'Number2',
'action' => '{"command":"2","type":"IRCommand","deviceId":"38610435"}',
'label' => '2'
},
{
'name' => 'Number3',
'action' => '{"command":"3","type":"IRCommand","deviceId":"38610435"}',
'label' => '3'
},
{
'name' => 'Number4',
'action' => '{"command":"4","type":"IRCommand","deviceId":"38610435"}',
'label' => '4'
},
{
'name' => 'Number5',
'action' => '{"command":"5","type":"IRCommand","deviceId":"38610435"}',
'label' => '5'
},
{
'name' => 'Number6',
'action' => '{"command":"6","type":"IRCommand","deviceId":"38610435"}',
'label' => '6'
},
{
'name' => 'Number7',
'action' => '{"command":"7","type":"IRCommand","deviceId":"38610435"}',
'label' => '7'
},
{
'name' => 'Number8',
'action' => '{"command":"8","type":"IRCommand","deviceId":"38610435"}',
'label' => '8'
},
{
'name' => 'Number9',
'action' => '{"command":"9","type":"IRCommand","deviceId":"38610435"}',
'label' => '9'
}
],
'name' => 'NumericBasic'
},
{
'function' => [
{
'name' => 'Mute',
'action' => '{"command":"Mute","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Mute'
},
{
'name' => 'VolumeDown',
'action' => '{"command":"VolumeDown","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Volume Down'
},
{
'name' => 'VolumeUp',
'action' => '{"command":"VolumeUp","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Volume Up'
}
],
'name' => 'Volume'
},
{
'function' => [
{
'name' => 'PrevChannel',
'action' => '{"command":"ChannelPrev","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Prev Channel'
},
{
'name' => 'ChannelDown',
'action' => '{"command":"ChannelDown","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Channel Down'
},
{
'name' => 'ChannelUp',
'action' => '{"command":"ChannelUp","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Channel Up'
}
],
'name' => 'Channel'
},
{
'function' => [
{
'name' => 'DirectionDown',
'action' => '{"command":"DirectionDown","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Direction Down'
},
{
'name' => 'DirectionLeft',
'action' => '{"command":"DirectionLeft","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Direction Left'
},
{
'name' => 'DirectionRight',
'action' => '{"command":"DirectionRight","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Direction Right'
},
{
'name' => 'DirectionUp',
'action' => '{"command":"DirectionUp","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Direction Up'
},
{
'name' => 'Select',
'action' => '{"command":"OK","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Select'
}
],
'name' => 'NavigationBasic'
},
{
'function' => [
{
'name' => 'Stop',
'action' => '{"command":"Stop","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Stop'
},
{
'name' => 'Play',
'action' => '{"command":"Play","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Play'
},
{
'name' => 'Rewind',
'action' => '{"command":"Rewind","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Rewind'
},
{
'name' => 'Pause',
'action' => '{"command":"Pause","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Pause'
},
{
'name' => 'FastForward',
'action' => '{"command":"FastForward","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Fast Forward'
}
],
'name' => 'TransportBasic'
},
{
'function' => [
{
'name' => 'Record',
'action' => '{"command":"Record","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Record'
}
],
'name' => 'TransportRecording'
},
{
'function' => [
{
'name' => 'Menu',
'action' => '{"command":"Menu","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Menu'
},
{
'name' => 'Subtitle',
'action' => '{"command":"Subtitle","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Subtitle'
},
{
'name' => 'Back',
'action' => '{"command":"Back","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Back'
}
],
'name' => 'NavigationDVD'
},
{
'function' => [
{
'name' => 'List',
'action' => '{"command":"List","type":"IRCommand","deviceId":"38610435"}',
'label' => 'List'
},
{
'name' => 'Favorite',
'action' => '{"command":"Favorite","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Favorite'
}
],
'name' => 'NavigationDSTB'
},
{
'function' => [
{
'name' => 'Home',
'action' => '{"command":"Home","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Home'
}
],
'name' => 'GameType3'
},
{
'function' => [
{
'name' => 'Guide',
'action' => '{"command":"Guide","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Guide'
},
{
'name' => 'Info',
'action' => '{"command":"Info","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Info'
},
{
'name' => 'Exit',
'action' => '{"command":"Exit","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Exit'
}
],
'name' => 'NavigationExtended'
},
{
'function' => [
{
'name' => 'Sleep',
'action' => '{"command":"Sleep","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Sleep'
}
],
'name' => 'Setup'
},
{
'function' => [
{
'name' => 'Green',
'action' => '{"command":"Green","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Green'
},
{
'name' => 'Red',
'action' => '{"command":"Red","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Red'
},
{
'name' => 'Blue',
'action' => '{"command":"Blue","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Blue'
},
{
'name' => 'Yellow',
'action' => '{"command":"Yellow","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Yellow'
}
],
'name' => 'ColoredButtons'
},
{
'function' => [
{
'name' => 'Teletext',
'action' => '{"command":"Teletext","type":"IRCommand","deviceId":"38610435"}',
'label' => 'Teletext'
}
],
'name' => 'Teletext'
}
],
'activityOrder' => 2,
'isTuningDefault' => $VAR1->{'isMultiZone'},
'isAVActivity' => $VAR1->{'fixit'}{'38781464'}{'isManualPower'},
'type' => 'VirtualTelevisionN',
'label' => 'Fernsehen',
'baseImageUri' => 'https://rcbu-test-ssl-amr.s3.amazonaws.com/'
};
'isTuningDefault' => bless( do{\(my $o = 0)}, 'JSON::XS::Boolean' ),
'ChannelChangingActivityRole' => '52471486',