FHEM Forum

FHEM - Anwendungen => Multimedia => Thema gestartet von: tgv_boost am 14 Februar 2023, 21:02:36

Titel: Harmony
Beitrag von: tgv_boost am 14 Februar 2023, 21:02:36
Servus Gemeinde,
hab hier ein aktuelles FHEM auf Raspi mit Buster und möchte einen Harmony Hub verbinden.
IP Adresse ist verbindlich richtig, User und Passwort auch. Mehr als "STATE Initialized" und "state Disconnected "tut sich aber nicht.
Vielleicht hat ja jemand von Euch eine Idee wo ich noch drehen kann.
Mit bestem Gruß

Hier das Define->
define SZ.Harmony harmony blabla@blabla.de xxxxxxxxxxxx 192.168.0.78
attr SZ.Harmony room Wohnzimmer

Hier das List vom Gerät->
Internals:
   ConnectionState Disconnected
   DEF        crypt:14500a4400414843165904075c5c261516005b5d0d5a5a514d5d5d crypt:344226015700314322015352 192.168.0.78
   FUUID      63ebe362-f33f-0f1c-4321-939a7eb163adf815
   NAME       SZ.Harmony
   NOTIFYDEV  global
   NR         2895
   NTFY_ORDER 50-SZ.Harmony
   STATE      Initialized
   TYPE       harmony
   ip         192.168.0.78
   READINGS:
     2023-02-14 20:34:23   state           Disconnected
   discoveryinfo:
     accountId  15538555
     current_fw_version 4.15.307
     discoveryServerUri https://svcs.myharmony.com/Discovery/Discovery.svc
     discoveryServerUriCF https://cf-svcs.myharmony.com/Discovery/Discovery.svc
     email      blabla@blabla.de
     friendlyName Harmony Hub 2
     host_name  Harmony Hub 2
     hubId      106
     hubProfiles {Harmony="2.0"}
     ip         192.168.0.78
     minimumOpenApiClientVersionRequired 1
     mode       3
     oohEnabled true
     openApiVersion 2
     port       5222
     productId  Pimento
     protocolVersion {XMPP="1.0", HTTP="1.0", RF="1.0", WEBSOCKET="1.0"}
     recommendedOpenApiClientVersion 1
     remoteId   18184518
     setupSessionClient MS-BA078A7A-012E-41AA-9D36-9489692A75E5
     setupSessionIsStale true
     setupSessionSetupType
     setupSessionType 0
     setupStatus 0
     uuid       a9cdd5b53fa674dc7c7321626147d5a5c8985cce
   helper:
     PARTIAL   
     UserAuthToken
     password   crypt:344226015700314322015352
     username   crypt:14500a4400414843165904075c5c261516005b5d0d5a5a514d5d5d
Attributes:
   room       Wohnzimmer
Titel: Antw:Harmony
Beitrag von: MadMax-FHEM am 14 Februar 2023, 21:09:22
Warum nicht beim Support-Thread oder zumindest richtiges Unterforum?

XMPP beim Hub aktiviert?
Attribut forceWebSocket setzen?

Gruß, Joachim
Titel: Antw:Harmony
Beitrag von: tgv_boost am 14 Februar 2023, 21:26:16
gute Frage :-(
XMPP oder forceWebSocket bringt keine Änderung
Titel: Antw:Harmony
Beitrag von: MadMax-FHEM am 14 Februar 2023, 21:49:11
Poste doch mal ein aktuelles list mit aktiviertem webSocket und verschiebe ins richtige Unterforum...

EDIT:
Zitat von: help harmony
Module: 37_harmony.pm Maintainer: justme1968 Forum: Multimedia


Gruß, Joachim
Titel: Antw:Harmony
Beitrag von: tgv_boost am 14 Februar 2023, 22:11:05
Servus,
jetzt im richtigen Unterforum und mit einem aktuellen List, mit Websocket aktiviert->
vielen Dank für Eure Ideen :-)

Internals:
   CONNECTS   1
   ConnectionState Connected
   DEF        crypt:14500a4400414843165904075c5c261516005b5d0d5a5a514d5d5d crypt:344226015700314322015352 192.168.0.78
   FD         96
   FUUID      63ebe362-f33f-0f1c-4321-939a7eb163adf815
   LAST_CONNECT 2023-02-14 22:00:20
   NAME       SZ.Harmony
   NOTIFYDEV  global
   NR         2895
   NTFY_ORDER 50-SZ.Harmony
   STATE      Connected
   TYPE       harmony
   activityStatus 2
   currentActivityID 50705391
   eventCount 11
   hubSwVersion 4.15.307
   hubUpdate  0
   ip         192.168.0.78
   protocol   WEBSOCKET
   remoteId   18184518
   syncStatus 0
   websocket  1
   READINGS:
     2023-02-14 22:00:21   state           Disconnected
   discoveryinfo:
     accountId  15538555
     current_fw_version 4.15.307
     discoveryServerUri https://svcs.myharmony.com/Discovery/Discovery.svc
     discoveryServerUriCF https://cf-svcs.myharmony.com/Discovery/Discovery.svc
     email      blablabla@bla.de
     friendlyName Harmony Hub 2
     host_name  Harmony Hub 2
     hubId      106
     hubProfiles {Harmony="2.0"}
     ip         192.168.0.78
     minimumOpenApiClientVersionRequired 1
     mode       3
     openApiVersion 2
     port       5222
     productId  Pimento
     protocolVersion {XMPP="1.0", HTTP="1.0", RF="1.0", WEBSOCKET="1.0"}
     recommendedOpenApiClientVersion 1
     remoteId   18184518
     setupSessionClient MS-BA078A7A-012E-41AA-9D36-9489692A75E5
     setupSessionIsStale true
     setupSessionSetupType
     setupSessionType 0
     setupStatus 0
     uuid       a9cdd5b53fa674dc7c7321626147d5a5c8985cce
   helper:
     PARTIAL   
     password   crypt:344226015700314322015352
     username   crypt:14500a4400414843165904075c5c261516005b5d0d5a5a514d5d5d
Attributes:
   forceWebSocket 1
   room       Wohnzimmer

Titel: Antw:Harmony
Beitrag von: MadMax-FHEM am 14 Februar 2023, 22:13:33
Jetzt noch in code-Tags wie zuvor und dann hoffen, dass hier jemand kuckt, der mit dem List was sieht...

Ich leider nicht :-\

Gruß, Joachim
Titel: Antw:Harmony
Beitrag von: LordVoodoo am 26 Februar 2023, 09:24:44
Die Steuerung via App am Smartphone / Tablet funktioniert?
Titel: Antw:Harmony
Beitrag von: MadMax-FHEM am 26 Februar 2023, 09:33:36
Ich hab mal kurz verglichen und folgendes sieht bei mir anders aus:

Zitat
     setupSessionClient MS-BA078A7A-012E-41AA-9D36-9489692A75E5
     setupSessionIsStale true

nämlich

     setupSessionClient
     setupSessionIsStale false


Allerdings kann ich damit nichts anfangen...

EDIT: was mich irritiert
Zitat
   ConnectionState Connected

...

   STATE      Connected
vs.
Zitat
   READINGS:
     2023-02-14 22:00:21   state           Disconnected

Gruß, Joachim