Logitech Harmony Hub Kanalwahl ?

Begonnen von rr725, 10 Oktober 2016, 15:06:38

Vorheriges Thema - Nächstes Thema

rr725

Ich warte sehnsüchtig auf Amazon Echo und in Vorbereitung habe ich mir einmal einen Harmony Hub bestellt, welcher heute geliefert wurde.
FHEM macht ja immer wieder Spaß auch dieses Teil liess sich ganz einfach einbinden, jedoch....
ich breche mir gerade die Finger.
Wie wähle ich denn eine Fernsehsender > 9 ?!
Als Auswahl habe ich nur
                Number0                0
      Number1                1
      Number2                2
      Number3                3
      Number4                4
      Number5                5
      Number6                6
      Number7                7
      Number8                8
                Number9                9

gebe ich set harmony_38610435 command Number8  ein wird auch auf Kanal 8 gewechselt
wie sähe denn der Befehl für z. B. Kanal 11 aus !?

vielen Dank.

justme1968

innerhalb einer laufenden activity gibt es das channel kommando dafür.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

rr725

hi andre,

ich sehe nur :

Fernsehen
   NumericBasic
      Number0                0 (PEAQ TV)
      Number1                1 (PEAQ TV)
      Number2                2 (PEAQ TV)
      Number3                3 (PEAQ TV)
      Number4                4 (PEAQ TV)
      Number5                5 (PEAQ TV)
      Number6                6 (PEAQ TV)
      Number7                7 (PEAQ TV)
      Number8                8 (PEAQ TV)
      Number9                9 (PEAQ TV)
   Volume
      Mute                   Mute (Wohnzimmer Sonos (PLAY:5))
      VolumeDown             Volume Down (Wohnzimmer Sonos (PLAY:5))
      VolumeUp               Volume Up (Wohnzimmer Sonos (PLAY:5))
   Channel
      PrevChannel            Prev Channel (PEAQ TV)
      ChannelDown            Channel Down (PEAQ TV)
      ChannelUp              Channel Up (PEAQ TV)


wie gesagt, ich suche eine Möglichkeit einen Kanal > 9 direkt anzusprechen ?
Bin ich blind !?

justme1968

hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

rr725

du bist der beste....funktioniert....vielen, vielen dank !!!!

rr725

gestern gings noch .....    ;-(
geb ich "set SZ.Harmony activity Fernsehen;set SZ.Harmony channel 2"  ein, bekomm´ ich:


"no device with 'channel changing role' in current activity Fernsehen"

wenn nicht der fernseher, wer dann ?   über fernbedienung alles i. o.

justme1968

wenn du das direkt hintereinander angibst ist die activity noch garnicht richtig gestartet. da kannst du noch nicht umschalten.

wenn du beim einschalten gleich mit umschalten willst gibt es beim starten der activity mit an: set SZ.Harmony activity Fernsehen 2
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

rr725

hm....ich krieg immer beim versuch des kanalwechsels die meldung

"no device with 'channel changing role' in current activity Fernsehen"

justme1968

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.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

rr725

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.

au mannnnn----hier geht es in die bits und bytes.....  :-)
$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/'
        };



gent

Hallo,

ist zwar ein alter thread aber ich habe gerade dasselbe Problem wie rr725. Da auf die Frage von dir André nur noch der Output kam und dann keine weitere Information geflossen ist, veruche ich mal ein paar mehr Informationen dazu zu geben. Also, auch bei mir taucht folgendes auf:


'isTuningDefault' => bless( do{\(my $o = 0)}, 'JSON::XS::Boolean' ),


und


'ChannelChangingActivityRole' => '52471486',


Das Device mit der ID 52471486 ist mein Fernseher und der sollte auch den Kanal wechseln.

In der Harmony iPhone App kann ich die Kanäle auch mit der Kanalwahl-Seite (also die mit den Zahlen) wechseln. Das war zunächst nicht so, als ich die Aktivität angelegt hatte. In der Desktop MyHarmony.app konnte ich dann aber die Aktivität so bearbeiten, dass für den Kanalwechsel der Fernseher genommen wird. Seitdem kann ich auch in der iPhone App die Kanäle, wie oben geschrieben, wechseln.

Vielleicht gibt es noch einen Tipp, was wir hier machen können oder was ich noch prüfen kann und hier beisteuern.

Viele Grüße, Holger
fhem auf rPi3 mit USB boot und M2, cul866 (hm), homebridge, FlowerSens, Shelly, Harmony, WemosD1, Sonoff/Tasmota, grafana, mqtt/mosquitto