Logitech Harmony Hub

Begonnen von der-Lolo, 07 August 2013, 14:17:16

Vorheriges Thema - Nächstes Thema

Mitch

 ::) ich bearbeite nie die cfg und es war nur ein Schreibfehler oben (hab das nicht aus fhem kopiert)
FHEM im Proxmox Container

justme1968

dann sollte es einfach gehen. das tut es bei mir zumindest... grad getestet.

aber versuch es mal schrittweise ohne die eventMap nur mit webCmd und den original Kommandos.

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

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

Mitch

Original Kommandos gehen, erst nachdem ich den eventMap eingefügt habe, kam die Fehlermeldung.

Kann leider erts heute Abend testen, bin noch unterwegs.
FHEM im Proxmox Container

justme1968

dann wäre es gut die fehlermeldung zu sehen :)
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

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

TNT0068

Nabend zusammen,
ich schalte mittlerweile meine Media Geräte nur noch über FHEM an und aus bzw. set WZ_Hub activity TV.Wohnzimmer.
Mir ist dabei folgendes aufgefallen. An meinem TV hängt an HDMI 1 eine Vuduo 2. In der Logitech app ist eingestellt das er auf HDMI 1 wechseln soll. Über die App läuft es auch bestens. Schalte ich aber über FHEM an, wird das HDMI 1 ignoriert. Der TV geht dann auf die interne Kanal Belegung merkt das dort nichts ist und schaltet dann auf HDMI 1. Das komische daran ist bei jedem Einschaltvorgang über FHEM ist der Kanal 2 höher sprich erstemal war es 2 dann 4 dann 6 usw....

Das verhalten ist schon eigenartig und kann ich mir auch nicht erklären, ist auch nur ein Schönheitsfehler. Ansonsten ist es ein geniales Modul
Homematic HMLAN HMUSB Heizung, Strom und Licht , Vuduo2, Kodi, Hue, Logitech Harmony Hub, Alexa

justme1968

das kann ich mir nur erklären wenn aus irgendeinem grund das umschalten irgendwie anders funktioniert als sonst. vielleicht macht die app noch irgendetwas das nicht über den hub läuft.

wie ist die eingangswahl für deinen fernseher in der harmony app konfiguriert?

hast du für deinen fernseher cec aktiv?

zeig mir mal bitte die ausgaben von get <hub> activityDetail TV.Wohnzimmer und get <hub> deviceDetail <dein fernseher>

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

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

TNT0068

#336
CEC ist nicht aktiv.
In der Harmony ist er auf HDMI 1 eingerichtet.

ActiviyDetail
$VAR1 = {
          'icon' => 'userdata: 0x4454c8',
          'fixit' => {
                       '20533861' => {
                                       'Input' => 'Hdmi 1',
                                       'isRelativePower' => bless( do{\(my $o = 1)}, 'JSON::XS::Boolean' ),
                                       'id' => '20533861',
                                       'Power' => 'On'
                                     },
                       '21330243' => {
                                       'isManualPower' => $VAR1->{'fixit'}{'20533861'}{'isRelativePower'},
                                       'id' => '21330243'
                                     },
                       '20533860' => {
                                       'Input' => 'TV',
                                       'isRelativePower' => $VAR1->{'fixit'}{'20533861'}{'isRelativePower'},
                                       'id' => '20533860',
                                       'Power' => 'On'
                                     },
                       '20533862' => {
                                       'Input' => 'Optical',
                                       'isRelativePower' => $VAR1->{'fixit'}{'20533861'}{'isRelativePower'},
                                       'id' => '20533862',
                                       'Power' => 'On'
                                     },
                       '20533859' => {
                                       'isManualPower' => $VAR1->{'fixit'}{'20533861'}{'isRelativePower'},
                                       'id' => '20533859'
                                     },
                       '20533863' => {
                                       'isRelativePower' => $VAR1->{'fixit'}{'20533861'}{'isRelativePower'},
                                       'id' => '20533863',
                                       'Power' => 'Off'
                                     },
                       '21329639' => {
                                       'isManualPower' => $VAR1->{'fixit'}{'20533861'}{'isRelativePower'},
                                       'id' => '21329639'
                                     }
                     },
          'controlGroup' => [
                              {
                                'function' => [
                                                {
                                                  'name' => 'Number0',
                                                  'action' => '{"command":"0","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => '0'
                                                },
                                                {
                                                  'name' => 'Number1',
                                                  'action' => '{"command":"1","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => '1'
                                                },
                                                {
                                                  'name' => 'Number2',
                                                  'action' => '{"command":"2","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => '2'
                                                },
                                                {
                                                  'name' => 'Number3',
                                                  'action' => '{"command":"3","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => '3'
                                                },
                                                {
                                                  'name' => 'Number4',
                                                  'action' => '{"command":"4","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => '4'
                                                },
                                                {
                                                  'name' => 'Number5',
                                                  'action' => '{"command":"5","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => '5'
                                                },
                                                {
                                                  'name' => 'Number6',
                                                  'action' => '{"command":"6","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => '6'
                                                },
                                                {
                                                  'name' => 'Number7',
                                                  'action' => '{"command":"7","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => '7'
                                                },
                                                {
                                                  'name' => 'Number8',
                                                  'action' => '{"command":"8","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => '8'
                                                },
                                                {
                                                  'name' => 'Number9',
                                                  'action' => '{"command":"9","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => '9'
                                                }
                                              ],
                                'name' => 'NumericBasic'
                              },
                              {
                                'function' => [
                                                {
                                                  'name' => 'Mute',
                                                  'action' => '{"command":"Mute","type":"IRCommand","deviceId":"20533862"}',
                                                  'label' => 'Mute'
                                                },
                                                {
                                                  'name' => 'VolumeDown',
                                                  'action' => '{"command":"VolumeDown","type":"IRCommand","deviceId":"20533862"}',
                                                  'label' => 'Volume Down'
                                                },
                                                {
                                                  'name' => 'VolumeUp',
                                                  'action' => '{"command":"VolumeUp","type":"IRCommand","deviceId":"20533862"}',
                                                  'label' => 'Volume Up'
                                                }
                                              ],
                                'name' => 'Volume'
                              },
                              {
                                'function' => [
                                                {
                                                  'name' => 'ChannelDown',
                                                  'action' => '{"command":"ChannelDown","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Channel Down'
                                                },
                                                {
                                                  'name' => 'ChannelUp',
                                                  'action' => '{"command":"ChannelUp","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Channel Up'
                                                }
                                              ],
                                'name' => 'Channel'
                              },
                              {
                                'function' => [
                                                {
                                                  'name' => 'DirectionDown',
                                                  'action' => '{"command":"DirectionDown","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Direction Down'
                                                },
                                                {
                                                  'name' => 'DirectionLeft',
                                                  'action' => '{"command":"DirectionLeft","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Direction Left'
                                                },
                                                {
                                                  'name' => 'DirectionRight',
                                                  'action' => '{"command":"DirectionRight","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Direction Right'
                                                },
                                                {
                                                  'name' => 'DirectionUp',
                                                  'action' => '{"command":"DirectionUp","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Direction Up'
                                                },
                                                {
                                                  'name' => 'Select',
                                                  'action' => '{"command":"OK","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Select'
                                                }
                                              ],
                                'name' => 'NavigationBasic'
                              },
                              {
                                'function' => [
                                                {
                                                  'name' => 'Stop',
                                                  'action' => '{"command":"Stop","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Stop'
                                                },
                                                {
                                                  'name' => 'Play',
                                                  'action' => '{"command":"Play","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Play'
                                                },
                                                {
                                                  'name' => 'Rewind',
                                                  'action' => '{"command":"Rewind","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Rewind'
                                                },
                                                {
                                                  'name' => 'Pause',
                                                  'action' => '{"command":"Pause","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Pause'
                                                },
                                                {
                                                  'name' => 'FastForward',
                                                  'action' => '{"command":"FastForward","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Fast Forward'
                                                }
                                              ],
                                'name' => 'TransportBasic'
                              },
                              {
                                'function' => [
                                                {
                                                  'name' => 'Record',
                                                  'action' => '{"command":"Record","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Record'
                                                }
                                              ],
                                'name' => 'TransportRecording'
                              },
                              {
                                'function' => [
                                                {
                                                  'name' => 'Menu',
                                                  'action' => '{"command":"Menu","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Menu'
                                                },
                                                {
                                                  'name' => 'Subtitle',
                                                  'action' => '{"command":"Subtitle","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Subtitle'
                                                }
                                              ],
                                'name' => 'NavigationDVD'
                              },
                              {
                                'function' => [
                                                {
                                                  'name' => 'Guide',
                                                  'action' => '{"command":"EPG","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Guide'
                                                },
                                                {
                                                  'name' => 'Exit',
                                                  'action' => '{"command":"Exit","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Exit'
                                                }
                                              ],
                                'name' => 'NavigationExtended'
                              },
                              {
                                'function' => [
                                                {
                                                  'name' => 'Green',
                                                  'action' => '{"command":"Green","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Green'
                                                },
                                                {
                                                  'name' => 'Red',
                                                  'action' => '{"command":"Red","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Red'
                                                },
                                                {
                                                  'name' => 'Blue',
                                                  'action' => '{"command":"Blue","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Blue'
                                                },
                                                {
                                                  'name' => 'Yellow',
                                                  'action' => '{"command":"Yellow","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Yellow'
                                                }
                                              ],
                                'name' => 'ColoredButtons'
                              },
                              {
                                'function' => [
                                                {
                                                  'name' => 'Teletext',
                                                  'action' => '{"command":"Teletext","type":"IRCommand","deviceId":"20533860"}',
                                                  'label' => 'Teletext'
                                                }
                                              ],
                                'name' => 'Teletext'
                              }
                            ],
          'activityTypeDisplayName' => 'Default',
          'activityOrder' => 0,
          'isTuningDefault' => $VAR1->{'fixit'}{'20533861'}{'isRelativePower'},
          'ChannelChangingActivityRole' => '20533860',
          'KeyboardTextEntryActivityRole' => '21330243',
          'type' => 'VirtualTelevisionN',
          'suggestedDisplay' => 'Default',
          'label' => 'TV Wohnzimmer',
          'id' => 9856010,
          'baseImageUri' => 'https://rcbu-test-ssl-amr.s3.amazonaws.com/',
          'sequences' => [
                           '215460',
                           '215461'
                         ]
        };


Homematic HMLAN HMUSB Heizung, Strom und Licht , Vuduo2, Kodi, Hue, Logitech Harmony Hub, Alexa

TNT0068

#337
irgendwie will der ganze Code hier nicht rein. Für den TV habe ich eine Text Datei angehangen

Homematic HMLAN HMUSB Heizung, Strom und Licht , Vuduo2, Kodi, Hue, Logitech Harmony Hub, Alexa

dieda

Hallo Andre,

bin gerade am Testen. Ganz nebenbei habe ich mir das Wiki dazu angeschaut. Möchtest du eine Korrekturfahne?
Komponenten:
Sensoren und Aktoren: FS20, Max!, Zigbee, Zwave
IODev:  Cul1101, MaxLan, ZWAVE, Deconz
Router: KD-Fritte (6360)
Sonstiges: Raspberries,  1x LMS,1 FHEM, 1 x zum Testen,  Logitech-Clients,  Onkyo, SamsungTV, Squeezebox, TabletUIs

justme1968

ja gerne. ansonsten ist die wiki seite auch noch sehr unvollständig. wer sich dort austoben will ist gerne eingeladen.

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

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

Simon74

Kann ich über das Modul die "home" Taste drücken ?

justme1968

welche home taste bei welchem gerät?

wenn es um ir geht:
mit get <hub> commands und get <hub> deviceCommands bekommst du die möglichen ir kommandos die für deine activity bzw. für die geräte möglich bzw hinterlegt sind. wenn es da nicht dabei ist kannst du ganz normal von der original fernbedienung ins gerät anlernen.

wenn es um bluetooth (tastatur) geht:
du musst dein gerät mit dem hub als bluetooth tastatur gepaired haben und kannst dann ein set <hub> cursor home machen. wenn das gerät nicht die tastatur rolle innerhalb der activity hat musst du vorher per set <hub> hidDevice <device>das ziel für die tastendrücke angeben.


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

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

antonwinden

Hab seit gestern abend ein komisches problem mit dem modul.
hab über das modul ein update ausgeführt und seither spinnt es mit der fehlermeldung:
2014.11.14 23:24:23 3: logitechhubwz: unknown startactivity message: <oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity' errorcode='200' errorstring='OK'><![CDATA[done=0:total=0]]></oa>
fhem wird dann unbedienbar und sobald ich den hub rausnehme aus fhem rennt wieder alles perfekt...
was ist mein fehler?
lg toni
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...

justme1968

trenn den hub mal vom strom und schließ ihn wieder an.

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

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

antonwinden

hab ich gestern auch schon gemacht - dann hat es 3h wieder funktioniert.
hab ihn jetzt mal 1 h vom strom genommen und jetzt wieder angehängt. funktioniert jetzt mal.
was mir noch aufgefallen ist im log das der hub immer poweroff gemeldet hat und mein notify dann immer den subwoofern den strom abgedreht hat - allerdings jede sekunde in einer endlosschleife und das egal ob ich mit der fernbedienung den hub bedient hab oder nicht...
werd mal eine abfrage dazu geben ob der strom nicht eh schon weg ist...
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...