Logitech Harmony Hub

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

Vorheriges Thema - Nächstes Thema

der-Lolo

Nein, in der Ultimate kann man Sonos Geräte hinzufügen und auch steuern, das funktioniert ohne IR übers Lan.
Laut & Leise Mute und unMute gehen, aber das umschalten auf Line-In funktioniert scheinbar nicht.

antonwinden

Ich habe seit längerer Zeit eine harmony bei mir in fhem integriert - läuft soweit gut...
Allerdings schickt das Ding nach längerem gutem Funktionieren einfach ein nicht gewünschtes Poweroff
im Logfile erscheint dann:
2015.07.23 19:21:36 1: PERL WARNING: Argument "<unknown>" isn't numeric in numeric eq (==) at ./FHEM/37_harmony.pm line 218.

wie kann ich dieses verhalten ändern bzw die ursachen genauer einkreisen?
ursprünglich hab ich ja vermutet das es damit zusammenhängt das ich 2 hubs habe und hab jetzt mal probe weise den 2. weniger benötigten nicht in fhem definiert.
danke anton
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...

justme1968

ist dein modul aktuell? einen fehler in dieser art habe ich erst vor kurzem behoben.

bitte mach mal ein list auf das device wenn es wieder passiert.

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

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

antonwinden

#738
hat es gerade wieder gemacht...
was mir aufgefallen ist das ein kurzer disconnect dabei war
jetzt musste ich den hub in fhem deleten damit es wieder ging - hub musste ich aber nicht neustarten. ohne fhem läuft das ding problemlos... :-( . dabei ist es erst mit fhem gemeinsam richtig sinnvoll - zumindestens bei mir.
ein list ergibt:
Internals:
   CFGFN      multimedia.cfg
   CONNECTS   3
   ConnectionState LoggedIn
   DEF        ***** *****l 192.168.1.***
   FD         4
   LAST_CONNECT 2015-07-24 21:37:31
   LAST_DISCONNECT 2015-07-24 21:37:29
   NAME       logitechhubwz
   NR         858
   NTFY_ORDER 50-logitechhubwz
   STATE      Connected
   TYPE       harmony
   activityStatus 0
   currentActivityID -1
   hubSwVersion 4.5.106
   hubUpdate  0
   identity   c3372479-1b1d-4716-82a4-e7ea1e4a1775
   ip         192.168.1.158
   previousActivityID 11284864
   syncStatus 0
   Readings:
     2015-07-24 21:54:09   activity        PowerOff
     2015-07-24 21:54:09   currentActivity PowerOff
     2015-07-24 21:54:09   previousActivity Fernsehen
     2015-07-24 21:37:31   state           Connected
   Config:
     activity:
       HASH(0x27f8158)
       HASH(0x318de90)
       HASH(0x27e5b30)
       HASH(0x33ac8c8)
       HASH(0x3190a48)
       HASH(0x319e0f0)
     Content:
       contentDeviceHost https://content.dhg.myharmony.com/1.0/Device;{deviceProfileUri}
       contentImageHost https://d1tk8oqnnsddt5.cloudfront.net/1.0/station/{stationId}/image;maxX=40;maxY=40
       contentServiceHost https://content.dhg.myharmony.com/1.0/Service/{providerId}
       contentUserHost https://content.dhg.myharmony.com/1.0/User;{userProfileUri}
       householdUserProfileUri svcs.myharmony.com/res//household/3980116-IrgkFJfHn7IzcBWU6SHWfdoNLHg08DRc+nXilp8ipcE=/user/default
     device:
       HASH(0x19dd278)
       HASH(0x319d5c8)
       HASH(0x31a28d8)
       HASH(0x31a7228)
       HASH(0x31aafb8)
     Global:
       locale     de-DE
       timeStampHash 2c0ea675-e694-497a-9d47-1ab53c5849a857fdf24e-b670-4aac-846b-ff9069484f03/b3359e8d-8391-4372-99e3-d4f39e73ce34539da74f-259f-4003-97c4-f00df2c54b88eb570224-f909-4778-b368-f4e3249946be5785802Wohnzimmerde-DEATSilverlightWebClient0-1998501505-733820400europe%2fviennaeurope%2fbrussels
     sequence:
       HASH(0x2ec7740)
   Discoveryinfo:
     accountId  5793492
     current_fw_version 4.5.106
     discoveryServerUri https://svcs.myharmony.com/Discovery/Discovery.svc
     email      *******
     friendlyName Wohnzimmer
     host_name  Wohnzimmer
     hubId      97
     hubProfiles {Harmony="2.0"}
     ip         192.168.1.***
     minimumOpenApiClientVersionRequired 1
     openApiVersion 2
     port       5222
     productId  Pimento
     protocolVersion {XMPP="1.0", HTTP="1.0", RF="1.0", WEBSOCKET="1.0"}
     recommendedOpenApiClientVersion 1
     remoteId   5785802
     setupSessionClient SilverlightWebClient
     setupSessionIsStale true
     setupSessionType 0
     setupStatus 0
     uuid       c3372479-1b1d-4716-82a4-e7ea1e4a1775
   Helper:
     AccountId  0
     PARTIAL
     UserAuthToken gn3KyNam1xAsCV2OjFKkzVYRZr7DFcuEkh/a05YPz7LJfWQRxKGJGz8wOXc10MnX
     password   *******
     username  *******
Attributes:
   group      Medien
   room       MedienWohnzimmer
   verbose    5
   webCmd     activity
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...

antonwinden

nachdem er sich gerade wieder ohne mein zutun ein "PowerOff" genehmigt hat und ich voher verbose auf 5 gestellt hab
hier das log davon:
2015.07.27 12:04:37 4: logitechhubwz: send: <iq type='get' id='2992'><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity'>activityId=-1:timestamp=0</oa></iq>
SimpleWrite data: 0
SimpleWrite data: 0
SimpleWrite data: 1
SimpleWrite data: 1
2015.07.27 12:04:38 4: logitechhubwz: unknown (no cdata): <iq id="2991" type="get"><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity' errorcode='200' errorstring='OK'></oa></iq><iq/>
2015.07.27 12:04:38 4: logitechhubwz: send: <iq type='get' id='2993'><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity'>activityId=-1:timestamp=0</oa></iq>
SimpleWrite data: 0
SimpleWrite data: 0
2015.07.27 12:04:38 4: logitechhubwz: unknown (no cdata): <iq id="2992" type="get"><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity' errorcode='200' errorstring='OK'></oa></iq><iq/>
2015.07.27 12:04:38 4: logitechhubwz: unknown: <message content-length="647"/>
2015.07.27 12:04:38 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"11284904","syncStatus":0,"time":1437731332,"stateVersion":658,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":3,"runningActivityList":"11284904","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 12:04:38 4: logitechhubwz: send: <iq type='get' id='2994'><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity'>activityId=-1:timestamp=0</oa></iq>
SimpleWrite data: 0
SimpleWrite data: 0
2015.07.27 12:04:38 4: logitechhubwz: unknown (no cdata): <iq id="2993" type="get"><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity' errorcode='200' errorstring='OK'></oa></iq><iq/>
2015.07.27 12:04:38 4: logitechhubwz: unknown (no cdata): <iq id="2994" type="get"><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity' errorcode='200' errorstring='OK'></oa></iq>
2015.07.27 12:04:38 4: logitechhubwz: starting/stopping device: Philips-Fernseher
2015.07.27 12:04:39 4: logitechhubwz: starting/stopping device (2/3): Denon AV Receiver
2015.07.27 12:04:40 4: logitechhubwz: done starting/stopping device: WD TV Live
2015.07.27 12:04:40 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":659,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"11284904","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 12:04:40 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":660,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 12:04:40 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":661,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":3,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 12:04:40 4: logitechhubwz: done starting/stopping device: <unknown>
2015.07.27 12:04:40 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":662,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 12:04:40 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":663,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 12:04:49 4: logitechhubwz: send: <iq type='get' id='ping-2995'><ping xmlns='urn:xmpp:ping'/></iq>
SimpleWrite data: 0
SimpleWrite data: 0
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...

justme1968

war auch hier ein reconnect dabei ?

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

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

antonwinden

Zitat von: justme1968 am 27 Juli 2015, 13:31:37
war auch hier ein reconnect dabei ?

gruss
  andre
nein da war der letzte reconnect 4h vorher.
gruss anton
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...

antonwinden

#742
und jetzt gerade hat sich das problem mal wieder hochgeschaukelt denn kaum will ich radio einschalten schaltet das ding wieder aus. hab jetzt auch ein filelog auf den hub gemacht. Ergebnis:
2015-07-27_15:52:01 logitechhubwz currentActivity: starting Radio
2015-07-27_15:52:07 logitechhubwz currentActivity: Radio
2015-07-27_15:52:07 logitechhubwz activity: Radio
2015-07-27_15:52:07 logitechhubwz currentActivity: Radio
2015-07-27_15:52:07 logitechhubwz currentActivity: Radio
2015-07-27_15:52:13 logitechhubwz activity PowerOff
2015-07-27_15:52:13 logitechhubwz activity PowerOff
2015-07-27_15:52:14 logitechhubwz currentActivity: stopping Radio
2015-07-27_15:52:14 logitechhubwz activity PowerOff
2015-07-27_15:52:14 logitechhubwz currentActivity: PowerOff
2015-07-27_15:52:14 logitechhubwz activity: PowerOff
2015-07-27_15:52:14 logitechhubwz currentActivity: PowerOff
2015-07-27_15:52:14 logitechhubwz currentActivity: PowerOff
2015-07-27_15:52:14 logitechhubwz currentActivity: stopping PowerOff
2015-07-27_15:52:14 logitechhubwz currentActivity: PowerOff
2015-07-27_15:52:14 logitechhubwz currentActivity: PowerOff
2015-07-27_15:52:14 logitechhubwz currentActivity: PowerOff
2015-07-27_15:52:15 logitechhubwz activity PowerOff
2015-07-27_15:52:15 logitechhubwz currentActivity: stopping PowerOff
2015-07-27_15:52:15 logitechhubwz currentActivity: PowerOff
2015-07-27_15:52:15 logitechhubwz currentActivity: PowerOff
2015-07-27_15:52:15 logitechhubwz currentActivity: PowerOff
2015-07-27_16:01:39 logitechhubwz currentActivity: starting Radio
2015-07-27_16:01:45 logitechhubwz currentActivity: Radio
2015-07-27_16:01:45 logitechhubwz activity: Radio
2015-07-27_16:01:45 logitechhubwz currentActivity: Radio
2015-07-27_16:01:45 logitechhubwz currentActivity: Radio
2015-07-27_16:01:45 logitechhubwz activity PowerOff
2015-07-27_16:01:45 logitechhubwz activity PowerOff
2015-07-27_16:01:46 logitechhubwz activity PowerOff
2015-07-27_16:01:46 logitechhubwz currentActivity: stopping Radio
2015-07-27_16:01:46 logitechhubwz activity PowerOff
2015-07-27_16:01:46 logitechhubwz currentActivity: PowerOff
2015-07-27_16:01:46 logitechhubwz activity: PowerOff
2015-07-27_16:01:46 logitechhubwz currentActivity: PowerOff
2015-07-27_16:01:46 logitechhubwz currentActivity: PowerOff
2015-07-27_16:01:46 logitechhubwz currentActivity: stopping PowerOff
2015-07-27_16:01:46 logitechhubwz currentActivity: PowerOff
2015-07-27_16:01:46 logitechhubwz currentActivity: PowerOff
2015-07-27_16:01:46 logitechhubwz currentActivity: PowerOff

dazu der auszug aus dem fhemlog mit verbose 5
2015.07.27 15:52:01 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"11284879","syncStatus":0,"time":1437731332,"stateVersion":679,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":1,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 15:52:01 4: logitechhubwz: unknown message: <event xmlns="connect.logitech.com" type="harmony.engine?startActivity"><![CDATA[done=1:total=2:deviceId=22767231]]></event>
2015.07.27 15:52:07 4: logitechhubwz: unknown message: <event xmlns="connect.logitech.com" type="harmony.engine?startActivity"><![CDATA[done=2:total=2:deviceId=22767231]]></event>
2015.07.27 15:52:07 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"11284879","syncStatus":0,"time":1437731332,"stateVersion":680,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":2,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 15:52:07 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"11284879","syncStatus":0,"time":1437731332,"stateVersion":681,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":2,"runningActivityList":"11284879","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 15:52:13 4: logitechhubwz: send: <iq type='get' id='3274'><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity'>activityId=-1:timestamp=0</oa></iq>
SimpleWrite data: 0
SimpleWrite data: 0
2015.07.27 15:52:13 4: logitechhubwz: send: <iq type='get' id='3275'><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity'>activityId=-1:timestamp=0</oa></iq>
SimpleWrite data: 0
SimpleWrite data: 0
SimpleWrite data: 1
SimpleWrite data: 0
2015.07.27 15:52:14 4: logitechhubwz: unknown (no cdata): <iq id="3274" type="get"><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity' errorcode='200' errorstring='OK'></oa></iq><iq/>
2015.07.27 15:52:14 4: logitechhubwz: unknown (no cdata): <iq id="3275" type="get"><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity' errorcode='200' errorstring='OK'></oa></iq><message content-length="647"/>
2015.07.27 15:52:14 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"11284879","syncStatus":0,"time":1437731332,"stateVersion":682,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":3,"runningActivityList":"11284879","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 15:52:14 4: logitechhubwz: send: <iq type='get' id='3276'><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity'>activityId=-1:timestamp=0</oa></iq>
SimpleWrite data: 0
SimpleWrite data: 0
2015.07.27 15:52:14 4: logitechhubwz: done starting/stopping device: Denon AV Receiver
2015.07.27 15:52:14 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":683,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"11284879","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 15:52:14 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":684,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 15:52:14 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":685,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":3,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 15:52:14 4: logitechhubwz: done starting/stopping device: <unknown>
2015.07.27 15:52:14 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":686,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 15:52:14 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":687,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 15:52:15 4: logitechhubwz: send: <iq type='get' id='3277'><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity'>activityId=-1:timestamp=0</oa></iq>
SimpleWrite data: 0
SimpleWrite data: 0
2015.07.27 15:52:15 4: logitechhubwz: unknown (no cdata): <iq id="3277" type="get"><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity' errorcode='200' errorstring='OK'></oa></iq>
2015.07.27 15:52:15 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":688,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":3,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 15:52:15 4: logitechhubwz: done starting/stopping device: <unknown>
2015.07.27 15:52:15 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":689,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 15:52:15 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":690,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 15:52:23 4: logitechhubwz: send: <iq type='get' id='ping-3278'><ping xmlns='urn:xmpp:ping'/></iq>
SimpleWrite data: 0
SimpleWrite data: 0
2015.07.27 15:53:13 4: logitechhubwz: send: <iq type='get' id='ping-3279'><ping xmlns='urn:xmpp:ping'/></iq>
2015.07.27 15:54:03 4: logitechhubwz: send: <iq type='get' id='ping-3280'><ping xmlns='urn:xmpp:ping'/></iq>
2015.07.27 15:54:53 4: logitechhubwz: send: <iq type='get' id='ping-3281'><ping xmlns='urn:xmpp:ping'/></iq>
2015.07.27 15:55:43 4: logitechhubwz: send: <iq type='get' id='ping-3282'><ping xmlns='urn:xmpp:ping'/></iq>
2015.07.27 15:56:33 4: logitechhubwz: send: <iq type='get' id='ping-3283'><ping xmlns='urn:xmpp:ping'/></iq>
2015.07.27 15:57:23 4: logitechhubwz: send: <iq type='get' id='ping-3284'><ping xmlns='urn:xmpp:ping'/></iq>
2015.07.27 15:58:13 4: logitechhubwz: send: <iq type='get' id='ping-3285'><ping xmlns='urn:xmpp:ping'/></iq>
2015.07.27 15:59:03 4: logitechhubwz: send: <iq type='get' id='ping-3286'><ping xmlns='urn:xmpp:ping'/></iq>
2015.07.27 15:59:53 4: logitechhubwz: send: <iq type='get' id='ping-3287'><ping xmlns='urn:xmpp:ping'/></iq>
2015.07.27 16:00:43 4: logitechhubwz: send: <iq type='get' id='ping-3288'><ping xmlns='urn:xmpp:ping'/></iq>
2015.07.27 16:01:33 4: logitechhubwz: send: <iq type='get' id='ping-3289'><ping xmlns='urn:xmpp:ping'/></iq>
2015.07.27 16:01:39 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"11284879","syncStatus":0,"time":1437731332,"stateVersion":691,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":1,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 16:01:39 4: logitechhubwz: unknown message: <event xmlns="connect.logitech.com" type="harmony.engine?startActivity"><![CDATA[done=1:total=2:deviceId=22767231]]></event>
2015.07.27 16:01:45 4: logitechhubwz: unknown message: <event xmlns="connect.logitech.com" type="harmony.engine?startActivity"><![CDATA[done=2:total=2:deviceId=22767231]]></event>
2015.07.27 16:01:45 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"11284879","syncStatus":0,"time":1437731332,"stateVersion":692,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":2,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 16:01:45 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"11284879","syncStatus":0,"time":1437731332,"stateVersion":693,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":2,"runningActivityList":"11284879","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 16:01:45 4: logitechhubwz: send: <iq type='get' id='3290'><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity'>activityId=-1:timestamp=0</oa></iq>
SimpleWrite data: 0
SimpleWrite data: 0
2015.07.27 16:01:45 4: logitechhubwz: send: <iq type='get' id='3291'><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity'>activityId=-1:timestamp=0</oa></iq>
SimpleWrite data: 0
SimpleWrite data: 0
SimpleWrite data: 1
SimpleWrite data: 0
2015.07.27 16:01:45 4: logitechhubwz: unknown (no cdata): <iq id="3290" type="get"><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity' errorcode='200' errorstring='OK'></oa></iq><iq/>
2015.07.27 16:01:46 4: logitechhubwz: send: <iq type='get' id='3292'><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity'>activityId=-1:timestamp=0</oa></iq>
SimpleWrite data: 0
SimpleWrite data: 0
2015.07.27 16:01:46 4: logitechhubwz: unknown (no cdata): <iq id="3291" type="get"><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity' errorcode='200' errorstring='OK'></oa></iq><message content-length="647"/>
2015.07.27 16:01:46 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"11284879","syncStatus":0,"time":1437731332,"stateVersion":694,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":3,"runningActivityList":"11284879","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 16:01:46 4: logitechhubwz: unknown (no cdata): <iq id="3292" type="get"><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity' errorcode='200' errorstring='OK'></oa></iq>
2015.07.27 16:01:46 4: logitechhubwz: send: <iq type='get' id='3293'><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity'>activityId=-1:timestamp=0</oa></iq>
SimpleWrite data: 0
SimpleWrite data: 0
2015.07.27 16:01:46 4: logitechhubwz: unknown (no cdata): <iq id="3293" type="get"><oa xmlns='connect.logitech.com' mime='vnd.logitech.harmony/vnd.logitech.harmony.engine?startactivity' errorcode='200' errorstring='OK'></oa></iq>
2015.07.27 16:01:46 4: logitechhubwz: done starting/stopping device: Denon AV Receiver
2015.07.27 16:01:46 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":695,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"11284879","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 16:01:46 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":696,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 16:01:46 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":697,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":3,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 16:01:46 4: logitechhubwz: done starting/stopping device: <unknown>
2015.07.27 16:01:46 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":698,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}
2015.07.27 16:01:46 4: logitechhubwz: statedigest: {"sleepTimerId":-1,"contentVersion":92,"activityId":"-1","syncStatus":0,"time":1437731332,"stateVersion":699,"tzOffset":"7200","mode":3,"hubSwVersion":"4.5.106","tzoffset":"7200","sequence":false,"wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"CET-1CEST,M3.4.0,M10.4.0\/3","discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","configVersion":108,"hubUpdate":false,"updates":{"97":"4.5.106"},"accountId":"5793492"}

hier war auch kein disconnect dabei. was mir allerdings auffällt das wenn ich die aktivity über fhem auslöse dann funktioniert es (zumindestens bis er dann wieder irgendwann meint ein poweroff wäre besser). wie wenn aktivitys die ich über die fernbedienung auslöse einfach overruled werden....
ich hab auch nur ein notify etc drinnen die ein poweroff auslösen die allerdings nur über knx ausgelöst werden kann und da ist nichts davon im log zu finden und ich hab den schalter auch nicht ausgelöst...
was mir im log des hubs auffällt das die activity poweroff mehrfach aufgeführt ist und Radio z.b. nur einmal und darauf folgen 2-4 poweroff's die nicht von mir kommen...
gruß anton
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...

justme1968

hast du auch das fhem log dazu? kann es sein das der hub von sich aus blödsinn mach und fhem einfach nur protokolliert was schief geht?

welche firmware hast du auf dem hub?

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

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

antonwinden

hub hat die aktuelle firmware 4.5.106 und ich hatte das ding auch schon in verdacht.
nachdem ich 2 hab habe ich probehalber getauscht und jetzt spinnt der der am anderen platz einwandfrei ging also nehme ich an der hub hat nix...
auch einflüsse von außen dürften es nicht sein denn wenn ich das ganze ohne fhem mache (nicht freiwillig aber um die fehlerquelle eingrenzen zu können) dann gibt es das nicht....
ich will halt in abhängigkeit von den verschiedenen quellen den saft der subwoofer an bzw aus schalten und das funktioniert über die akitvity besser - kann es auch über die verschiedenen eingänge des verstärkers schalten ist aber träger.
gruss anton
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...

justme1968

hast du irgendwelche notifys oder ähnliches konfiguriert?

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

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

antonwinden

#746
auf den hub sind folgende definiert:
define hubwzPowerOff DOIF (([logitechhubwz:currentActivity] eq "PowerOff") && ([usbSteckdosemitschalten]eq "off"))\
(set Wz_SubwooferLinksSteckdose off;; set Wz_SubwooferRechtsSteckdose off)\
DOELSEIF ([usbSteckdosemitschalten]eq "on") (set SIS_PMS_TV off;; set SIS_PMS_BlueRay off;; set Wz_SubwooferLinksSteckdose off;; \
set Wz_SubwooferRechtsSteckdose off)

define hubwzeinsubwoofer DOIF ((([logitechhubwz:currentActivity] eq "Radio") || ([logitechhubwz:currentActivity] eq "Fernsehen") ||\
([logitechhubwz:currentActivity] eq "CD") ) && ([usbSteckdosemitschalten]eq "off"))\
  (set Wz_SubwooferLinksSteckdose off;; set Wz_SubwooferRechtsSteckdose on) \
DOELSEIF (([usbSteckdosemitschalten]eq "on") && ([logitechhubwz:currentActivity] eq "Radio")) (set SIS_PMS_TV off;; set SIS_PMS_BlueRay off;;\
set Wz_SubwooferLinksSteckdose off;; set Wz_SubwooferRechtsSteckdose on) \
DOELSEIF (([usbSteckdosemitschalten]eq "on") && ([logitechhubwz:currentActivity] eq "Fernsehen")) (set SIS_PMS_TV on;; set SIS_PMS_BlueRay off;;\
set Wz_SubwooferLinksSteckdose off;; set Wz_SubwooferRechtsSteckdose on) \
DOELSEIF (([usbSteckdosemitschalten]eq "on") && ([logitechhubwz:currentActivity] eq "CD")) (set SIS_PMS_TV off;; set SIS_PMS_BlueRay on;;\
set Wz_SubwooferLinksSteckdose off;; set Wz_SubwooferRechtsSteckdose on)


define hubwzzweisubwoofer DOIF ((([logitechhubwz:currentActivity] eq "Film ansehen") || \
([logitechhubwz:currentActivity] eq "Blueray")) && ([usbSteckdosemitschalten]eq "off"))\
(set Wz_SubwooferLinksSteckdose on;; set Wz_SubwooferRechtsSteckdose on) \
DOELSEIF (([usbSteckdosemitschalten]eq "on") && ([logitechhubwz:currentActivity] eq "Film ansehen")) (set SIS_PMS_TV on;; set SIS_PMS_BlueRay off;;\
set Wz_SubwooferLinksSteckdose on;; set Wz_SubwooferRechtsSteckdose on) \
DOELSEIF (([usbSteckdosemitschalten]eq "on") && ([logitechhubwz:currentActivity] eq "Blueray")) (set SIS_PMS_TV on;; set SIS_PMS_BlueRay on;;\
set Wz_SubwooferLinksSteckdose on;; set Wz_SubwooferRechtsSteckdose on)


define Subwooferschalteron DOIF (([Wz_SubwooferRechtsSteckdose]eq "on") && ([logitechhubwz:currentActivity]eq "PowerOff") && ([LautstaerkeBegrenzenbeiEinschalten]eq "on")) (set logitechhubwz activity Radio;; sleep 3;; set denon on;; set denon volume 25) DOELSEIF ([LautstaerkeBegrenzenbeiEinschalten]eq "off") (set logitechhubwz activity Radio)

define Subwooferschalterof DOIF (([Wz_SubwooferRechtsSteckdose]eq "off") && ([denon]eq "on")) (set logitechhubwz activity PowerOff;; set Wz_SubwooferLinksSteckdose off;; set Wz_SubwooferRechtsSteckdose off)


sorry hab zuerst falsche notifys reingegeben...

das erste soll in abhängikeit von der akitvity die jeweiligen subwoofer an bzw aus schalten
die anderen zwei reagieren auf einen schalter der einen subwoofer einschaltet und sollen dann den radio einschalten und die lautsärke runterregeln bei bedarf - oder eben alles ausschalten.
wobei das ausshalten einwandfrei funktioniert nur seit 2 tagen will das einschalten nicht mehr immer - subwoofer geht zwar an und laut log wird das jeweilige kommando auch ausgeführt allerdings nicht wirklich...

warum es beim einschalten nicht funktioniert dürfte daran liegen das manchmal currentActivity nicht existiert:
cmd_event
logitechhubwz
2015-07-24 13:56:10
cmd_nr
1
2015-07-24 13:56:10
e_logitechhubwz_currentActivity
Radio
2015-07-27 17:35:58
error
reading does not exist: [logitechhubwz:currentActivity]
2015-07-27 17:35:43
state
cmd_1
2015-07-24 13:56:10

wobei das log vom hub folgendes ist:
2015-07-27_17:35:52 logitechhubwz currentActivity: starting Radio
2015-07-27_17:35:58 logitechhubwz currentActivity: Radio
2015-07-27_17:35:58 logitechhubwz activity: Radio
2015-07-27_17:35:58 logitechhubwz currentActivity: Radio
2015-07-27_17:35:58 logitechhubwz currentActivity: Radio
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...

Talkabout

Hallo Andre,

ich hatte ein paar Posts vorher ein Problem beschrieben, welches ich mit dem Attribut "previousActivity" hatte. Die Abfrage auf diese hatte nicht mehr zuverlässig funktioniert. Dann habe ich mein DOIF auf ein Notify umgestellt und horche nun auf das Attribut "currentActivity". Dieses ändert sich natürlich erst, wenn der gesamte Prozess des Activity-Wechsels abgeschlossen ist. Soweit so gut. Jetzt ist es aber so, dass wenn das Notify ausgelöst wird, manchmal in dem Attribut "previousActivity" die selbe Activity steht wie in "currentActivity" (obwohl vorher eine andere Activity eingestellt war). Wenn das der Fall ist greift natürlich meine Bedingung nicht, über die ich prüfe, was vorher eingestellt war. Jetzt ist es für Dich vermutlich schwierig zu sagen, woran das liegen kann, aber vielleicht fällt Dir, dadurch, dass Du in dem Algorithmus besser drin bist, ein, was das Problem verursachen könnte.

Danke Dir!

Gruss

justme1968

eigentlich sollte das nicht passieren...

previousActivity wird die neue id sich von der aktuellen unterscheidet. kannst du bitte mal nachsehen ob im internal previousActivityID auch der falsche wert steht?

kannst du ein verbose 5 log vom hub erzeugen wärend das problem auftritt ?

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

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

Talkabout

Zitat von: justme1968 am 30 Juli 2015, 18:42:50
eigentlich sollte das nicht passieren...

previousActivity wird die neue id sich von der aktuellen unterscheidet. kannst du bitte mal nachsehen ob im internal previousActivityID auch der falsche wert steht?

kannst du ein verbose 5 log vom hub erzeugen wärend das problem auftritt ?

gruss
  andre
Hallo Andre,

danke Dir für das Feedback. Ich habe mir jetzt ein paar Debug-Ausgaben eingebaut, womit ich prüfe, wo überall der Code in der Routine "harmony_updateActivity" rein läuft. Vielleicht finde ich damit heraus, an was es hängt. Da das Problem nur sporadisch auftritt, werde ich warten, bis es mal wieder auftritt. Ich halte Dich dazu auf dem Laufenden.

Danke!

Gruss