erledigt: 70_BRAVIA sendet keinen WOL

Begonnen von Diggewuff, 14 September 2016, 10:58:01

Vorheriges Thema - Nächstes Thema

Diggewuff

Wenn ich im fertig konfigurierten Modul BRAVIA den Status auf On setze wird kein WOL befehl gesendet. Macadresse ist eingetragen und TV wacht bei manuellem WOL auf. Der Rest des Moduls funktioniert einwandfrei.
Hat jemand ne Idee woran das liegen könnte?
Ich habe an sich in letzter zeit nichts großartiges verändert und vor einer weile hat es noch tadellos funktioniert.

vuffiraa

Zitat von: Diggewuff am 14 September 2016, 10:58:01
Wenn ich im fertig konfigurierten Modul BRAVIA den Status auf On setze wird kein WOL befehl gesendet. Macadresse ist eingetragen und TV wacht bei manuellem WOL auf. Der Rest des Moduls funktioniert einwandfrei.
Hat jemand ne Idee woran das liegen könnte?
Ich habe an sich in letzter zeit nichts großartiges verändert und vor einer weile hat es noch tadellos funktioniert.

Schick mal ein "list <device>" und ein Log mit verbose = 5 vom Statussetzen.

Gruß vuffiraa
FHEM 5.8 auf Cubietruck, Raspi B+

Weinzierl KNX IP BAOS 770, Homematic, EnOcean

Diggewuff

#2
list:
Internals:
   CHANGED
   CHANNELCOUNT 50
   DEF        192.168.1.14 10
   INTERVAL   10
   NAME       SonyFernseher
   NR         145
   STATE      absent
   TYPE       BRAVIA
   generation
   modelName
   name
   Readings:
     2016-09-14 02:58:40   area            DEU
     2016-09-14 02:58:36   authCookie      76432a36aab58781253afd950ac2372b298a1b825c67ff45b36c3e2773ee2e06
     2016-09-14 02:58:36   authExpires     Wed, 28-Sep-2016 00:58:35 GMT
     2016-09-14 02:58:36   authMaxAge      1209600
     2016-09-14 03:29:18   channel         -
     2016-09-14 03:29:18   channelId       -
     2016-09-14 03:29:18   ci_durationSec  -
     2016-09-14 03:29:18   ci_startDateTime -
     2016-09-14 03:29:18   ci_tripletStr   -
     2016-09-14 03:29:18   ci_uri          -
     2016-09-14 02:58:40   country         DEU
     2016-09-14 03:29:18   currentMedia    -
     2016-09-14 03:29:18   currentTitle    -
     2016-09-14 02:58:40   generation      1.0.5
     2016-09-14 03:29:18   input           -
     2016-09-14 02:58:40   language        ger
     2016-09-14 02:58:40   macAddr         3C:07:71:EB:85:83
     2016-09-14 02:58:40   modelName       KDL-42W655A
     2016-09-14 02:58:00   mute            on
     2016-09-14 02:58:40   name            BRAVIA
     2016-09-14 03:29:18   power           off
     2016-09-14 08:11:35   presence        absent
     2016-09-14 02:58:17   registrationUUID b21cb580778ecd38f6c272478e798092
     2016-09-14 02:58:00   requestFormat   json
     2016-09-14 08:11:35   state           absent
   Helper:
     ADDRESS    192.168.1.14
     AVAILABLE  0
     HEADER     X-CERS-DEVICE-ID: fhem_remote
     lastInput  tv:dvbc
     Port:
       IRCC       80
       SERVICE    80
       UPNP       52323
     Device:
       Channelpreset:
         001:
           id         001
           name       Das_Erste_HD
         002:
           id         002
           name       ZDF_HD
         003:
           id         003
           name       NDR_FS_HH_HD
         004:
           id         004
           name       RTL_HD
         005:
           id         005
           name       SAT.1_HD
         006:
           id         006
           name       RTL_II_HD
         007:
           id         007
           name       ProSieben_HD
         008:
           id         008
           name       kabel_eins_HD
         009:
           id         009
           name       VOX_HD
         010:
           id         010
           name       DMAX_HD
         011:
           id         011
           name       ProSieben_MAXX
         012:
           id         012
           name       RTL_NITRO_HD
         013:
           id         013
           name       SAT.1_Gold
         014:
           id         014
           name       sixx_HD
         015:
           id         015
           name       TLC
         016:
           id         016
           name       Nickelodeon
         017:
           id         017
           name       Eurosport_1_HD
         018:
           id         018
           name       Eurosport_2
         019:
           id         019
           name       SPORT1_HD
         020:
           id         020
           name       N24_HD
         021:
           id         021
           name       PHOENIX_HD
         022:
           id         022
           name       n-tv
         023:
           id         023
           name       euronews
         024:
           id         024
           name       CNN_HD_(eng)
         025:
           id         025
           name       BBC_World_News_(eng)
         026:
           id         026
           name       CNBC_Europe/Sky_News_(eng)
         027:
           id         027
           name       Vidrodjennya_TV(rus)
         028:
           id         028
           name       Al_Jazeera_Int_(eng)
         029:
           id         029
           name       i24news_(eng)
         030:
           id         030
           name       Disney_Ch._HD
         031:
           id         031
           name       SUPER_RTL_HD
         032:
           id         032
           name       KiKA_HD
         033:
           id         033
           name       TELE_5_HD
         034:
           id         034
           name       COMEDY_CENTRAL/VIVA
         035:
           id         035
           name       DELUXE_MUSIC
         036:
           id         036
           name       Deutsches_Musik_Fernsehen
         037:
           id         037
           name       EinsPlus
         038:
           id         038
           name       ONE
         039:
           id         039
           name       tagesschau24
         040:
           id         040
           name       ZDFinfo
         041:
           id         041
           name       zdf.kultur
         042:
           id         042
           name       arte_HD
         043:
           id         043
           name       zdf_neo_HD
         044:
           id         044
           name       rbb_Berlin_HD
         045:
           id         045
           name       BR_Süd_HD
         046:
           id         046
           name       ARD-alpha
         047:
           id         047
           name       MDR_Sachsen_HD
         048:
           id         048
           name       SWR_Fernsehen_RP_HD
         049:
           id         049
           name       WDR_Köln_HD
         050:
           id         050
           name       3sat_HD
         051:
           id         051
           name       hr-fernsehen_HD
         052:
           id         052
           name       TOGGO_plus
         053:
           id         053
           name       HSE24_HD
         054:
           id         054
           name       QVC_HD
         055:
           id         055
           name       1-2-3.tv
         056:
           id         056
           name       sonnenklar.TV
         057:
           id         057
           name       Juwelo_TV
         058:
           id         058
           name       ServusTV
         059:
           id         059
           name       SR_Fernsehen
         060:
           id         060
           name       ANIXE_SD
         061:
           id         061
           name       Astro_TV
         062:
           id         062
           name       TIDETV
         063:
           id         063
           name       SYLT1
         064:
           id         064
           name       Hamburg_1
         065:
           id         065
           name       Channel21
         066:
           id         066
           name       Folx.TV
         067:
           id         067
           name       Welt_der_Wunder_TV
         068:
           id         068
           name       HSE24_EXTRA
         069:
           id         069
           name       QVC_PLUS
         070:
           id         070
           name       Bibel_TV_HD
         071:
           id         071
           name       n-tv_HD
         072:
           id         072
           name       Sky_Nostalgie
         073:
           id         073
           name       Blue_Movie
         074:
           id         074
           name       MTV_HD
         075:
           id         075
           name       DRF1
         076:
           id         076
           name       Sony_Entertainment_TV_HD
         077:
           id         077
           name       A&E_HD
         078:
           id         078
           name       Nick_Jr._HD
         079:
           id         079
           name       COMEDY_CENTRAL_HD/VIVA_HD
         080:
           id         080
           name       Disney_XD_HD
         081:
           id         081
           name       Disney_Jr._HD
         082:
           id         082
           name       Nickelodeon_HD
         083:
           id         083
           name       sportdigital_HD
         084:
           id         084
           name       Moviemax_Turk_(tur)
         085:
           id         085
           name       euronews_(eng)
         086:
           id         086
           name       RTLplus
         087:
           id         087
           name       Discovery_HD_(KD)
         088:
           id         088
           name       1-2-3.tv_HD
         089:
           id         089
           name       Zee.One
         090:
           id         090
           name       DELUXE_MUSIC_HD
       Inputpreset:
         Av1:
           uri        extInput:scart?port=1
         Av2/component:
           uri        extInput:composite?port=1
         Bildschirm_spiegeln:
           uri        extInput:widi?port=1
         Hdmi_1:
           uri        extInput:hdmi?port=1
         Hdmi_2/mhl:
           uri        extInput:hdmi?port=2
         Player_2:
           uri        extInput:cec?type=player&port=2
         Tv:
           uri        tv
Attributes:
   Structure  alle_Multimedia_Wohnzimmer
   channelsMax 100
   devStateIcon on:rc_GREEN:off off:rc_YELLOW:on absent:rc_STOP:on
   genericDeviceType switch
   group      Multimedia
   homebridgeMapping clear
On=state,valueOn=on,cmdOn=on,cmdOff=off
   icon       it_television
   macaddr    3C:07:71:EB:85:83
   room       Homekit,Wohnzimmer
   userattr   Structure Structure_map structexclude
   webCmd     volume:channelUp:channelDown:on:off:input


Komischerweise hat es nun einmal geklappt: Log:
[code]2016.09.14 13:24:29 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 13:24:29 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 13:24:29 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 13:24:29 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 13:24:29 5: BRAVIA SonyFernseher: called function BRAVIA_Get()
2016.09.14 13:24:32 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 13:24:32 2: BRAVIA set SonyFernseher on
2016.09.14 13:24:32 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 13:24:32 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 13:24:32 4: BRAVIA SonyFernseher: Waking up by sending Wake-On-Lan magic package to 3C0771EB8583
2016.09.14 13:24:34 5: BRAVIA SonyFernseher: called function BRAVIA_GetStatus()
2016.09.14 13:24:34 5: BRAVIA SonyFernseher: called function BRAVIA_SendCommand()
2016.09.14 13:24:34 4: BRAVIA SonyFernseher: REQ getStatus/json
2016.09.14 13:24:34 5: BRAVIA SonyFernseher: POST http://192.168.1.14:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2016.09.14 13:24:34 5: BRAVIA SonyFernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=76432a36aab58781253afd950ac2372b298a1b825c67ff45b36c3e2773ee2e06
2016.09.14 13:24:37 5: BRAVIA SonyFernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x2326860) err: 192.168.1.14: No route to host data: 
2016.09.14 13:24:37 4: BRAVIA SonyFernseher: RCV TIMEOUT getStatus/json
sending systemCode[01010] unitCode[1] command[0]
2016.09.14 13:24:44 3: Sofa_off return value: -1
sending systemCode[01010] unitCode[2] command[0]
2016.09.14 13:24:44 3: DJ_off return value: -1
sending systemCode[01010] unitCode[3] command[0]
2016.09.14 13:24:45 3: Fenster_off return value: -1
sending systemCode[01010] unitCode[4] command[0]
2016.09.14 13:24:45 3: Sessel_off return value: -1
2016.09.14 13:24:45 5: BRAVIA SonyFernseher: called function BRAVIA_GetStatus()
2016.09.14 13:24:45 5: BRAVIA SonyFernseher: called function BRAVIA_SendCommand()
2016.09.14 13:24:45 4: BRAVIA SonyFernseher: REQ getStatus/json
2016.09.14 13:24:45 5: BRAVIA SonyFernseher: POST http://192.168.1.14:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2016.09.14 13:24:45 5: BRAVIA SonyFernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=76432a36aab58781253afd950ac2372b298a1b825c67ff45b36c3e2773ee2e06
2016.09.14 13:24:45 5: BRAVIA SonyFernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x234b678) err: 192.168.1.14: Connection refused data: 
2016.09.14 13:24:45 4: BRAVIA SonyFernseher: RCV TIMEOUT getStatus/json
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_GetStatus()
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_SendCommand()
2016.09.14 13:24:55 4: BRAVIA SonyFernseher: REQ getStatus/json
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: POST http://192.168.1.14:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=76432a36aab58781253afd950ac2372b298a1b825c67ff45b36c3e2773ee2e06
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_ReceiveCommand() rc: HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 39
Connection: close
Date: Wed, 14 Sep 2016 11:24:55 GMT

{"id":1,"result":[{"status":"active"}]} err:  data: {"id":1,"result":[{"status":"active"}]}
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 13:24:55 4: BRAVIA SonyFernseher: RCV getStatus/json
2016.09.14 13:24:55 4: BRAVIA SonyFernseher: RES getStatus/json - {"id":1,"result":[{"status":"active"}]}
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_SendCommand()
2016.09.14 13:24:55 4: BRAVIA SonyFernseher: REQ getContentInformation
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: POST http://192.168.1.14:80/sony/avContent ({"method":"getPlayingContentInfo","params":[],"id":1,"version":"1.0"})
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=76432a36aab58781253afd950ac2372b298a1b825c67ff45b36c3e2773ee2e06
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_ReceiveCommand() rc: HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 301
Connection: close
Date: Wed, 14 Sep 2016 11:24:55 GMT

{"id":1,"result":[{"dispNum":"020","durationSec":1620,"programMediaType":"tv","programTitle":"Sci Fi Science: Reisen durch die Zeit","source":"tv:dvbc","startDateTime":"2016-09-14T13:04:00+0200","title":"N24 HD","tripletStr":"61441.10016.50034","uri":"tv:dvbc?trip=61441.10016.50034&srvName=N24 HD"}]} err:  data: {"id":1,"result":[{"dispNum":"020","durationSec":1620,"programMediaType":"tv","programTitle":"Sci Fi Science: Reisen durch die Zeit","source":"tv:dvbc","startDateTime":"2016-09-14T13:04:00+0200","title":"N24 HD","tripletStr":"61441.10016.50034","uri":"tv:dvbc?trip=61441.10016.50034&srvName=N24 HD"}]}
2016.09.14 13:24:55 4: BRAVIA SonyFernseher: RCV getContentInformation
2016.09.14 13:24:55 4: BRAVIA SonyFernseher: RES getContentInformation - {"id":1,"result":[{"dispNum":"020","durationSec":1620,"programMediaType":"tv","programTitle":"Sci Fi Science: Reisen durch die Zeit","source":"tv:dvbc","startDateTime":"2016-09-14T13:04:00+0200","title":"N24 HD","tripletStr":"61441.10016.50034","uri":"tv:dvbc?trip=61441.10016.50034&srvName=N24 HD"}]}
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_SendCommand()
2016.09.14 13:24:55 4: BRAVIA SonyFernseher: REQ getContentList/tv:dvbc
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: POST http://192.168.1.14:80/sony/avContent ({"method":"getContentList","params":[{"source":"tv:dvbc","type":"","cnt":50,"stIdx":0}],"id":1,"version":"1.0"})
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=76432a36aab58781253afd950ac2372b298a1b825c67ff45b36c3e2773ee2e06
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_SendCommand()
2016.09.14 13:24:55 4: BRAVIA SonyFernseher: REQ upnp/getVolume
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: POST http://192.168.1.14:52323/upnp/control/RenderingControl (<?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetVolume xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></u:GetVolume></s:Body></s:Envelope>)
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=76432a36aab58781253afd950ac2372b298a1b825c67ff45b36c3e2773ee2e06
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
Content-Type: text/xml
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_SendCommand()
2016.09.14 13:24:55 4: BRAVIA SonyFernseher: REQ upnp/getMute
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: POST http://192.168.1.14:52323/upnp/control/RenderingControl (<?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetMute xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel></u:GetMute></s:Body></s:Envelope>)
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=76432a36aab58781253afd950ac2372b298a1b825c67ff45b36c3e2773ee2e06
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetMute"
Content-Type: text/xml
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_SendCommand()
2016.09.14 13:24:55 4: BRAVIA SonyFernseher: REQ getCurrentExternalInputsStatus
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: POST http://192.168.1.14:80/sony/avContent ({"id":2,"method":"getCurrentExternalInputsStatus","version":"1.0","params":[]})
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=76432a36aab58781253afd950ac2372b298a1b825c67ff45b36c3e2773ee2e06
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 13:24:55 5: BRAVIA SonyFernseher: called function BRAVIA_ReceiveCommand() rc: HTTP/1.1 500 Internal Server Error
Content-Length: 427
Content-Type: text/xml; charset="utf-8"
EXT:
Connection: close
Date: Wed, 14 Sep 2016 11:24:55 GMT
Server: Linux/2.6 UPnP/1.0 KDL-42W655A/1.7
X-AV-Server-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-42W655A"; mv="1.7";
X-AV-Physical-Unit-Info: pa="BRAVIA KDL-42W655A";

<?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>501</errorCode><errorDescription>Action GetMute failed
</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope> err:  data: <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>501</errorCode><errorDescription>Action GetMute failed
</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
2016.09.14 13:24:55 4: BRAVIA SonyFernseher: RCV upnp/getMute
2016.09.14 13:24:55 4: BRAVIA SonyFernseher: RES upnp/getMute - <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>501</errorCode><errorDescription>Action GetMute failed
</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
2016.09.14 13:24:56 5: BRAVIA SonyFernseher: called function BRAVIA_ReceiveCommand() rc: HTTP/1.1 500 Internal Server Error
Content-Length: 429
Content-Type: text/xml; charset="utf-8"
EXT:
Connection: close
Date: Wed, 14 Sep 2016 11:24:55 GMT
Server: Linux/2.6 UPnP/1.0 KDL-42W655A/1.7
X-AV-Server-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-42W655A"; mv="1.7";
X-AV-Physical-Unit-Info: pa="BRAVIA KDL-42W655A";

<?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>501</errorCode><errorDescription>Action GetVolume failed
</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope> err:  data: <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>501</errorCode><errorDescription>Action GetVolume failed
</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
2016.09.14 13:24:56 4: BRAVIA SonyFernseher: RCV upnp/getVolume
2016.09.14 13:24:56 4: BRAVIA SonyFernseher: RES upnp/getVolume - <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>501</errorCode><errorDescription>Action GetVolume failed
</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
2016.09.14 13:24:56 5: BRAVIA SonyFernseher: called function BRAVIA_ReceiveCommand() rc: HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 672
Connection: close
Date: Wed, 14 Sep 2016 11:24:55 GMT

{"id":2,"result":[[{"connection":true,"icon":"meta:hdmi","label":"","title":"HDMI 1","uri":"extInput:hdmi?port=1"},{"connection":false,"icon":"meta:hdmi","label":"","title":"HDMI 2/MHL","uri":"extInput:hdmi?port=2"},{"connection":false,"icon":"meta:scart","label":"","title":"AV1","uri":"extInput:scart?port=1"},{"connection":false,"icon":"meta:component","label":"","title":"AV2/Component","uri":"extInput:composite?port=1"},{"connection":true,"icon":"meta:playbackdevice","label":"Apple TV","title":"Player 2","uri":"extInput:cec?type=player&port=2"},{"connection":false,"icon":"meta:wifidisplay","label":"","title":"Bildschirm spiegeln","uri":"extInput:widi?port=1"}]]} err:  data: {"id":2,"result":[[{"connection":true,"icon":"meta:hdmi","label":"","title":"HDMI 1","uri":"extInput:hdmi?port=1"},{"connection":false,"icon":"meta:hdmi","label":"","title":"HDMI 2/MHL","uri":"extInput:hdmi?port=2"},{"connection":false,"icon":"meta:scart","label":"","title":"AV1","uri":"extInput:scart?port=1"},{"connection":false,"icon":"meta:component","label":"","title":"AV2/Component","uri":"extInput:composite?port=1"},{"connection":true,"icon":"meta:playbackdevice","label":"Apple TV","title":"Player 2","uri":"extInput:cec?type=player&port=2"},{"connection":false,"icon":"meta:wifidisplay","label":"","title":"Bildschirm spiegeln","uri":"extInput:widi?port=1"}]]}
2016.09.14 13:24:56 4: BRAVIA SonyFernseher: RCV getCurrentExternalInputsStatus
2016.09.14 13:24:56 4: BRAVIA SonyFernseher: RES getCurrentExternalInputsStatus - {"id":2,"result":[[{"connection":true,"icon":"meta:hdmi","label":"","title":"HDMI 1","uri":"extInput:hdmi?port=1"},{"connection":false,"icon":"meta:hdmi","label":"","title":"HDMI 2/MHL","uri":"extInput:hdmi?port=2"},{"connection":false,"icon":"meta:scart","label":"","title":"AV1","uri":"extInput:scart?port=1"},{"connection":false,"icon":"meta:component","label":"","title":"AV2/Component","uri":"extInput:composite?port=1"},{"connection":true,"icon":"meta:playbackdevice","label":"Apple TV","title":"Player 2","uri":"extInput:cec?type=player&port=2"},{"connection":false,"icon":"meta:wifidisplay","label":"","title":"Bildschirm spiegeln","uri":"extInput:widi?port=1"}]]}
2016.09.14 13:24:56 5: BRAVIA SonyFernseher: called function BRAVIA_ReceiveCommand() rc: HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 8225
Connection: close
Date: Wed, 14 Sep 2016 11:24:55 GMT

{"id":1,"result":[[{"dispNum":"001","index":0,"programMediaType":"tv","title":"Das Erste HD","tripletStr":"1.1051.11100","uri":"tv:dvbc?trip=1.1051.11100&srvName=Das Erste HD"},{"dispNum":"002","index":1,"programMediaType":"tv","title":"ZDF HD","tripletStr":"1.1079.11110","uri":"tv:dvbc?trip=1.1079.11110&srvName=ZDF HD"},{"dispNum":"003","index":2,"programMediaType":"tv","title":"NDR FS HH HD","tripletStr":"1.1101.10329","uri":"tv:dvbc?trip=1.1101.10329&srvName=NDR FS HH HD"},{"dispNum":"004","index":3,"programMediaType":"tv","title":"RTL HD","tripletStr":"61441.10015.50012","uri":"tv:dvbc?trip=61441.10015.50012&srvName=RTL HD"},{"dispNum":"005","index":4,"programMediaType":"tv","title":"SAT.1 HD","tripletStr":"61441.10015.50018","uri":"tv:dvbc?trip=61441.10015.50018&srvName=SAT.1 HD"},{"dispNum":"006","index":5,"programMediaType":"tv","title":"RTL II HD","tripletStr":"61441.10015.50011","uri":"tv:dvbc?trip=61441.10015.50011&srvName=RTL II HD"},{"dispNum":"007","index":6,"programMediaType":"tv","title":"ProSieben HD","tripletStr":"61441.10013.50015","uri":"tv:dvbc?trip=61441.10013.50015&srvName=ProSieben HD"},{"dispNum":"008","index":7,"programMediaType":"tv","title":"kabel eins HD","tripletStr":"61441.10014.50009","uri":"tv:dvbc?trip=61441.10014.50009&srvName=kabel eins HD"},{"dispNum":"009","index":8,"programMediaType":"tv","title":"VOX HD","tripletStr":"61441.10013.50013","uri":"tv:dvbc?trip=61441.10013.50013&srvName=VOX HD"},{"dispNum":"010","index":9,"programMediaType":"tv","title":"DMAX HD","tripletStr":"61441.10020.50037","uri":"tv:dvbc?trip=61441.10020.50037&srvName=DMAX HD"},{"dispNum":"011","index":10,"programMediaType":"tv","title":"ProSieben MAXX","tripletStr":"61441.10017.53009","uri":"tv:dvbc?trip=61441.10017.53009&srvName=ProSieben MAXX"},{"dispNum":"012","index":11,"programMediaType":"tv","title":"RTL NITRO HD","tripletStr":"61441.10006.50029","uri":"tv:dvbc?trip=61441.10006.50029&srvName=RTL NITRO HD"},{"dispNum":"013","index":12,"programMediaType":"tv","title":"SAT.1 Gold","tripletStr":"61441.10022.53324","uri":"tv:dvbc?trip=61441.10022.53324&srvName=SAT.1 Gold"},{"dispNum":"014","index":13,"programMediaType":"tv","title":"sixx HD","tripletStr":"61441.10006.50019","uri":"tv:dvbc?trip=61441.10006.50019&srvName=sixx HD"},{"dispNum":"015","index":14,"programMediaType":"tv","title":"TLC","tripletStr":"61441.10002.53220","uri":"tv:dvbc?trip=61441.10002.53220&srvName=TLC"},{"dispNum":"016","index":15,"programMediaType":"tv","title":"Nickelodeon","tripletStr":"61441.10007.53006","uri":"tv:dvbc?trip=61441.10007.53006&srvName=Nickelodeon"},{"dispNum":"017","index":16,"programMediaType":"tv","title":"Eurosport 1 HD","tripletStr":"133.12.132","uri":"tv:dvbc?trip=133.12.132&srvName=Eurosport 1 HD"},{"dispNum":"018","index":17,"programMediaType":"tv","title":"Eurosport 2","tripletStr":"61441.10003.53010","uri":"tv:dvbc?trip=61441.10003.53010&srvName=Eurosport 2"},{"dispNum":"019","index":18,"programMediaType":"tv","title":"SPORT1 HD","tripletStr":"61441.10014.50010","uri":"tv:dvbc?trip=61441.10014.50010&srvName=SPORT1 HD"},{"dispNum":"020","index":19,"programMediaType":"tv","title":"N24 HD","tripletStr":"61441.10016.50034","uri":"tv:dvbc?trip=61441.10016.50034&srvName=N24 HD"},{"dispNum":"021","index":20,"programMediaType":"tv","title":"PHOENIX HD","tripletStr":"61441.10009.10331","uri":"tv:dvbc?trip=61441.10009.10331&srvName=PHOENIX HD"},{"dispNum":"022","index":21,"programMediaType":"tv","title":"n-tv","tripletStr":"61441.10003.53606","uri":"tv:dvbc?trip=61441.10003.53606&srvName=n-tv"},{"dispNum":"023","index":22,"programMediaType":"tv","title":"euronews","tripletStr":"61441.10005.53625","uri":"tv:dvbc?trip=61441.10005.53625&srvName=euronews"},{"dispNum":"024","index":23,"programMediaType":"tv","title":"CNN HD (eng)","tripletStr":"61441.10009.50045","uri":"tv:dvbc?trip=61441.10009.50045&srvName=CNN HD (eng)"},{"dispNum":"025","index":24,"programMediaType":"tv","title":"BBC World News (eng)","tripletStr":"61441.10002.53001","uri":"tv:dvbc?trip=61441.10002.53001&srvName=BBC World News (eng)"},{"dispNum":"026","index":25,"programMediaType":"tv","title":"CNBC Europe/Sky News (eng)","tripletStr":"61441.10022.53321","uri":"tv:dvbc?trip=61441.10022.53321&srvName=CNBC Europe/Sky News (eng)"},{"dispNum":"027","index":26,"programMediaType":"tv","title":"Vidrodjennya TV(rus)","tripletStr":"61441.10004.53004","uri":"tv:dvbc?trip=61441.10004.53004&srvName=Vidrodjennya TV(rus)"},{"dispNum":"028","index":27,"programMediaType":"tv","title":"Al Jazeera Int (eng)","tripletStr":"61441.10004.53614","uri":"tv:dvbc?trip=61441.10004.53614&srvName=Al Jazeera Int (eng)"},{"dispNum":"029","index":28,"programMediaType":"tv","title":"i24news (eng)","tripletStr":"61441.10021.51040","uri":"tv:dvbc?trip=61441.10021.51040&srvName=i24news (eng)"},{"dispNum":"030","index":29,"programMediaType":"tv","title":"Disney Ch. HD","tripletStr":"61441.10016.50031","uri":"tv:dvbc?trip=61441.10016.50031&srvName=Disney Ch. HD"},{"dispNum":"031","index":30,"programMediaType":"tv","title":"SUPER RTL HD","tripletStr":"61441.10006.50028","uri":"tv:dvbc?trip=61441.10006.50028&srvName=SUPER RTL HD"},{"dispNum":"032","index":31,"programMediaType":"tv","title":"KiKA HD","tripletStr":"61441.10009.11160","uri":"tv:dvbc?trip=61441.10009.11160&srvName=KiKA HD"},{"dispNum":"033","index":32,"programMediaType":"tv","title":"TELE 5 HD","tripletStr":"61441.10009.50043","uri":"tv:dvbc?trip=61441.10009.50043&srvName=TELE 5 HD"},{"dispNum":"034","index":33,"programMediaType":"tv","title":"COMEDY CENTRAL/VIVA","tripletStr":"61441.10007.53609","uri":"tv:dvbc?trip=61441.10007.53609&srvName=COMEDY CENTRAL/VIVA"},{"dispNum":"035","index":34,"programMediaType":"tv","title":"DELUXE MUSIC","tripletStr":"61441.10022.53323","uri":"tv:dvbc?trip=61441.10022.53323&srvName=DELUXE MUSIC"},{"dispNum":"036","index":35,"programMediaType":"tv","title":"Deutsches Musik Fernsehen","tripletStr":"61441.10017.53012","uri":"tv:dvbc?trip=61441.10017.53012&srvName=Deutsches Musik Fernsehen"},{"dispNum":"037","index":36,"programMediaType":"tv","title":"EinsPlus","tripletStr":"1.1051.28723","uri":"tv:dvbc?trip=1.1051.28723&srvName=EinsPlus"},{"dispNum":"038","index":37,"programMediaType":"tv","title":"ONE","tripletStr":"1.1051.28722","uri":"tv:dvbc?trip=1.1051.28722&srvName=ONE"},{"dispNum":"039","index":38,"programMediaType":"tv","title":"tagesschau24","tripletStr":"1.1051.28721","uri":"tv:dvbc?trip=1.1051.28721&srvName=tagesschau24"},{"dispNum":"040","index":39,"programMediaType":"tv","title":"ZDFinfo","tripletStr":"1.1079.28011","uri":"tv:dvbc?trip=1.1079.28011&srvName=ZDFinfo"},{"dispNum":"041","index":40,"programMediaType":"tv","title":"zdf.kultur","tripletStr":"1.1079.28016","uri":"tv:dvbc?trip=1.1079.28016&srvName=zdf.kultur"},{"dispNum":"042","index":41,"programMediaType":"tv","title":"arte HD","tripletStr":"61441.10014.11120","uri":"tv:dvbc?trip=61441.10014.11120&srvName=arte HD"},{"dispNum":"043","index":42,"programMediaType":"tv","title":"zdf_neo HD","tripletStr":"61441.10009.11130","uri":"tv:dvbc?trip=61441.10009.11130&srvName=zdf_neo HD"},{"dispNum":"044","index":43,"programMediaType":"tv","title":"rbb Berlin HD","tripletStr":"1.1079.10351","uri":"tv:dvbc?trip=1.1079.10351&srvName=rbb Berlin HD"},{"dispNum":"045","index":44,"programMediaType":"tv","title":"BR Süd HD","tripletStr":"1.1101.10325","uri":"tv:dvbc?trip=1.1101.10325&srvName=BR Süd HD"},{"dispNum":"046","index":45,"programMediaType":"tv","title":"ARD-alpha","tripletStr":"1.1051.28487","uri":"tv:dvbc?trip=1.1051.28487&srvName=ARD-alpha"},{"dispNum":"047","index":46,"programMediaType":"tv","title":"MDR Sachsen HD","tripletStr":"1.1101.10352","uri":"tv:dvbc?trip=1.1101.10352&srvName=MDR Sachsen HD"},{"dispNum":"048","index":47,"programMediaType":"tv","title":"SWR Fernsehen RP HD","tripletStr":"1.1051.10304","uri":"tv:dvbc?trip=1.1051.10304&srvName=SWR Fernsehen RP HD"},{"dispNum":"049","index":48,"programMediaType":"tv","title":"WDR Köln HD","tripletStr":"1.1051.28325","uri":"tv:dvbc?trip=1.1051.28325&srvName=WDR Köln HD"},{"dispNum":"050","index":49,"programMediaType":"tv","title":"3sat HD","tripletStr":"61441.10017.11150","uri":"tv:dvbc?trip=61441.10017.11150&srvName=3sat HD"}]]} err:  data: {"id":1,"result":[[{"dispNum":"001","index":0,"programMediaType":"tv","title":"Das Erste HD","tripletStr":"1.1051.11100","uri":"tv:dvbc?trip=1.1051.11100&srvName=Das Erste HD"},{"dispNum":"002","index":1,"programMediaType":"tv","title":"ZDF HD","tripletStr":"1.1079.11110","uri":"tv:dvbc?trip=1.1079.11110&srvName=ZDF HD"},{"dispNum":"003","index":2,"programMediaType":"tv","title":"NDR FS HH HD","tripletStr":"1.1101.10329","uri":"tv:dvbc?trip=1.1101.10329&srvName=NDR FS HH HD"},{"dispNum":"004","index":3,"programMediaType":"tv","title":"RTL HD","tripletStr":"61441.10015.50012","uri":"tv:dvbc?trip=61441.10015.50012&srvName=RTL HD"},{"dispNum":"005","index":4,"programMediaType":"tv","title":"SAT.1 HD","tripletStr":"61441.10015.50018","uri":"tv:dvbc?trip=61441.10015.50018&srvName=SAT.1 HD"},{"dispNum":"006","index":5,"programMediaType":"tv","title":"RTL II HD","tripletStr":"61441.10015.50011","uri":"tv:dvbc?trip=61441.10015.50011&srvName=RTL II HD"},{"dispNum":"007","index":6,"programMediaType":"tv","title":"ProSieben HD","tripletStr":"61441.10013.50015","uri":"tv:dvbc?trip=61441.10013.50015&srvName=ProSieben HD"},{"dispNum":"008","index":7,"programMediaType":"tv","title":"kabel eins HD","tripletStr":"61441.10014.50009","uri":"tv:dvbc?trip=61441.10014.50009&srvName=kabel eins HD"},{"dispNum":"009","index":8,"programMediaType":"tv","title":"VOX HD","tripletStr":"61441.10013.50013","uri":"tv:dvbc?trip=61441.10013.50013&srvName=VOX HD"},{"dispNum":"010","index":9,"programMediaType":"tv","title":"DMAX HD","tripletStr":"61441.10020.50037","uri":"tv:dvbc?trip=61441.10020.50037&srvName=DMAX HD"},{"dispNum":"011","index":10,"programMediaType":"tv","title":"ProSieben MAXX","tripletStr":"61441.10017.53009","uri":"tv:dvbc?trip=61441.10017.53009&srvName=ProSieben MAXX"},{"dispNum":"012","index":11,"programMediaType":"tv","title":"RTL NITRO HD","tripletStr":"61441.10006.50029","uri":"tv:dvbc?trip=61441.10006.50029&srvName=RTL NITRO HD"},{"dispNum":"013","index":12,"programMediaType":"tv","title":"SAT.1 Gold","tripletStr":"61441.10022.53324","uri":"tv:dvbc?trip=61441.10022.53324&srvName=SAT.1 Gold"},{"dispNum":"014","index":13,"programMediaType":"tv","title":"sixx HD","tripletStr":"61441.10006.50019","uri":"tv:dvbc?trip=61441.10006.50019&srvName=sixx HD"},{"dispNum":"015","index":14,"programMediaType":"tv","title":"TLC","tripletStr":"61441.10002.53220","uri":"tv:dvbc?trip=61441.10002.53220&srvName=TLC"},{"dispNum":"016","index":15,"programMediaType":"tv","title":"Nickelodeon","tripletStr":"61441.10007.53006","uri":"tv:dvbc?trip=61441.10007.53006&srvName=Nickelodeon"},{"dispNum":"017","index":16,"programMediaType":"tv","title":"Eurosport 1 HD","tripletStr":"133.12.132","uri":"tv:dvbc?trip=133.12.132&srvName=Eurosport 1 HD"},{"dispNum":"018","index":17,"programMediaType":"tv","title":"Eurosport 2","tripletStr":"61441.10003.53010","uri":"tv:dvbc?trip=61441.10003.53010&srvName=Eurosport 2"},{"dispNum":"019","index":18,"programMediaType":"tv","title":"SPORT1 HD","tripletStr":"61441.10014.50010","uri":"tv:dvbc?trip=61441.10014.50010&srvName=SPORT1 HD"},{"dispNum":"020","index":19,"programMediaType":"tv","title":"N24 HD","tripletStr":"61441.10016.50034","uri":"tv:dvbc?trip=61441.10016.50034&srvName=N24 HD"},{"dispNum":"021","index":20,"programMediaType":"tv","title":"PHOENIX HD","tripletStr":"61441.10009.10331","uri":"tv:dvbc?trip=61441.10009.10331&srvName=PHOENIX HD"},{"dispNum":"022","index":21,"programMediaType":"tv","title":"n-tv","tripletStr":"61441.10003.53606","uri":"tv:dvbc?trip=61441.10003.53606&srvName=n-tv"},{"dispNum":"023","index":22,"programMediaType":"tv","title":"euronews","tripletStr":"61441.10005.53625","uri":"tv:dvbc?trip=61441.10005.53625&srvName=euronews"},{"dispNum":"024","index":23,"programMediaType":"tv","title":"CNN HD (eng)","tripletStr":"61441.10009.50045","uri":"tv:dvbc?trip=61441.10009.50045&srvName=CNN HD (eng)"},{"dispNum":"025","index":24,"programMediaType":"tv","title":"BBC World News (eng)","tripletStr":"61441.10002.53001","uri":"tv:dvbc?trip=61441.10002.53001&srvName=BBC World News (eng)"},{"dispNum":"026","index":25,"programMediaType":"tv","title":"CNBC Europe/Sky News (eng)","tripletStr":"61441.10022.53321","uri":"tv:dvbc?trip=61441.10022.53321&srvName=CNBC Europe/Sky News (eng)"},{"dispNum":"027","index":26,"programMediaType":"tv","title":"Vidrodjennya TV(rus)","tripletStr":"61441.10004.53004","uri":"tv:dvbc?trip=61441.10004.53004&srvName=Vidrodjennya TV(rus)"},{"dispNum":"028","index":27,"programMediaType":"tv","title":"Al Jazeera Int (eng)","tripletStr":"61441.10004.53614","uri":"tv:dvbc?trip=61441.10004.53614&srvName=Al Jazeera Int (eng)"},{"dispNum":"029","index":28,"programMediaType":"tv","title":"i24news (eng)","tripletStr":"61441.10021.51040","uri":"tv:dvbc?trip=61441.10021.51040&srvName=i24news (eng)"},{"dispNum":"030","index":29,"programMediaType":"tv","title":"Disney Ch. HD","tripletStr":"61441.10016.50031","uri":"tv:dvbc?trip=61441.10016.50031&srvName=Disney Ch. HD"},{"dispNum":"031","index":30,"programMediaType":"tv","title":"SUPER RTL HD","tripletStr":"61441.10006.50028","uri":"tv:dvbc?trip=61441.10006.50028&srvName=SUPER RTL HD"},{"dispNum":"032","index":31,"programMediaType":"tv","title":"KiKA HD","tripletStr":"61441.10009.11160","uri":"tv:dvbc?trip=61441.10009.11160&srvName=KiKA HD"},{"dispNum":"033","index":32,"programMediaType":"tv","title":"TELE 5 HD","tripletStr":"61441.10009.50043","uri":"tv:dvbc?trip=61441.10009.50043&srvName=TELE 5 HD"},{"dispNum":"034","index":33,"programMediaType":"tv",

vuffiraa

Zitat von: Diggewuff am 14 September 2016, 13:36:51
Komischerweise hat es nun einmal geklappt: Log:

Sieht auch alles gut aus. Mich interessiert natürlich das Log, wenn es nicht funktioniert.
Einen Unterschied gibt es noch, ob der TV noch im LAN sichtbar ist, vielleicht darauf mal achten.
Wenn man den TV ausschaltet, bleibt er noch ca. 15 min im LAN, bevor er sich komplett runterfährt.

Viele Grüße,
vuffiraa
FHEM 5.8 auf Cubietruck, Raspi B+

Weinzierl KNX IP BAOS 770, Homematic, EnOcean

Diggewuff

Log wenns nicht funktioniert:
2016.09.14 14:28:37 5: BRAVIA SonyFernseher: called function BRAVIA_GetStatus()
2016.09.14 14:28:37 5: BRAVIA SonyFernseher: called function BRAVIA_SendCommand()
2016.09.14 14:28:37 4: BRAVIA SonyFernseher: REQ getStatus/json
2016.09.14 14:28:37 5: BRAVIA SonyFernseher: POST http://192.168.1.14:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2016.09.14 14:28:37 5: BRAVIA SonyFernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=76432a36aab58781253afd950ac2372b298a1b825c67ff45b36c3e2773ee2e06
2016.09.14 14:28:37 5: BRAVIA SonyFernseher: called function BRAVIA_ReceiveCommand() rc: HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 40
Connection: close
Date: Wed, 14 Sep 2016 12:28:36 GMT

{"id":1,"result":[{"status":"standby"}]} err:  data: {"id":1,"result":[{"status":"standby"}]}
2016.09.14 14:28:37 4: BRAVIA SonyFernseher: RCV getStatus/json
2016.09.14 14:28:37 4: BRAVIA SonyFernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}
2016.09.14 14:28:40 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 14:28:40 2: BRAVIA set SonyFernseher on
2016.09.14 14:28:40 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 14:28:40 5: BRAVIA SonyFernseher: called function BRAVIA_Set()
2016.09.14 14:28:40 5: BRAVIA SonyFernseher: called function BRAVIA_SendCommand()
2016.09.14 14:28:40 4: BRAVIA SonyFernseher: REQ ircc/POWER
2016.09.14 14:28:40 5: BRAVIA SonyFernseher: POST http://192.168.1.14:80/sony/IRCC (<?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:X_SendIRCC xmlns:u="urn:schemas-sony-com:service:IRCC:1"><IRCCCode>AAAAAQAAAAEAAAAVAw==</IRCCCode></u:X_SendIRCC></s:Body></s:Envelope>)
2016.09.14 14:28:40 5: BRAVIA SonyFernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=76432a36aab58781253afd950ac2372b298a1b825c67ff45b36c3e2773ee2e06
Soapaction: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"
Content-Type: text/xml; charset=UTF-8
2016.09.14 14:28:40 5: BRAVIA SonyFernseher: called function BRAVIA_ReceiveCommand() rc: HTTP/1.1 200 OK
Content-Type: text/xml;charset="utf-8"
Content-Length: 375
Connection: close
Server: Linux/2.6 UPnP/1.0 DMR/1.7
Ext:
ACCESS-CONTROL-ALLOW-ORIGIN: *
Date: Wed, 14 Sep 2016 12:28:39 GMT

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <s:Body>
        <u:X_SendIRCCResponse xmlns:u="urn:schemas-sony-com:service:IRCC:1">
        </u:X_SendIRCCResponse>
    </s:Body>
</s:Envelope>
err:  data: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <s:Body>
        <u:X_SendIRCCResponse xmlns:u="urn:schemas-sony-com:service:IRCC:1">
        </u:X_SendIRCCResponse>
    </s:Body>
</s:Envelope>

2016.09.14 14:28:40 4: BRAVIA SonyFernseher: RCV ircc/AAAAAQAAAAEAAAAVAw==
2016.09.14 14:28:40 4: BRAVIA SonyFernseher: RES ircc/AAAAAQAAAAEAAAAVAw== - response
2016.09.14 14:28:47 5: BRAVIA SonyFernseher: called function BRAVIA_GetStatus()
2016.09.14 14:28:47 5: BRAVIA SonyFernseher: called function BRAVIA_SendCommand()
2016.09.14 14:28:47 4: BRAVIA SonyFernseher: REQ getStatus/json
2016.09.14 14:28:47 5: BRAVIA SonyFernseher: POST http://192.168.1.14:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2016.09.14 14:28:47 5: BRAVIA SonyFernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=76432a36aab58781253afd950ac2372b298a1b825c67ff45b36c3e2773ee2e06
2016.09.14 14:28:47 5: BRAVIA SonyFernseher: called function BRAVIA_ReceiveCommand() rc: HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 40
Connection: close
Date: Wed, 14 Sep 2016 12:28:46 GMT

{"id":1,"result":[{"status":"standby"}]} err:  data: {"id":1,"result":[{"status":"standby"}]}
2016.09.14 14:28:47 4: BRAVIA SonyFernseher: RCV getStatus/json
2016.09.14 14:28:47 4: BRAVIA SonyFernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}


Das passiert tatsächlich scheinbar nur dann wenn der TV grade erst ausgeschaltet wurde d.h. solang presence noch auf present steht. sobald presence wieder auf absent wechselt scheint WOL wieder zu funktionieren.

vuffiraa

Zitat von: Diggewuff am 14 September 2016, 14:31:37
Das passiert tatsächlich scheinbar nur dann wenn der TV grade erst ausgeschaltet wurde d.h. solang presence noch auf present steht. sobald presence wieder auf absent wechselt scheint WOL wieder zu funktionieren.

Das erklärt es, meine Annahme war, dass er im "Present"-Zustand per IRCC-Kommando eingeschaltet werden kann und ansonsten per WOL.

Kannst du noch mal prüfen, ob er bei "present" auch wirklich per manuellem WOL einschaltet?
Wenn ja, ist die Anpassung morgen per update verfügbar.

Gruß vuffiraa
FHEM 5.8 auf Cubietruck, Raspi B+

Weinzierl KNX IP BAOS 770, Homematic, EnOcean

Diggewuff

Ist hiermit getestet und bestätigt, WOL direkt aus der Router GUI an die Macadresse schaltet den Fernseher auch bei presence present an!

vuffiraa

Zitat von: Diggewuff am 14 September 2016, 15:21:25
Ist hiermit getestet und bestätigt, WOL direkt aus der Router GUI an die Macadresse schaltet den Fernseher auch bei presence present an!

Fix ist im SVN und wird dann ab morgen per Update verteilt.
FHEM 5.8 auf Cubietruck, Raspi B+

Weinzierl KNX IP BAOS 770, Homematic, EnOcean

Diggewuff

Danke für die schnelle Hilfe. Jetzt funktioniert es wieder tadellos. ;D