[gelöst] BRAVIA set volume funktioniert nicht

Begonnen von slupus, 07 Juni 2020, 11:24:31

Vorheriges Thema - Nächstes Thema

slupus

Hallo zusammen,

ich habe einen Sony KD-55XF9005 und steuere diesen über das BRAVIA Modul. Soweit funktioniert auch alles, also bspw. set on, off, channelDown, channelUp, volumeDown, volumeUp, input, channel, application, ...
Leider ist es nicht möglich mit set volume eine bestimmte Lautstärke direkt einzustellen. Upnp ist on und FHEM bzw. das BRAVIA Modul haben den Stand von heute.

Mein Device:
Internals:
   CFGFN      ./FHEM/fhem_medien.cfg
   CHANNELCOUNT 50
   DEF        192.168.xxx.xxx 30
   FUUID      5e529dec-xxxx-xxxx-xxxx-24a1427449dc9843
   INTERVAL   30
   NAME       SonyTV
   NR         386
   STATE      on
   TYPE       BRAVIA
   READINGS:
     2020-06-06 18:50:13   application     -
     2018-09-14 21:54:38   area            DEU
     2020-06-05 18:32:27   authCookie      452EEF50E2EAAB01127ADA9773EA168967371B10
     2020-06-05 18:32:27   authExpires     Fr., 19 Juni 2020 16:32:27 GMT+00:00
     2018-09-14 21:54:30   authMaxAge      1209600
     2020-06-07 11:00:55   channel         Das Erste HD
     2020-06-07 11:00:55   channelId       001
     2020-06-07 11:00:55   ci_durationSec  3600
     2020-06-07 11:00:55   ci_startDateTime 2020-06-07T11:00:00+0200
     2020-06-07 11:00:55   ci_tripletStr   41985.1051.11100
     2018-09-14 21:54:38   country         XEU
     2020-06-07 10:53:42   currentMedia    -
     2020-06-07 11:00:55   currentTitle    Der gestiefelte Kater
     2018-09-14 21:54:38   generation      5.0.1
     2020-06-07 10:59:32   input           TV
     2018-09-14 21:54:38   language        ger
     2018-09-14 21:54:38   macAddr         xx:xx:xx:xx:xx:xx
     2018-09-14 21:54:38   model           KD-55XF9005
     2020-06-07 11:13:55   mute            off
     2018-09-14 21:54:38   name            BRAVIA
     2020-06-07 10:59:32   power           on
     2020-06-07 10:57:25   presence        present
     2019-04-18 23:03:42   registrationUUID 36d5745d9a3159e0b9a548fc2d4f175f
     2018-09-14 21:54:07   requestFormat   json
     2020-06-07 10:59:32   state           on
     2020-06-07 11:12:51   upnp            on
     2020-06-07 11:00:55   uri             tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD
     2020-06-07 11:12:24   volume          21
   helper:
     ADDRESS    192.168.xxx.xxx
     AVAILABLE  1
     HEADER     X-CERS-DEVICE-ID: fhem_remote
     lastInput  TV
     PORT:
       IRCC       80
       SERVICE    80
       UPNP       52323
     device:
       appPreset:
         Album:
           uri        com.sony.dtv.com.sony.dtv.osat.album.com.sonyericsson.album.MainActivity
         BRAVIA-Lernprogramme:
           uri        com.sony.dtv.com.sony.dtv.bravialifehack.com.sony.dtv.bravialifehack.LifeHackActivity
         Bildschirm#spiegeln:
           uri        com.sony.dtv.screnmirroring.com.screnmirroring.com.StartScreenMirroringHomeActivity
         Einrichtung#der#TV-Steuerung#mit#Amazon#Alexa:
           uri        com.sony.dtv.com.sony.dtv.smarthomesettings.com.sony.dtv.smarthomesettings.activity.MainActivity
         Hilfe:
           uri        com.sony.dtv.com.sony.dtv.smarthelp.com.sony.dtv.smarthelp.activity.MainActivity
         Internet#Browser:
           uri        com.sony.dtv.com.vewd.core.integration.dia.com.vewd.core.integration.dia.SonyBrowserUiActivity
         Liste#aufgezeichneter#Titel:
           uri        com.sony.dtv.com.sony.dtv.tvxlauncher.titlelist.com.sony.dtv.tvxlauncher.titlelist.MainActivity
         Musik:
           uri        com.sony.dtv.com.sony.dtv.osat.music.com.sonyericsson.music.MusicActivity
         Netflix:
           uri        com.sony.dtv.com.netflix.ninja.com.netflix.ninja.MainActivity
         Notifications#for#Android#TV:
           uri        com.sony.dtv.de.cyberdream.androidtv.notifications.google.de.cyberdream.smarttv.leanback.MainActivityLeanBack
         Play#Filme#&#Serien:
           uri        com.sony.dtv.com.google.android.videos.com.google.android.videos.tv.presenter.activity.TvLauncherActivity
         Play#Musik:
           uri        com.sony.dtv.com.google.android.music.com.google.android.music.tv.HomeActivity
         Play#Spiele:
           uri        com.sony.dtv.com.google.android.play.games.com.google.android.apps.play.games.app.atv.features.home.HomeActivity
         Play#Store:
           uri        com.sony.dtv.com.android.vending.com.google.android.finsky.tvmainactivity.TvMainActivity
         Plex:
           uri        com.sony.dtv.com.plexapp.android.com.plexapp.plex.activities.SplashActivity
         Prime#Video:
           uri        com.sony.dtv.com.amazon.amazonvideo.livingroom.com.amazon.ignition.IgnitionActivity
         Programme#Guide:
           uri        com.sony.dtv.com.sony.dtv.tvxlauncher.programguide.com.sony.dtv.tvxlauncher.programguide.MainActivity
         Qmedia:
           uri        com.sony.dtv.com.qnap.qmediatv.com.qnap.qmediatv.Splash.SplashActivity
         Rakuten#TV:#Dein#Kino#zu#Hause:
           uri        com.sony.dtv.sonyselect-ES-WUAKI_NBIV
         Sony#Select:
           uri        com.sony.dtv.com.sony.dtv.sonyselect.com.sony.dtv.sonyselect.activities.LaunchActivity
         TV:
           uri        com.sony.dtv.com.sony.dtv.tvx.com.sony.dtv.tvx.MainActivity
         Timer:
           uri        com.sony.dtv.com.sony.dtv.timers.com.sony.dtv.activity.TimersMainActivity
         Video:
           uri        com.sony.dtv.com.sony.dtv.osat.video.com.sonyericsson.video.browser.BrowserActivity
         YouTube:
           uri        com.sony.dtv.com.google.android.youtube.tv.com.google.android.apps.youtube.tv.activity.ShellActivity
       channelPreset:
         001:
           id         001
           name       Das#Erste#HD
           uri        tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD
         002:
           id         002
           name       ZDF#HD
           uri        tv:dvbt?trip=102.1079.11110&srvName=ZDF HD

         ...

       inputPreset:
         AV:
           uri        extInput:composite?port=1
         AVR-X2000:
           uri        extInput:cec?type=freeuse&port=3&logicalAddr=5
         Bildschirm#spiegeln:
           uri        extInput:widi?port=1
         HDMI#1:
           uri        extInput:hdmi?port=1
         HDMI#2:
           uri        extInput:hdmi?port=2
         HDMI#3/ARC:
           uri        extInput:hdmi?port=3
         HDMI#4:
           uri        extInput:hdmi?port=4
         TV:
           uri        tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD
         TV#/#DVB-T:
           uri        tv:dvbt
Attributes:
   devStateIcon on:ios-on-green off:ios-off
   icon       it_television
   room       1_Wohnzimmer
   webCmd     volume:channelUp:channelDown


Mit verbose 5 habe ich folgende Meldung im Log gefunden:
2020.06.07 11:15:20 5: BRAVIA SonyTV: called function Set()
2020.06.07 11:15:20 2: BRAVIA set SonyTV volume 21
2020.06.07 11:15:20 5: BRAVIA SonyTV: called function SendCommand()
2020.06.07 11:15:20 4: BRAVIA SonyTV: REQ upnp/setVolume:21
2020.06.07 11:15:20 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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:SetVolume xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel><DesiredVolume>21</DesiredVolume></u:SetVolume></s:Body></s:Envelope>)
2020.06.07 11:15:20 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#SetVolume"
Content-Type: text/xml
2020.06.07 11:15:20 5: BRAVIA SonyTV: called function Set()
2020.06.07 11:15:20 5: BRAVIA SonyTV: called function Set()
2020.06.07 11:15:20 5: BRAVIA SonyTV: called function Set()
2020.06.07 11:15:20 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x61792b0) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.07 11:15:20 4: BRAVIA SonyTV: RCV TIMEOUT upnp/setVolume


Falls die Information hilfreich ist, bei set mute on/off besteht das gleiche Problem. Ein set mute toggle funktioniert.
2020.06.07 11:14:02 5: BRAVIA SonyTV: called function Set()
2020.06.07 11:14:02 2: BRAVIA set SonyTV mute off
2020.06.07 11:14:02 5: BRAVIA SonyTV: called function SendCommand()
2020.06.07 11:14:02 4: BRAVIA SonyTV: REQ upnp/setMute:0
2020.06.07 11:14:02 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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:SetMute xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Channel>Master</Channel><DesiredMute>0</DesiredMute></u:SetMute></s:Body></s:Envelope>)
2020.06.07 11:14:02 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#SetMute"
Content-Type: text/xml
2020.06.07 11:14:02 5: BRAVIA SonyTV: called function Set()
2020.06.07 11:14:02 5: BRAVIA SonyTV: called function Set()
2020.06.07 11:14:02 5: BRAVIA SonyTV: called function Set()
2020.06.07 11:14:02 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x63d2638) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.07 11:14:02 4: BRAVIA SonyTV: RCV TIMEOUT upnp/setMute

vuffiraa

Hallo suelle,

bei dir scheine die Funktionen nicht zu gehen, die über UPNP laufen. Bei den anderen Sachen werden einfach nur entsprechende Codes der Fernbedienung gesendet.
Offensichtlich scheint hier bei deinem Gerät etwas anders zu laufen. Ich sehe im Log, dass die Befehle zum Setzen der Lautstärke und zum Stummschalten direkt nicht akzeptiert werden.

Kannst du mal ein längeres Log aufzeichnen, das eine kompletten Statusabruf enthält?
In den Readings gibt es den Wert volume = 21. Ist das der aktuelle Werte?

Ansonsten würden mich die offenen Ports deines TV interessieren und die verfügbaren UPNP Services.

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

Weinzierl KNX IP BAOS 770, Homematic, EnOcean

slupus

#2
Hallo VuffiRaa,

ZitatKannst du mal ein längeres Log aufzeichnen, das eine kompletten Statusabruf enthält?
Hoffe das reicht aus:
2020.06.09 22:33:39 5: BRAVIA SonyTV: called function Get()
2020.06.09 22:33:47 5: BRAVIA SonyTV: called function GetStatus()
2020.06.09 22:33:47 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:33:47 4: BRAVIA SonyTV: REQ getStatus/json
2020.06.09 22:33:47 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2020.06.09 22:33:47 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:33:47 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x6555e88) err:  data: {"result":[{"status":"active"}],"id":1}
2020.06.09 22:33:47 4: BRAVIA SonyTV: RCV getStatus/json
2020.06.09 22:33:47 4: BRAVIA SonyTV: RES getStatus/json - {"result":[{"status":"active"}],"id":1}
2020.06.09 22:33:47 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:33:47 4: BRAVIA SonyTV: REQ getContentInformation
2020.06.09 22:33:47 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/avContent ({"method":"getPlayingContentInfo","params":[],"id":1,"version":"1.0"})
2020.06.09 22:33:47 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:33:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x65b8790) err:  data: {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:33:48 4: BRAVIA SonyTV: RCV getContentInformation
2020.06.09 22:33:48 4: BRAVIA SonyTV: RES getContentInformation - {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:33:48 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:33:48 4: BRAVIA SonyTV: REQ upnp/getVolume
2020.06.09 22:33:48 4: BRAVIA SonyTV: successors 0: upnp,getMute
2020.06.09 22:33:48 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:33:48 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
Content-Type: text/xml
2020.06.09 22:33:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x64d50e8) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:33:48 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getVolume
2020.06.09 22:33:48 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:33:48 4: BRAVIA SonyTV: REQ upnp/getMute
2020.06.09 22:33:48 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:33:48 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetMute"
Content-Type: text/xml
2020.06.09 22:33:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x656dc88) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:33:48 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getMute
2020.06.09 22:34:17 5: BRAVIA SonyTV: called function GetStatus()
2020.06.09 22:34:17 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:34:17 4: BRAVIA SonyTV: REQ getStatus/json
2020.06.09 22:34:17 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2020.06.09 22:34:17 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:34:17 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x6094340) err:  data: {"result":[{"status":"active"}],"id":1}
2020.06.09 22:34:17 4: BRAVIA SonyTV: RCV getStatus/json
2020.06.09 22:34:17 4: BRAVIA SonyTV: RES getStatus/json - {"result":[{"status":"active"}],"id":1}
2020.06.09 22:34:17 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:34:17 4: BRAVIA SonyTV: REQ getContentInformation
2020.06.09 22:34:17 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/avContent ({"method":"getPlayingContentInfo","params":[],"id":1,"version":"1.0"})
2020.06.09 22:34:17 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:34:18 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x662a4a8) err:  data: {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:34:18 4: BRAVIA SonyTV: RCV getContentInformation
2020.06.09 22:34:18 4: BRAVIA SonyTV: RES getContentInformation - {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:34:18 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:34:18 4: BRAVIA SonyTV: REQ upnp/getVolume
2020.06.09 22:34:18 4: BRAVIA SonyTV: successors 0: upnp,getMute
2020.06.09 22:34:18 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:34:18 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
Content-Type: text/xml
2020.06.09 22:34:18 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x64613d8) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:34:18 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getVolume
2020.06.09 22:34:18 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:34:18 4: BRAVIA SonyTV: REQ upnp/getMute
2020.06.09 22:34:18 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:34:18 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetMute"
Content-Type: text/xml
2020.06.09 22:34:18 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x65a07d8) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:34:18 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getMute
2020.06.09 22:34:47 5: BRAVIA SonyTV: called function GetStatus()
2020.06.09 22:34:47 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:34:47 4: BRAVIA SonyTV: REQ getStatus/json
2020.06.09 22:34:47 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2020.06.09 22:34:47 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:34:47 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x5daed88) err:  data: {"result":[{"status":"active"}],"id":1}
2020.06.09 22:34:47 4: BRAVIA SonyTV: RCV getStatus/json
2020.06.09 22:34:47 4: BRAVIA SonyTV: RES getStatus/json - {"result":[{"status":"active"}],"id":1}
2020.06.09 22:34:47 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:34:47 4: BRAVIA SonyTV: REQ getContentInformation
2020.06.09 22:34:47 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/avContent ({"method":"getPlayingContentInfo","params":[],"id":1,"version":"1.0"})
2020.06.09 22:34:47 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:34:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x63a1888) err:  data: {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:34:48 4: BRAVIA SonyTV: RCV getContentInformation
2020.06.09 22:34:48 4: BRAVIA SonyTV: RES getContentInformation - {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:34:48 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:34:48 4: BRAVIA SonyTV: REQ upnp/getVolume
2020.06.09 22:34:48 4: BRAVIA SonyTV: successors 0: upnp,getMute
2020.06.09 22:34:48 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:34:48 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
Content-Type: text/xml
2020.06.09 22:34:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x24a0980) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:34:48 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getVolume
2020.06.09 22:34:48 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:34:48 4: BRAVIA SonyTV: REQ upnp/getMute
2020.06.09 22:34:48 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:34:48 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetMute"
Content-Type: text/xml
2020.06.09 22:34:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x64a7fb8) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:34:48 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getMute
2020.06.09 22:35:17 5: BRAVIA SonyTV: called function GetStatus()
2020.06.09 22:35:17 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:35:17 4: BRAVIA SonyTV: REQ getStatus/json
2020.06.09 22:35:17 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2020.06.09 22:35:17 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:35:17 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x640fa38) err:  data: {"result":[{"status":"active"}],"id":1}
2020.06.09 22:35:17 4: BRAVIA SonyTV: RCV getStatus/json
2020.06.09 22:35:17 4: BRAVIA SonyTV: RES getStatus/json - {"result":[{"status":"active"}],"id":1}
2020.06.09 22:35:17 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:35:17 4: BRAVIA SonyTV: REQ getContentInformation
2020.06.09 22:35:17 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/avContent ({"method":"getPlayingContentInfo","params":[],"id":1,"version":"1.0"})
2020.06.09 22:35:17 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:35:18 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x65d52e8) err:  data: {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:35:18 4: BRAVIA SonyTV: RCV getContentInformation
2020.06.09 22:35:18 4: BRAVIA SonyTV: RES getContentInformation - {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:35:18 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:35:18 4: BRAVIA SonyTV: REQ upnp/getVolume
2020.06.09 22:35:18 4: BRAVIA SonyTV: successors 0: upnp,getMute
2020.06.09 22:35:18 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:35:18 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
Content-Type: text/xml
2020.06.09 22:35:18 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x65b85c8) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:35:18 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getVolume
2020.06.09 22:35:18 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:35:18 4: BRAVIA SonyTV: REQ upnp/getMute
2020.06.09 22:35:18 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:35:18 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetMute"
Content-Type: text/xml
2020.06.09 22:35:18 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x63a8178) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:35:18 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getMute
2020.06.09 22:35:47 5: BRAVIA SonyTV: called function GetStatus()
2020.06.09 22:35:47 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:35:47 4: BRAVIA SonyTV: REQ getStatus/json
2020.06.09 22:35:47 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2020.06.09 22:35:47 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:35:47 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x6620ae0) err:  data: {"result":[{"status":"active"}],"id":1}
2020.06.09 22:35:47 4: BRAVIA SonyTV: RCV getStatus/json
2020.06.09 22:35:47 4: BRAVIA SonyTV: RES getStatus/json - {"result":[{"status":"active"}],"id":1}
2020.06.09 22:35:47 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:35:47 4: BRAVIA SonyTV: REQ getContentInformation
2020.06.09 22:35:47 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/avContent ({"method":"getPlayingContentInfo","params":[],"id":1,"version":"1.0"})
2020.06.09 22:35:47 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:35:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x652f680) err:  data: {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:35:48 4: BRAVIA SonyTV: RCV getContentInformation
2020.06.09 22:35:48 4: BRAVIA SonyTV: RES getContentInformation - {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:35:48 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:35:48 4: BRAVIA SonyTV: REQ upnp/getVolume
2020.06.09 22:35:48 4: BRAVIA SonyTV: successors 0: upnp,getMute
2020.06.09 22:35:48 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:35:48 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
Content-Type: text/xml
2020.06.09 22:35:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x64ceeb0) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:35:48 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getVolume
2020.06.09 22:35:48 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:35:48 4: BRAVIA SonyTV: REQ upnp/getMute
2020.06.09 22:35:48 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:35:48 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetMute"
Content-Type: text/xml
2020.06.09 22:35:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x661e870) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:35:48 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getMute
2020.06.09 22:36:17 5: BRAVIA SonyTV: called function GetStatus()
2020.06.09 22:36:17 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:36:17 4: BRAVIA SonyTV: REQ getStatus/json
2020.06.09 22:36:17 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2020.06.09 22:36:17 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:36:17 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x6617278) err:  data: {"result":[{"status":"active"}],"id":1}
2020.06.09 22:36:17 4: BRAVIA SonyTV: RCV getStatus/json
2020.06.09 22:36:17 4: BRAVIA SonyTV: RES getStatus/json - {"result":[{"status":"active"}],"id":1}
2020.06.09 22:36:17 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:36:17 4: BRAVIA SonyTV: REQ getContentInformation
2020.06.09 22:36:17 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/avContent ({"method":"getPlayingContentInfo","params":[],"id":1,"version":"1.0"})
2020.06.09 22:36:17 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:36:18 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x65ee068) err:  data: {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:36:18 4: BRAVIA SonyTV: RCV getContentInformation
2020.06.09 22:36:18 4: BRAVIA SonyTV: RES getContentInformation - {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:36:18 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:36:18 4: BRAVIA SonyTV: REQ upnp/getVolume
2020.06.09 22:36:18 4: BRAVIA SonyTV: successors 0: upnp,getMute
2020.06.09 22:36:18 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:36:18 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
Content-Type: text/xml
2020.06.09 22:36:18 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x66054b0) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:36:18 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getVolume
2020.06.09 22:36:18 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:36:18 4: BRAVIA SonyTV: REQ upnp/getMute
2020.06.09 22:36:18 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:36:18 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetMute"
Content-Type: text/xml
2020.06.09 22:36:18 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x65ced90) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:36:18 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getMute
2020.06.09 22:36:47 5: BRAVIA SonyTV: called function GetStatus()
2020.06.09 22:36:47 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:36:47 4: BRAVIA SonyTV: REQ getStatus/json
2020.06.09 22:36:47 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2020.06.09 22:36:47 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:36:47 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x656a870) err:  data: {"result":[{"status":"active"}],"id":1}
2020.06.09 22:36:47 4: BRAVIA SonyTV: RCV getStatus/json
2020.06.09 22:36:47 4: BRAVIA SonyTV: RES getStatus/json - {"result":[{"status":"active"}],"id":1}
2020.06.09 22:36:47 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:36:47 4: BRAVIA SonyTV: REQ getContentInformation
2020.06.09 22:36:47 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/avContent ({"method":"getPlayingContentInfo","params":[],"id":1,"version":"1.0"})
2020.06.09 22:36:47 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:36:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x651ce28) err:  data: {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:36:48 4: BRAVIA SonyTV: RCV getContentInformation
2020.06.09 22:36:48 4: BRAVIA SonyTV: RES getContentInformation - {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:36:48 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:36:48 4: BRAVIA SonyTV: REQ upnp/getVolume
2020.06.09 22:36:48 4: BRAVIA SonyTV: successors 0: upnp,getMute
2020.06.09 22:36:48 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:36:48 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
Content-Type: text/xml
2020.06.09 22:36:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x657cff8) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:36:48 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getVolume
2020.06.09 22:36:48 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:36:48 4: BRAVIA SonyTV: REQ upnp/getMute
2020.06.09 22:36:48 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:36:48 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetMute"
Content-Type: text/xml
2020.06.09 22:36:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x65d0bc8) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:36:48 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getMute
2020.06.09 22:37:17 5: BRAVIA SonyTV: called function GetStatus()
2020.06.09 22:37:17 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:37:17 4: BRAVIA SonyTV: REQ getStatus/json
2020.06.09 22:37:17 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2020.06.09 22:37:17 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:37:17 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x642db38) err:  data: {"result":[{"status":"active"}],"id":1}
2020.06.09 22:37:17 4: BRAVIA SonyTV: RCV getStatus/json
2020.06.09 22:37:17 4: BRAVIA SonyTV: RES getStatus/json - {"result":[{"status":"active"}],"id":1}
2020.06.09 22:37:17 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:37:17 4: BRAVIA SonyTV: REQ getContentInformation
2020.06.09 22:37:17 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/avContent ({"method":"getPlayingContentInfo","params":[],"id":1,"version":"1.0"})
2020.06.09 22:37:17 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:37:18 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x6023d70) err:  data: {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:37:18 4: BRAVIA SonyTV: RCV getContentInformation
2020.06.09 22:37:18 4: BRAVIA SonyTV: RES getContentInformation - {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:37:18 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:37:18 4: BRAVIA SonyTV: REQ upnp/getVolume
2020.06.09 22:37:18 4: BRAVIA SonyTV: successors 0: upnp,getMute
2020.06.09 22:37:18 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:37:18 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
Content-Type: text/xml
2020.06.09 22:37:18 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x64e5f88) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:37:18 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getVolume
2020.06.09 22:37:18 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:37:18 4: BRAVIA SonyTV: REQ upnp/getMute
2020.06.09 22:37:18 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:37:18 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetMute"
Content-Type: text/xml
2020.06.09 22:37:18 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x614f900) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:37:18 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getMute
2020.06.09 22:37:47 5: BRAVIA SonyTV: called function GetStatus()
2020.06.09 22:37:47 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:37:47 4: BRAVIA SonyTV: REQ getStatus/json
2020.06.09 22:37:47 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2020.06.09 22:37:47 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:37:47 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x642d8c8) err:  data: {"result":[{"status":"active"}],"id":1}
2020.06.09 22:37:47 4: BRAVIA SonyTV: RCV getStatus/json
2020.06.09 22:37:47 4: BRAVIA SonyTV: RES getStatus/json - {"result":[{"status":"active"}],"id":1}
2020.06.09 22:37:47 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:37:47 4: BRAVIA SonyTV: REQ getContentInformation
2020.06.09 22:37:47 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/avContent ({"method":"getPlayingContentInfo","params":[],"id":1,"version":"1.0"})
2020.06.09 22:37:47 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:37:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x24a0980) err:  data: {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:37:48 4: BRAVIA SonyTV: RCV getContentInformation
2020.06.09 22:37:48 4: BRAVIA SonyTV: RES getContentInformation - {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:37:48 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:37:48 4: BRAVIA SonyTV: REQ upnp/getVolume
2020.06.09 22:37:48 4: BRAVIA SonyTV: successors 0: upnp,getMute
2020.06.09 22:37:48 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:37:48 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
Content-Type: text/xml
2020.06.09 22:37:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x6442f60) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:37:48 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getVolume
2020.06.09 22:37:48 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:37:48 4: BRAVIA SonyTV: REQ upnp/getMute
2020.06.09 22:37:48 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:37:48 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetMute"
Content-Type: text/xml
2020.06.09 22:37:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x6502100) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:37:48 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getMute
2020.06.09 22:38:25 5: BRAVIA SonyTV: called function Set()
2020.06.09 22:38:25 5: BRAVIA SonyTV: called function Set()
2020.06.09 22:38:25 5: BRAVIA SonyTV: called function Set()
2020.06.09 22:38:25 5: BRAVIA SonyTV: called function Set()
2020.06.09 22:38:25 5: BRAVIA SonyTV: called function Set()
2020.06.09 22:38:25 5: BRAVIA SonyTV: called function Get()
2020.06.09 22:38:29 5: BRAVIA SonyTV: called function Get()
2020.06.09 22:38:35 5: BRAVIA SonyTV: called function Get()
2020.06.09 22:38:41 5: BRAVIA SonyTV: called function Get()
2020.06.09 22:38:45 5: BRAVIA SonyTV: called function Get()
2020.06.09 22:38:47 5: BRAVIA SonyTV: called function GetStatus()
2020.06.09 22:38:47 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:38:47 4: BRAVIA SonyTV: REQ getStatus/json
2020.06.09 22:38:47 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2020.06.09 22:38:47 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:38:47 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x64c6808) err:  data: {"result":[{"status":"active"}],"id":1}
2020.06.09 22:38:47 4: BRAVIA SonyTV: RCV getStatus/json
2020.06.09 22:38:47 4: BRAVIA SonyTV: RES getStatus/json - {"result":[{"status":"active"}],"id":1}
2020.06.09 22:38:47 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:38:47 4: BRAVIA SonyTV: REQ getContentInformation
2020.06.09 22:38:47 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx:80/sony/avContent ({"method":"getPlayingContentInfo","params":[],"id":1,"version":"1.0"})
2020.06.09 22:38:47 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
2020.06.09 22:38:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x65d7c78) err:  data: {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:38:48 4: BRAVIA SonyTV: RCV getContentInformation
2020.06.09 22:38:48 4: BRAVIA SonyTV: RES getContentInformation - {"result":[{"uri":"tv:dvbt?trip=41985.1051.11100&srvName=Das Erste HD","source":"tv:dvbt","title":"Das Erste HD","dispNum":"001","tripletStr":"41985.1051.11100","programTitle":"Sportschau","startDateTime":"2020-06-09T21:45:00+0200","durationSec":3600}],"id":1}
2020.06.09 22:38:48 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:38:48 4: BRAVIA SonyTV: REQ upnp/getVolume
2020.06.09 22:38:48 4: BRAVIA SonyTV: successors 0: upnp,getMute
2020.06.09 22:38:48 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:38:48 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
Content-Type: text/xml
2020.06.09 22:38:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x6528f58) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:38:48 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getVolume
2020.06.09 22:38:48 5: BRAVIA SonyTV: called function SendCommand()
2020.06.09 22:38:48 4: BRAVIA SonyTV: REQ upnp/getMute
2020.06.09 22:38:48 5: BRAVIA SonyTV: POST http://192.168.xxx.xxx: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>)
2020.06.09 22:38:48 5: BRAVIA SonyTV: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=452EEF50E2EAAB01127ADA9773EA168967371B10
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetMute"
Content-Type: text/xml
2020.06.09 22:38:48 5: BRAVIA SonyTV: called function ReceiveCommand() rc: HASH(0x65be9b8) err: 192.168.xxx.xxx: Connection refused (111) data:
2020.06.09 22:38:48 4: BRAVIA SonyTV: RCV TIMEOUT upnp/getMute


ZitatIn den Readings gibt es den Wert volume = 21. Ist das der aktuelle Werte?
Das ist der Wert, den ich in FHEM gesetzt habe. Den Wert vom TV bekomme ich nicht in FHEM. Die Werte von TV und FHEM sind somit unabhängig voneinander.

ZitatAnsonsten würden mich die offenen Ports deines TV interessieren und die verfügbaren UPNP Services.
<Scan>
<Info>PortScan &amp; Stuff [1.77] - http://www.the-sz.com/</Info>
<Host>192.168.xxx.xxx<MACAdresse>xx:xx:xx:xx:xx:xx [SONY Visual Products Inc.]</MACAdresse>
<OffenerPort>HTTP [80]</OffenerPort>
<HTTPServer>nginx</HTTPServer><HTTPTitle>400 Bad Request</HTTPTitle>
<OffenerPort>6466</OffenerPort>
<OffenerPort>6467</OffenerPort>
<OffenerPort>7676</OffenerPort>
<OffenerPort>8008</OffenerPort>
<OffenerPort>8009</OffenerPort>
<OffenerPort>8443</OffenerPort>
<OffenerPort>Network Printer [9000]</OffenerPort>
<OffenerPort>34276</OffenerPort>
<OffenerPort>56528</OffenerPort>
<OffenerPort>57064</OffenerPort>
</Host>
</Scan>

Mir ist aufgefallen, dass im Log der Port 52323 genutzt wird, dieser aber nicht bei den offenen Ports dabei ist.
Als Upnp Dienst nutze ich eigentlich nur Plex, um Videoinhalte von meinem NAS zu streamen. Das funktioniert ohne Probleme.

Viele Grüße
suelle

vuffiraa

Hallo suelle,

das Log ist ausreichend und zeigt leider, dass auch die reinen Upnp-Lesezugriffe nicht funktionieren. Naja, der entsprechende Port ist ja auch nicht offen.

Mit etwas Glück läuft der Service nur auf einem anderen Port. Den müssen wir halt finden ;)

Bisher habe ich meine Upnp Geräte mit der Java Bibliothek cling (https://github.com/4thline/cling/releases) untersucht. Da gibt es ein kleines UI, wo man alle verfügbaren Geräte im Netzwerk sieht. Ich habe aber gerade ein neues Projekt entdeckt, was ziemlich gut funktioniert. Es läuft mit Python und nennt sich upnp_info (https://github.com/tenable/upnp_info). Damit sieht das bei mir so aus:

python upnp_info.py
[+] Discovering UPnP locations
[+] Discovery complete
[+] 10 locations found:
        ...
        -> http://192.168.xx.xx:52323/MediaRenderer.xml
        ...
[+] Loading http://192.168.xx.xx:52323/MediaRenderer.xml...
        -> Server String: Android/1.6 UPnP/1.0 Huey Sample DMR/0.1
        ==== XML Attributes ===
        -> Device Type: urn:schemas-upnp-org:device:MediaRenderer:1
        -> Friendly Name: KD-55XD8505
        -> Manufacturer: Sony Corporation
        -> Manufacturer URL: http://www.sony.net/
        -> Model Description: Sony 2015 4K TV
        -> Model Name: MediaRenderer
        -> Model Number: 100
        -> Services:
                => Service Type: urn:schemas-upnp-org:service:RenderingControl:1
                => Control: /upnp/control/RenderingControl
                => Events: /upnp/event/RenderingControl
                => API: http://192.168.xx.xx:52323/RenderingControlSCPD.xml
                        - ListPresets
                        - SelectPreset
                        - GetMute
                        - SetMute
                        - GetVolume
                        - SetVolume
                        - X_UpdateAudioSelection
                        - X_UpdateVideoSelection
                        - X_GetAudioSelection
                        - X_GetVideoSelection
                => Service Type: urn:schemas-upnp-org:service:ConnectionManager:1
                => Control: /upnp/control/ConnectionManager
                => Events: /upnp/event/ConnectionManager
                => API: http://192.168.xx.xx:52323/ConnectionManagerSCPD.xml
                        - GetProtocolInfo
                        - PrepareForConnection
                        - ConnectionComplete
                        - GetCurrentConnectionIDs
                        - GetCurrentConnectionInfo
                        - X_StartWFD
                => Service Type: urn:schemas-upnp-org:service:AVTransport:1
                => Control: /upnp/control/AVTransport
                => Events: /upnp/event/AVTransport
                => API: http://192.168.xx.xx:52323/AVTransportSCPD.xml
                        - SetAVTransportURI
                        - SetNextAVTransportURI
                        - GetMediaInfo
                        - GetTransportInfo
                        - GetPositionInfo
                        - GetDeviceCapabilities
                        - GetTransportSettings
                        - Stop
                        - Play
                        - Pause
                        - Seek
                        - Next
                        - Previous
                        - GetCurrentTransportActions
                        - X_DLNA_GetBytePositionInfo
                        - X_PlayURI
                => Service Type: urn:schemas-rvualliance-org:service:StreamSplicing:1
                => Control: /upnp/control/StreamSplicing
                => Events: /upnp/event/StreamSplicing
                => API: http://192.168.xx.xx:52323/StreamSplicingSCPD.xml
                        - SetBreakAuxStreamPlaylist
                        - SetBreakAuxStreamTrigger
[+] Loading http://192.168.xx.xx:8008/ssdp/device-desc.xml...


Kannst du mal schauen, ob es bei dir unter einem der offenen Ports einen passenden Service MediaRenderer gibt? Ich verwende im Modul die Befehle:

  • GetMute
  • SetMute
  • GetVolume
  • SetVolume

Gibt es sowas bei dir?

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

Weinzierl KNX IP BAOS 770, Homematic, EnOcean

slupus

Hallo VuffiRaa,

das sieht bei mir leider nicht so gut aus. Hier die relevanten Ergebnisse von upnp_info:
[+] Discovering UPnP locations
[+] Discovery complete
[+] 10 locations found:
        -> http://192.168.xxx.xxx:61366/sony/webapi/ssdp/dd.xml
        -> http://192.168.xxx.xxx:17377/dd.xml
        -> http://192.168.xxx.xxx:8008/ssdp/device-desc.xml
[+] Loading http://192.168.xxx.xxx:61366/sony/webapi/ssdp/dd.xml...
        -> Server String: FedoraCore/2 UPnP/1.0 MINT-X/1.8.1
        ==== XML Attributes ===
        -> Device Type: urn:schemas-upnp-org:device:Basic:1
        -> Friendly Name: Fernseher
        -> Manufacturer: Sony Corporation
        -> Manufacturer URL: http://www.sony.net/
        -> Model Name: KD-55XF9005
        -> Services:
                => Service Type: urn:schemas-sony-com:service:ScalarWebAPI:1
                => Control: http://192.168.xxx.xxx/sony
                => Events: None
                => API: http://192.168.xxx.xxx:61366/sony/webapi/ssdp/scpd/WebApiSCPD.xml
                => Service Type: urn:schemas-sony-com:service:IRCC:1
                => Control: http://192.168.xxx.xxx/sony/ircc
                => Events: None
                => API: http://192.168.xxx.xxx:61366/http://192.168.xxx.xxx/sony/ircc/IRCCSCPD.xml
                        [!] Failed to parse the response XML
[+] Loading http://192.168.xxx.xxx:17377/dd.xml...
        -> Server String: FedoraCore/2 UPnP/1.0 MINT-X/1.8.1
        ==== XML Attributes ===
        -> Device Type: urn:schemas-upnp-org:device:Basic:1
        -> Friendly Name: Fernseher
        -> Manufacturer: Sony Corporation
        -> Manufacturer URL: http://www.sony.net/
        -> Model Description: BRAVIA
        -> Model Name: KD-55XF9005
        -> Services:
                => Service Type: urn:dial-multiscreen-org:service:dial:1
                => Control: /upnp/control/DIAL
                => Events: None
                => API: http://192.168.xxx.xxx:17377/DIALSCPD.xml
                        [!] Failed to parse the response XML
        -> Model Number: avm
        -> Services:
                => Service Type: urn:schemas-any-com:service:fritzbox:1
                => Control: /upnp/control/fritzbox
                => Events: /upnp/control/fritzbox
                => API: http://192.168.xxx.xxx:49000/fboxSCPD.xml
                        - SetLogParam
                        - GetMaclist
[+] Loading http://192.168.xxx.xxx:8008/ssdp/device-desc.xml...
        -> No server string
        ==== XML Attributes ===
        -> Device Type: urn:dial-multiscreen-org:device:dial:1
        -> Friendly Name: Fernseher
        -> Manufacturer: Sony
        -> Model Name: BRAVIA 4K GB ATV3
        -> Services:
                => Service Type: urn:dial-multiscreen-org:service:dial:1
                => Control: /ssdp/notfound
                => Events: /ssdp/notfound
                => API: http://192.168.xxx.xxx:8008/ssdp/notfound
                        [!] Failed to parse the response XML
[+] Fin.


Dort finde ich keine Einträge MediaRenderer, GetMute, SetMute, GetVolume oder SetVolume.
Die XMLs hänge ich dir auch mal an.

http://192.168.xxx.xxx:61366/sony/webapi/ssdp/dd.xml
<root>
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device>
<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
<friendlyName>Fernseher</friendlyName>
<manufacturer>Sony Corporation</manufacturer>
<manufacturerURL>http://www.sony.net/</manufacturerURL>
<modelName>KD-55XF9005</modelName>
<UDN>uuid:861823d1-58d5-48a3-bead-21e7bb4ce019</UDN>
<iconList>
<icon>
<mimetype>image/jpeg</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/sony/webapi/ssdp/icon/dlna_tv_120.jpg</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/sony/webapi/ssdp/icon/dlna_tv_120.png</url>
</icon>
<icon>
<mimetype>image/jpeg</mimetype>
<width>32</width>
<height>32</height>
<depth>24</depth>
<url>/sony/webapi/ssdp/icon/dlna_tv_32.jpg</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>32</width>
<height>32</height>
<depth>24</depth>
<url>/sony/webapi/ssdp/icon/dlna_tv_32.png</url>
</icon>
<icon>
<mimetype>image/jpeg</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/sony/webapi/ssdp/icon/dlna_tv_48.jpg</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/sony/webapi/ssdp/icon/dlna_tv_48.png</url>
</icon>
<icon>
<mimetype>image/jpeg</mimetype>
<width>60</width>
<height>60</height>
<depth>24</depth>
<url>/sony/webapi/ssdp/icon/dlna_tv_60.jpg</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>60</width>
<height>60</height>
<depth>24</depth>
<url>/sony/webapi/ssdp/icon/dlna_tv_60.png</url>
</icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:schemas-sony-com:service:ScalarWebAPI:1</serviceType>
<serviceId>urn:schemas-sony-com:serviceId:ScalarWebAPI</serviceId>
<SCPDURL>/sony/webapi/ssdp/scpd/WebApiSCPD.xml</SCPDURL>
<controlURL>http://192.168.xxx.xxx/sony</controlURL>
<eventSubURL/>
</service>
<service>
<serviceType>urn:schemas-sony-com:service:IRCC:1</serviceType>
<serviceId>urn:schemas-sony-com:serviceId:IRCC</serviceId>
<SCPDURL>http://192.168.xxx.xxx/sony/ircc/IRCCSCPD.xml</SCPDURL>
<controlURL>http://192.168.xxx.xxx/sony/ircc</controlURL>
<eventSubURL/>
</service>
</serviceList>
<av:X_ScalarWebAPI_DeviceInfo>
<av:X_ScalarWebAPI_Version>1.0</av:X_ScalarWebAPI_Version>
<av:X_ScalarWebAPI_BaseURL>http://192.168.xxx.xxx/sony</av:X_ScalarWebAPI_BaseURL>
<av:X_ScalarWebAPI_ServiceList>
<av:X_ScalarWebAPI_ServiceType>guide</av:X_ScalarWebAPI_ServiceType>
<av:X_ScalarWebAPI_ServiceType>avContent</av:X_ScalarWebAPI_ServiceType>
<av:X_ScalarWebAPI_ServiceType>system</av:X_ScalarWebAPI_ServiceType>
<av:X_ScalarWebAPI_ServiceType>videoScreen</av:X_ScalarWebAPI_ServiceType>
<av:X_ScalarWebAPI_ServiceType>audio</av:X_ScalarWebAPI_ServiceType>
<av:X_ScalarWebAPI_ServiceType>encryption</av:X_ScalarWebAPI_ServiceType>
<av:X_ScalarWebAPI_ServiceType>cec</av:X_ScalarWebAPI_ServiceType>
<av:X_ScalarWebAPI_ServiceType>accessControl</av:X_ScalarWebAPI_ServiceType>
<av:X_ScalarWebAPI_ServiceType>browser</av:X_ScalarWebAPI_ServiceType>
<av:X_ScalarWebAPI_ServiceType>appControl</av:X_ScalarWebAPI_ServiceType>
<av:X_ScalarWebAPI_ServiceType>contentshare</av:X_ScalarWebAPI_ServiceType>
</av:X_ScalarWebAPI_ServiceList>
</av:X_ScalarWebAPI_DeviceInfo>
<av:X_IRCC_DeviceInfo>
<av:X_IRCC_Version>1.0</av:X_IRCC_Version>
<av:X_IRCC_CategoryList>
<av:X_IRCC_Category>
<av:X_CategoryInfo>AAEAAAAB</av:X_CategoryInfo>
</av:X_IRCC_Category>
<av:X_IRCC_Category>
<av:X_CategoryInfo>AAIAAACk</av:X_CategoryInfo>
</av:X_IRCC_Category>
<av:X_IRCC_Category>
<av:X_CategoryInfo>AAIAAACX</av:X_CategoryInfo>
</av:X_IRCC_Category>
<av:X_IRCC_Category>
<av:X_CategoryInfo>AAIAAAB3</av:X_CategoryInfo>
</av:X_IRCC_Category>
<av:X_IRCC_Category>
<av:X_CategoryInfo>AAIAAAAa</av:X_CategoryInfo>
</av:X_IRCC_Category>
</av:X_IRCC_CategoryList>
</av:X_IRCC_DeviceInfo>
<av:X_IRCCCodeList>
<av:X_IRCCCode command="Power">AAAAAQAAAAEAAAAVAw==</av:X_IRCCCode>
</av:X_IRCCCodeList>
<av:X_RDIS_DeviceInfo>
<av:X_RDIS_Version>1.0</av:X_RDIS_Version>
<av:X_RDIS_SESSION_CONTROL>true</av:X_RDIS_SESSION_CONTROL>
<av:X_RDIS_KEEP_ALIVE>false</av:X_RDIS_KEEP_ALIVE>
<av:X_RDIS_ENTRY_PORT>34506</av:X_RDIS_ENTRY_PORT>
</av:X_RDIS_DeviceInfo>
</device>
</root>


http://192.168.xxx.xxx:17377/dd.xml
<root>
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device>
<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
<friendlyName>Fernseher</friendlyName>
<manufacturer>Sony Corporation</manufacturer>
<manufacturerURL>http://www.sony.net/</manufacturerURL>
<modelDescription>BRAVIA</modelDescription>
<modelName>KD-55XF9005</modelName>
<UDN>uuid:12b268bd-7a38-4a9f-a16d-497d0a0a1877</UDN>
<serviceList>
<service>
<serviceType>urn:dial-multiscreen-org:service:dial:1</serviceType>
<serviceId>urn:dial-multiscreen-org:serviceId:dial</serviceId>
<SCPDURL>/DIALSCPD.xml</SCPDURL>
<controlURL>/upnp/control/DIAL</controlURL>
<eventSubURL/>
</service>
</serviceList>
<av:X_DIALEX_DeviceInfo>
<av:X_DIALEX_AppsListURL>http://192.168.xxx.xxx:80/DIAL/sony/applist</av:X_DIALEX_AppsListURL>
<av:X_DIALEX_DeviceType>Android_TV_DIAL_v2.0.0</av:X_DIALEX_DeviceType>
</av:X_DIALEX_DeviceInfo>
</device>
</root>


http://192.168.xxx.xxx:8008/ssdp/device-desc.xml
<root>
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://192.168.xxx.xxx:8008</URLBase>
<device>
<deviceType>urn:dial-multiscreen-org:device:dial:1</deviceType>
<friendlyName>Fernseher</friendlyName>
<manufacturer>Sony</manufacturer>
<modelName>BRAVIA 4K GB ATV3</modelName>
<UDN>uuid:16c1f0f0-f4b3-0ec7-7d48-2aebfe2041ed</UDN>
<iconList>
<icon>
<mimetype>image/png</mimetype>
<width>98</width>
<height>55</height>
<depth>32</depth>
<url>/setup/icon.png</url>
</icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:dial-multiscreen-org:service:dial:1</serviceType>
<serviceId>urn:dial-multiscreen-org:serviceId:dial</serviceId>
<controlURL>/ssdp/notfound</controlURL>
<eventSubURL>/ssdp/notfound</eventSubURL>
<SCPDURL>/ssdp/notfound</SCPDURL>
</service>
</serviceList>
</device>
</root>


http://192.168.xxx.xxx:61366/sony/webapi/ssdp/scpd/WebApiSCPD.xml
<scpd>
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<serviceStateTable>
<stateVariable sendEvents="no">
<name>X_ScalarWebAPI</name>
<dataType>string</dataType>
</stateVariable>
</serviceStateTable>
</scpd>


Viele Grüße
suelle

vuffiraa

Hallo suelle,

also eher kein Upnp bei deinem Gerät, aber es sollte auch anders gehen.

Kannst du folgenden Befehl mal zu deinem TV schicken:
curl -X POST 'http://192.168.xx.xx/sony/audio' -d '{"method":"getVolumeInformation","params":[],"id":1,"version":"1.0"}'

Dazu brauchst du den Befehl curl auf der Kommandozeile. Ich hoffe, sowas hast du irgendwo installiert.

Gruß
VuffiRaa
FHEM 5.8 auf Cubietruck, Raspi B+

Weinzierl KNX IP BAOS 770, Homematic, EnOcean

slupus

Hallo VuffiRaa,

das funktioniert und liefert mir folgendes Ergebnis (stimmt mit dem Level am TV überein):
{"result":[[{"target":"speaker","volume":10,"mute":false,"maxVolume":100,"minVolume":0}]],"id":1}

Ich habe von der folgenden Seite https://pro-bravia.sony.net/develop/integrate/rest-api/spec/service/audio/v1_0/service-summary/index.html auch ein paar andere POSTS ausprobiert, erhalte aber immer ein 403 forbidden:
curl -X POST 'http://192.168.42.147/sony/audio' -d '{"method":"setAudioVolume","params":[{"volume":"18","target":"speaker"}],"id":601,"version":"1.0"}'
{"auth_url":{"default":"http:\/\/192.168.42.147:80\/sony\/webauth\/auth_default","tv":"http:\/\/127.0.0.1:80\/sony\/webauth\/auth_tv"},"error":[403,"Forbidden"],"id":601}


Viele Grüße
suelle

vuffiraa

Hallo suelle,

dann weiß ich ja schon, was ich am Wochenende tun werde  ;)

Die URL funktioniert auch bei meinem TV und sollte daher auch im Modul umsetzbar sein.
Die Webseite mit der REST API kenne ich auch. Das Modul benutzt auch einige dieser Funktionen.

Die einzelnen Funktionen haben unterschiedliche Berechtigungsstufen. Mit so einer Curl-Zeile funktionieren so nur die Funktionen ohne Berechtigungsprüfung. Deshalb kam es bei deinem Versuch auch zu einer Fehlermeldung. Hier fehlt halt noch der Nachweis, dass der Sender eine registrierte Fernbedienung ist.

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

Weinzierl KNX IP BAOS 770, Homematic, EnOcean

vuffiraa

Hallo suelle,

ich habe eine neue Version für das Modul bereitgestellt, die per Update eingespielt werden kann.
In der neuen Version wird dann nicht mehr per Upnp versucht, die aktuellen Lautstärkeeinstellungen zu lesen und zu setzten, sonder per API Service.
Außerdem habe ich noch eine Prüfung ergänz, die testet, ob dieser API Service auch wirklich verfügbar ist.

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

Weinzierl KNX IP BAOS 770, Homematic, EnOcean

slupus

Hallo VuffiRaa,

vielen Dank für deinen super Support und die Anpassungen!
Da ich gerade nicht zuhause bin, werde ich es erst am Montag testen können.

Viele Grüße
suelle

slupus

Hallo VuffiRaa,

habe die neue Version gerade positiv getestet. Vielen Dank nochmals für die Anpassungen des Moduls!

Viele Grüße
suelle