FHEM Forum

FHEM - Anwendungen => Multimedia => Thema gestartet von: sven.scherf am 22 Dezember 2017, 16:01:39

Titel: Sony 49x8505b, kein WOL
Beitrag von: sven.scherf am 22 Dezember 2017, 16:01:39
Hallo zusammen,

ich habe meinen Sony in Fhem eingebunden und kann ihn soweit auch gut bedienen.

Definiert habe ich ihn so define TV BRAVIA 192.168.10.45

Das einzige was nicht funktioniert ist, dass ich ihn mit set TV on einschalten kann.

Auch die Befehle
funktionieren nicht.

Nutze ich hingegen das Windows Programm wol.exe <MAC-Adresse> auf meinem Desktop dann funktioniert es.

Hat jemand einen Tip wie ich es noch hinbekommen kann ?

Ich nutze Fhem in der Version
fhem.pl            13447 2017-02-19 13:24:25Z rudolfkoenig
90_at.pm           12717 2016-12-05 21:53:35Z rudolfkoenig
98_autocreate.pm   11984 2016-08-19 12:47:50Z rudolfkoenig
70_BRAVIA.pm       13363 2017-02-08 19:23:00Z vuffiraa
98_cmdalias.pm     12935 2017-01-02 19:51:46Z rudolfkoenig
00_CUL.pm          12983 2017-01-06 13:53:27Z rudolfkoenig
10_CUL_HM.pm       13437 2017-02-18 19:37:01Z martinp876
No Id found for 14_CUL_REDIRECT.pm
14_CUL_TCM97001.pm 12994 2017-01-07 07:49:53Z bjoernh
14_CUL_TX.pm       12387 2016-10-20 08:07:56Z rudolfkoenig
93_DbLog.pm        13373 2017-02-09 17:44:34Z DS_Starter
98_dummy.pm        12700 2016-12-02 16:49:42Z rudolfkoenig
70_ENIGMA2.pm      13387 2017-02-11 13:34:18Z loredo
01_FHEMWEB.pm      13443 2017-02-19 12:51:22Z rudolfkoenig
98_HMinfo.pm       13168 2017-01-21 11:57:16Z martinp876
02_HTTPSRV.pm      10733 2016-02-06 09:02:02Z borisneubert
10_IT.pm           13196 2017-01-22 20:27:22Z bjoernh
98_JsonList2.pm    13320 2017-02-03 11:35:36Z rudolfkoenig
91_notify.pm       13207 2017-01-23 13:55:25Z rudolfkoenig
41_OREGON.pm       12928 2017-01-02 00:23:46Z Sidey
98_structure.pm    12500 2016-11-04 10:42:50Z rudolfkoenig
99_SUNRISE_EL.pm   12485 2016-11-01 15:18:51Z rudolfkoenig
98_telnet.pm       13443 2017-02-19 12:51:22Z rudolfkoenig
99_Utils.pm        13259 2017-01-28 17:39:39Z rudolfkoenig
98_version.pm      11987 2016-08-19 17:13:41Z markusbloch
71_YAMAHA_AVR.pm   12919 2016-12-31 10:15:59Z markusbloch

Blocking.pm        12648 2016-11-24 12:15:25Z rudolfkoenig
Color.pm           11159 2016-03-30 16:08:06Z justme1968
DevIo.pm           12716 2016-12-05 09:11:31Z rudolfkoenig
HMConfig.pm        13261 2017-01-28 18:59:02Z martinp876
HttpUtils.pm       13084 2017-01-15 12:59:16Z rudolfkoenig
RTypes.pm          10476 2016-01-12 21:03:33Z borisneubert
SetExtensions.pm   12935 2017-01-02 19:51:46Z rudolfkoenig
TcpServerUtils.pm  11908 2016-08-06 15:09:55Z rudolfkoenig


Viele Grüße

Sven

Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: ujaudio am 30 Dezember 2017, 20:07:57
Es braucht wohl ein explizites WOL (wake on lan), dass Linux-Kommando heißt etherwake - einfach mal googlen. Man braucht dazu die MAC-Adresse des Geräts und soweit ich weiß auch root-Rechte.
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: vuffiraa am 30 Dezember 2017, 21:33:00
Ansonsten schick mir mal ein "list TV". Das Modul kann auch WOL Pakete senden, aber nur wenn es der Meinung ist, dass der TV es unterstützt. Ich denke, da muss dein Model noch ergänzt werden.

Gruß Vuffiraa
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: sven.scherf am 19 Januar 2018, 17:52:54
Hallo,

ja ich habe mir mal die Datenpakete im Netz angeschaut und finde kein Magic Packet von Fhem.
Wenn ich von meinem Rechner ein WOL absetze sehe ich es im LAN und der Fernseher geht an.

Über den Set Befehl im Fhem funktioniert dies nicht. Hier wird kein WOL abgesetzt.

Ich habe mir mal das Fhem modul angeschaut, aber leider ist Perl für mich ein Buch mit sieben Siegeln.
Ich steige da nicht so durch.

Gibt es hier schon eine neues Modul oder kennt sich damit einer aus und kann mir sagen wo hier die Stellschrauben sind um die Funktion zu erhalten ?

Ich möchte es meiner Frau einfacher machen den Fernseher einzuschalten.

Sie steht mit den drei Fernbedienungen auf Kriegsfuß und mit einer z.B. OneForAll kommt sie auch nicht zurecht.

Aber ein Tablet mit einem Knopf für Fernsehr an wäre echt super.

Vielen Dank schon einmal im Vorraus


Sven
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: vuffiraa am 19 Januar 2018, 19:27:18
Zitat von: sven.scherf am 19 Januar 2018, 17:52:54
Hallo,

ja ich habe mir mal die Datenpakete im Netz angeschaut und finde kein Magic Packet von Fhem.
Wenn ich von meinem Rechner ein WOL absetze sehe ich es im LAN und der Fernseher geht an.

Über den Set Befehl im Fhem funktioniert dies nicht. Hier wird kein WOL abgesetzt.

Ich habe mir mal das Fhem modul angeschaut, aber leider ist Perl für mich ein Buch mit sieben Siegeln.
Ich steige da nicht so durch.

Gibt es hier schon eine neues Modul oder kennt sich damit einer aus und kann mir sagen wo hier die Stellschrauben sind um die Funktion zu erhalten ?

Ich möchte es meiner Frau einfacher machen den Fernseher einzuschalten.

Sie steht mit den drei Fernbedienungen auf Kriegsfuß und mit einer z.B. OneForAll kommt sie auch nicht zurecht.

Aber ein Tablet mit einem Knopf für Fernsehr an wäre echt super.

Vielen Dank schon einmal im Vorraus


Sven

Hallo Sven,

schick mir mal das Ergebnis von list TV, wenn du diesen Befehl in der Kommandozeile im FHEMWEB eingibst.
Außerdem setze mal für TV das Attribute verbose auf 5. attr TV verbose 5
Dann mal versuchen den Sony einzuschalten und mir das Log schicken.

Gruß Vuffiraa
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: sven.scherf am 21 Januar 2018, 18:04:34
Hallo Vuffiraa,

ich führe nun den Post nur hier fort und lese auf dem andren Trad nur mit.

Hier ist das Ergebnis von list
Internals:
   CFGFN
   CHANGED
   CHANNELCOUNT 50
   DEF        192.168.10.45
   INTERVAL   45
   NAME       Sony_Fernseher
   NR         569
   STATE      absent
   TYPE       BRAVIA
   generation 2.5.0
   modelName  KD-49X8505B
   name       BRAVIA
   Helper:
     Dblog:
       Area:
         Logdb:
           TIME       1513949513.75726
           VALUE      DEU
       Authcookie:
         Logdb:
           TIME       1516403888.05794
           VALUE      3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
       Authexpires:
         Logdb:
           TIME       1516403888.05794
           VALUE      Fri, 02-Feb-2018 23:18:08 GMT
       Authmaxage:
         Logdb:
           TIME       1513949362.09191
           VALUE      1209600
       Channel:
         Logdb:
           TIME       1516492325.00679
           VALUE      -
       Channelid:
         Logdb:
           TIME       1516283899.62042
           VALUE      -
       Ci_tripletstr:
         Logdb:
           TIME       1516283899.62042
           VALUE      -
       Country:
         Logdb:
           TIME       1513949513.75726
           VALUE      DEU
       Currentmedia:
         Logdb:
           TIME       1516283899.62042
           VALUE      -
       Currenttitle:
         Logdb:
           TIME       1513949558.71423
           VALUE      -
       Generation:
         Logdb:
           TIME       1513949513.75726
           VALUE      2.5.0
       Input:
         Logdb:
           TIME       1516492325.00679
           VALUE      -
       Language:
         Logdb:
           TIME       1513949513.75726
           VALUE      ger
       Macaddr:
         Logdb:
           TIME       1513949513.75726
           VALUE      FC:F1:52:31:95:45
       Modelname:
         Logdb:
           TIME       1513949513.75726
           VALUE      KD-49X8505B
       Mute:
         Logdb:
           TIME       1513948271.1509
           VALUE      off
       Name:
         Logdb:
           TIME       1513949513.75726
           VALUE      BRAVIA
       Power:
         Logdb:
           TIME       1516492325.10414
           VALUE      off
       Presence:
         Logdb:
           TIME       1516493100.01117
           VALUE      absent
       Registrationuuid:
         Logdb:
           TIME       1513949334.48935
           VALUE      45d9d07fcccc55ac5fc2bc188cbf064d
       Requestformat:
         Logdb:
           TIME       1513948535.73593
           VALUE      json
       State:
         Logdb:
           TIME       1516493100.09525
           VALUE      absent
       Uri:
         Logdb:
           TIME       1516283899.50482
           VALUE      extInput:hdmi?port=1
       Volume:
         Logdb:
           TIME       1516379073.15731
           VALUE      1
   Readings:
     2017-12-22 14:31:53   area            DEU
     2018-01-20 00:18:08   authCookie      3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
     2018-01-20 00:18:08   authExpires     Fri, 02-Feb-2018 23:18:08 GMT
     2017-12-22 14:29:22   authMaxAge      1209600
     2018-01-21 00:52:05   channel         -
     2018-01-18 14:58:19   channelId       -
     2018-01-18 14:58:19   ci_tripletStr   -
     2017-12-22 14:31:53   country         DEU
     2018-01-18 14:58:19   currentMedia    -
     2017-12-22 14:32:38   currentTitle    -
     2017-12-22 14:31:53   generation      2.5.0
     2018-01-21 00:52:05   input           -
     2017-12-22 14:31:53   language        ger
     2017-12-22 14:31:53   macAddr         FC:F1:52:31:95:45
     2017-12-22 14:31:53   modelName       KD-49X8505B
     2017-12-22 14:11:11   mute            off
     2017-12-22 14:31:53   name            BRAVIA
     2018-01-21 00:52:05   power           off
     2018-01-21 01:05:00   presence        absent
     2017-12-22 14:28:54   registrationUUID 45d9d07fcccc55ac5fc2bc188cbf064d
     2017-12-22 14:15:35   requestFormat   json
     2018-01-21 01:05:00   state           absent
     2018-01-18 14:58:19   uri             extInput:hdmi?port=1
     2018-01-19 17:24:33   volume          1
   Helper:
     ADDRESS    192.168.10.45
     AVAILABLE  0
     HEADER     X-CERS-DEVICE-ID: fhem_remote
     lastInput  extInput:hdmi
     Port:
       IRCC       80
       SERVICE    80
       UPNP       52323
     Device:
       Channelpreset:
         0006:
           id         0006
           name       kabel_eins
         0008:
           id         0008
           name       VOX
       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
         Hdmi_3:
           uri        extInput:hdmi?port=3
         Hdmi_4/mhl:
           uri        extInput:hdmi?port=4
         Tv:
           uri        tv
         Tuner_1:
           uri        extInput:cec?type=tuner&port=1
         Tuner_2:
           uri        extInput:cec?type=tuner&port=2
Attributes:
   devStateIcon on:rc_GREEN:off off:rc_YELLOW:on absent:rc_STOP:on
   icon       it_television
   room       Wohnzimmer
   verbose    5
   webCmd     volume:channelUp:channelDown


Viele Grüße

Sven
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: vuffiraa am 21 Januar 2018, 18:26:54
Hallo Sven,

okay, jetzt interessiert mich das Log. Soweit stimmen die Werte im List. Damit sollte WOL funktionieren...

Wie sind deine Geräte im LAN eingebunden? Also TV, Fhem und der Windows PC. Mir kommt gerade der Gedanke, dass da vielleicht was mit LAN vs. WLAN sein kann.

Gruß Ulf
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: sven.scherf am 21 Januar 2018, 20:11:12
Hallo,

so sieht das Log aus
2018-01-21_19:59:06 Sony_Fernseher presence: present
2018-01-21_19:59:51 Sony_Fernseher channel: -
2018-01-21_19:59:51 Sony_Fernseher input: -
2018-01-21_19:59:51 Sony_Fernseher power: off
2018-01-21_19:59:51 Sony_Fernseher off
2018-01-21_19:59:58 Sony_Fernseher set_on
2018-01-21_20:00:36 Sony_Fernseher input: extInput:hdmi
2018-01-21_20:00:36 Sony_Fernseher channel: HDMI_1
2018-01-21_20:00:36 Sony_Fernseher power: on
2018-01-21_20:00:36 Sony_Fernseher on


Mein Fernseher, Sat Receiver und PC sind per Lan Kabel angebunden.
Mein Raspi auf welchem Fhem läuft ist per Wlan im Netz.

Ich habe mir auf dem Raspi das Paket etherwake installiert und konnte mit diesem den Fernseher einschalten.
Da dies vom Raspi aus funktioniert sollte ja kein Netzwerkproblem vorliegen.

Verbose habe ich auf 5 gesetzt, der Log zeigt hier aber nicht viel.

Es wird doch nicht am Gerätenamen liegen ?
Ich habe meinen Fernseher nicht mit define TV BARVIA .... sondern mit define Sony_Fernseher BRAVIA .... definiert.

Viele Grüße

Sven

Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: vuffiraa am 21 Januar 2018, 21:21:44
Hallo Sven,

das ist noch nicht das richtige Log. So wie es aussieht ist das der Event Monitor. Ich brauche den Inhalt vom Logfile. Im Fhemweb gibt es links unten einen Link 'Logfile', da sollte sich das richtige öffnen.

Am Gerätenamen sollte es eigentlich nicht liegen.

Gruß Ulf
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: sven.scherf am 21 Januar 2018, 23:41:29
Hallo,

ich musste einiges wieder umstellen da ich auf DB logging umgestellt hatte.

Hier nun das Log File
2018.01.21 23:37:26.529 5: Cmd: >set Sony_Fernseher on<
2018.01.21 23:37:26.530 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.21 23:37:26.531 2: BRAVIA set Sony_Fernseher on
2018.01.21 23:37:26.532 5: Starting notify loop for Sony_Fernseher, 1 event(s), first is set_on
2018.01.21 23:37:26.534 4: DbLog logdb -> ################################################################
2018.01.21 23:37:26.535 4: DbLog logdb -> ###              start of new Logcycle                       ###
2018.01.21 23:37:26.535 4: DbLog logdb -> ################################################################
2018.01.21 23:37:26.535 4: DbLog logdb -> amount of events received: 1 for device: Sony_Fernseher
2018.01.21 23:37:26.536 4: DbLog logdb -> check Device: Sony_Fernseher , Event: set_on
2018.01.21 23:37:26.537 4: DbLog logdb -> added event - Timestamp: 2018-01-21 23:37:26, Device: Sony_Fernseher, Type: BRAVIA, Event: set_on, Reading: state, Value: set_on, Unit:
2018.01.21 23:37:26.540 4: DbLog logdb -> processing event Timestamp: 2018-01-21 23:37:26, Device: Sony_Fernseher, Type: BRAVIA, Event: set_on, Reading: state, Value: set_on, Unit:
2018.01.21 23:37:26.545 4: DbLog logdb -> 1 of 1 events successfully inserted into table history
2018.01.21 23:37:26.629 5: DbLog logdb -> DbLog_Push Returncode: 0
2018.01.21 23:37:26.631 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.21 23:37:26.634 5: End notify loop for Sony_Fernseher
2018.01.21 23:37:26.634 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.21 23:37:26.635 4: BRAVIA Sony_Fernseher: REQ ircc/POWER
2018.01.21 23:37:26.636 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45: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>)
2018.01.21 23:37:26.637 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
Soapaction: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"
Content-Type: text/xml; charset=UTF-8
2018.01.21 23:37:26.637 4: HttpUtils url=http://192.168.10.45:80/sony/IRCC
2018.01.21 23:37:26.640 4: name: /fhem?cmd.Sony_Fernseher=set%20Sony_Fernseher%20on&room=Wohnzimmer&room=Wohnzimmer&fwcsrf=fhem_465548374935923&XHR=1&fw_id=432 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2018.01.21 23:37:26.651 4: http://192.168.10.45:80/sony/IRCC: HTTP response code 200
2018.01.21 23:37:26.652 4: HttpUtils http://192.168.10.45:80/sony/IRCC: Got data, length: 375
2018.01.21 23:37:26.652 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x2779050) 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>

2018.01.21 23:37:26.653 4: BRAVIA Sony_Fernseher: RCV ircc/AAAAAQAAAAEAAAAVAw==
2018.01.21 23:37:26.653 4: BRAVIA Sony_Fernseher: RES ircc/AAAAAQAAAAEAAAAVAw== - response



Viele Grüße

Sven
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: vuffiraa am 22 Januar 2018, 08:44:10
Moin,

also ich habe bei mir auch DBLog eingerichtet und trotzdem wird das normale Logfile geschrieben.

Im Log sieht man, dass das Kommando zum Einschalten geschickt wird, kein WOL. In welchem Zustand war der TV? Insbesondere muss das Reading "presence" den Wert "absent" haben. Das bekommt es normalerweise erst ein paar Minuten nach dem Ausschalten.

Spätenstens wenn "presence=absent" ist, sollte WOL gesendet werden. Kannst du das mal prüfen.

Gruß Ulf
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: sven.scherf am 22 Januar 2018, 21:57:09
Hallo Ulf,

der Fernseher war ausgeschaltet.
Der Button neben dem Device war gelb.

Ich habe den Fernseher nun seit 5 min. ausgeschaltet und der Status von presence = present
Dieser Status ändert sich nicht.

Hier der Status nachdem ich 10 min. gewartet habe.


Save config ?
Tablet-UI
Aquarium
Bad
Buero
CUL_HM
CUL_TCM97001
CUL_TX
Essecke
Fernbedienung
Flur
IT
Kueche
LogFiles
Rollladen
Schlafzimmer
Test
Unsorted
WC
Weihnachten
Wetter
Wohnzimmer
alexa
notify
icoEverything Everything
Commandref
Remote doc
Edit files
Select style
Event monitor

Internals:
   CHANGED
   CHANNELCOUNT 50
   DEF        192.168.10.45
   INTERVAL   45
   NAME       Sony_Fernseher
   NR         375
   STATE      off
   TYPE       BRAVIA
   generation
   modelName
   name
   Helper:
     Dblog:
       Channel:
         Logdb:
           TIME       1516653833.75889
           VALUE      -
       Input:
         Logdb:
           TIME       1516653833.75889
           VALUE      -
       Power:
         Logdb:
           TIME       1516653833.82657
           VALUE      off
       Presence:
         Logdb:
           TIME       1516643213.32266
           VALUE      present
       State:
         Logdb:
           TIME       1516653833.82657
           VALUE      off
   Readings:
     2017-12-22 14:31:53   area            DEU
     2018-01-20 00:18:08   authCookie      3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
     2018-01-20 00:18:08   authExpires     Fri, 02-Feb-2018 23:18:08 GMT
     2017-12-22 14:29:22   authMaxAge      1209600
     2018-01-22 21:43:53   channel         -
     2018-01-18 14:58:19   channelId       -
     2018-01-18 14:58:19   ci_tripletStr   -
     2017-12-22 14:31:53   country         DEU
     2018-01-18 14:58:19   currentMedia    -
     2017-12-22 14:32:38   currentTitle    -
     2017-12-22 14:31:53   generation      2.5.0
     2018-01-22 21:43:53   input           -
     2017-12-22 14:31:53   language        ger
     2017-12-22 14:31:53   macAddr         FC:F1:52:31:95:45
     2017-12-22 14:31:53   modelName       KD-49X8505B
     2017-12-22 14:11:11   mute            off
     2017-12-22 14:31:53   name            BRAVIA
     2018-01-22 21:43:53   power           off
     2018-01-22 18:46:53   presence        present
     2017-12-22 14:28:54   registrationUUID 45d9d07fcccc55ac5fc2bc188cbf064d
     2017-12-22 14:15:35   requestFormat   json
     2018-01-22 21:43:53   state           off
     2018-01-18 14:58:19   uri             extInput:hdmi?port=1
     2018-01-21 21:47:06   volume          9
   Helper:
     ADDRESS    192.168.10.45
     AVAILABLE  1
     HEADER     X-CERS-DEVICE-ID: fhem_remote
     lastInput  extInput:hdmi
     Port:
       IRCC       80
       SERVICE    80
       UPNP       52323
     Device:
       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
         Hdmi_3:
           uri        extInput:hdmi?port=3
         Hdmi_4/mhl:
           uri        extInput:hdmi?port=4
         Tv:
           uri        tv
         Tuner_1:
           uri        extInput:cec?type=tuner&port=1
Attributes:
   devStateIcon on:rc_GREEN:off off:rc_YELLOW:on absent:rc_STOP:on
   icon       it_television
   room       Wohnzimmer
   webCmd     volume:channelUp:channelDown


Wenn ich den Fernseher dann über die Fernbedienung wieder einschalte wechselt der Status von

presence von present auf absent dann 2 sec. später wieder auf present
Viele Grüße

Sven
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: vuffiraa am 22 Januar 2018, 22:03:39
Hallo Sven,

doch der Status ändert sich noch mal. Schau in dein "list" von gestern 18:04 Uhr.

Ansonsten interessiert mich:
1. Ob der TV jetzt angehen würde, wahrscheinlich nein.
2. Wenn presence=absent sollte WOL aber klappen.

Falls das stimmt, kann ich das Modul entsprechend anpassen.

Gruß Ulf
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: sven.scherf am 22 Januar 2018, 22:18:57
Hallo,

Nein der Fernseher geht nicht an.

Der Status absent kommt je erst wieder wenn ich den Fernseher über die FB einschalte.
Wenn du es einfach ändern kannst wäre toll. Dann könnte ich es hier bei mir einspielen und austesten und bei Erfolg kannst du es ja in deinem Code fest coden.

Viele Grüße

Sven
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: ujaudio am 23 Januar 2018, 06:57:46
Zitat von: sven.scherf am 21 Januar 2018, 20:11:12
...
Ich habe mir auf dem Raspi das Paket etherwake installiert und konnte mit diesem den Fernseher einschalten.
Da dies vom Raspi aus funktioniert sollte ja kein Netzwerkproblem vorliegen.
...
Bei mir war das Problem vor längerer Zeit folgendes: Etherwake geht nur unter sudo und FHEM ist standardmäßig kein sudoer. Das musste ich ändern und dann hat es funktioniert. Vielleicht hilft dieser Hinweis.
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: vuffiraa am 23 Januar 2018, 10:23:47
Hallo Sven,

ich habe das Modul geändert, dass für deine Gerätegeneration immer WOL zum Einschalten verwendet wird.
Die Änderung bekommst du ab morgen mit dem normalen Update oder ab sofort direkt aus dem SVN https://svn.fhem.de/trac/export/15982/trunk/fhem/FHEM/70_BRAVIA.pm (https://svn.fhem.de/trac/export/15982/trunk/fhem/FHEM/70_BRAVIA.pm).

Bitte mal testen!

Gruß Ulf
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: sven.scherf am 23 Januar 2018, 19:43:54
Hallo Ulf,

vielen Dank für die schnelle Hilfe und Umsetzung.

Es funktioniert noch nicht zuverlässig.
Nach dem Einspielen von dem Modul konnte ich den Fernseher über Fhem einmal einschalten.

Dann habe ich gewartet bis der Button grün war um den Fernseher wieder über Fhem auszuschalten. Funktionierte einwandfrei.

Der Button wurde nach einiger (lange)Zeit gelb, dann habe ich wieder versucht den Fernseher über Fhem einzuschalten.
Dies war aber nicht erfolgreich.

Kannst Du hier nochmal in das Modul reinschauen.

Hier der Logfile

2018.01.23 19:25:35.553 5: BRAVIA Sony_Fernseher: called function BRAVIA_GetStatus()
2018.01.23 19:25:35.554 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 19:25:35.554 4: BRAVIA Sony_Fernseher: REQ getStatus/json
2018.01.23 19:25:35.555 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2018.01.23 19:25:35.555 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
2018.01.23 19:25:35.637 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x36e4c10) err:  data: {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:25:35.638 4: BRAVIA Sony_Fernseher: RCV getStatus/json
2018.01.23 19:25:35.639 4: BRAVIA Sony_Fernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:25:35.741 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.23 19:26:19.467 4: CUL_Parse: CUL_0 A 0F CA 8610 5EC554 000000 0AA8E9100E00CD -99.5
2018.01.23 19:26:20.555 5: BRAVIA Sony_Fernseher: called function BRAVIA_GetStatus()
2018.01.23 19:26:20.556 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 19:26:20.557 4: BRAVIA Sony_Fernseher: REQ getStatus/json
2018.01.23 19:26:20.557 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2018.01.23 19:26:20.557 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
2018.01.23 19:26:20.647 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x3a3b430) err:  data: {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:26:20.647 4: BRAVIA Sony_Fernseher: RCV getStatus/json
2018.01.23 19:26:20.648 4: BRAVIA Sony_Fernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:27:05.557 5: BRAVIA Sony_Fernseher: called function BRAVIA_GetStatus()
2018.01.23 19:27:05.558 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 19:27:05.558 4: BRAVIA Sony_Fernseher: REQ getStatus/json
2018.01.23 19:27:05.559 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2018.01.23 19:27:05.559 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
2018.01.23 19:27:05.655 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x3a7e780) err:  data: {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:27:05.655 4: BRAVIA Sony_Fernseher: RCV getStatus/json
2018.01.23 19:27:05.656 4: BRAVIA Sony_Fernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:27:24.169 4: CUL_Parse: CUL_0 A 0C 4A 865A 3A79EE 000000 ACD73C00 -74
2018.01.23 19:27:34.171 4: CUL_Parse: CUL_0 A 0E CA 8410 3A79EE 000000 0BACD74C0000 -74
2018.01.23 19:27:44.169 4: CUL_Parse: CUL_0 A 0C 4A 8470 3A79EE 000000 00D73CFF -74.5
2018.01.23 19:27:50.559 5: BRAVIA Sony_Fernseher: called function BRAVIA_GetStatus()
2018.01.23 19:27:50.560 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 19:27:50.560 4: BRAVIA Sony_Fernseher: REQ getStatus/json
2018.01.23 19:27:50.561 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2018.01.23 19:27:50.561 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
2018.01.23 19:27:50.663 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x3ad2eb8) err:  data: {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:27:50.664 4: BRAVIA Sony_Fernseher: RCV getStatus/json
2018.01.23 19:27:50.664 4: BRAVIA Sony_Fernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:28:35.560 5: BRAVIA Sony_Fernseher: called function BRAVIA_GetStatus()
2018.01.23 19:28:35.561 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 19:28:35.562 4: BRAVIA Sony_Fernseher: REQ getStatus/json
2018.01.23 19:28:35.562 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2018.01.23 19:28:35.562 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
2018.01.23 19:28:35.668 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x3a3b2e0) err:  data: {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:28:35.669 4: BRAVIA Sony_Fernseher: RCV getStatus/json
2018.01.23 19:28:35.670 4: BRAVIA Sony_Fernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:29:20.562 5: BRAVIA Sony_Fernseher: called function BRAVIA_GetStatus()
2018.01.23 19:29:20.563 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 19:29:20.564 4: BRAVIA Sony_Fernseher: REQ getStatus/json
2018.01.23 19:29:20.564 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2018.01.23 19:29:20.565 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
2018.01.23 19:29:20.661 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x3a463f8) err:  data: {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:29:20.662 4: BRAVIA Sony_Fernseher: RCV getStatus/json
2018.01.23 19:29:20.662 4: BRAVIA Sony_Fernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:30:05.565 5: BRAVIA Sony_Fernseher: called function BRAVIA_GetStatus()
2018.01.23 19:30:05.566 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 19:30:05.566 4: BRAVIA Sony_Fernseher: REQ getStatus/json
2018.01.23 19:30:05.567 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2018.01.23 19:30:05.567 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
2018.01.23 19:30:05.659 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x3ad7380) err:  data: {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:30:05.659 4: BRAVIA Sony_Fernseher: RCV getStatus/json
2018.01.23 19:30:05.660 4: BRAVIA Sony_Fernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:30:12.421 4: CUL_Parse: CUL_0 A 0C 4B 865A 3A79EE 000000 ACD83C00 -74
2018.01.23 19:30:22.423 4: CUL_Parse: CUL_0 A 0E CB 8410 3A79EE 000000 0BACD84C0000 -74
2018.01.23 19:30:32.422 4: CUL_Parse: CUL_0 A 0C 4B 8470 3A79EE 000000 00D83C00 -74
2018.01.23 19:30:50.567 5: BRAVIA Sony_Fernseher: called function BRAVIA_GetStatus()
2018.01.23 19:30:50.568 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 19:30:50.569 4: BRAVIA Sony_Fernseher: REQ getStatus/json
2018.01.23 19:30:50.569 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2018.01.23 19:30:50.570 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
2018.01.23 19:30:50.688 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x316e7e8) err:  data: {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:30:50.688 4: BRAVIA Sony_Fernseher: RCV getStatus/json
2018.01.23 19:30:50.689 4: BRAVIA Sony_Fernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:30:54.780 4: CUL_Parse: CUL_0 A 0C 42 A041 3A79EE 529925 075E0000 -74
2018.01.23 19:30:55.001 4: CUL_Parse: CUL_0 A 0E 42 8002 529925 3A79EE 010100004714 -64
2018.01.23 19:30:55.097 4: CUL_Parse: CUL_0 A 0C 42 A041 3A79EE 529925 075E0000 -74
2018.01.23 19:30:55.177 4: CUL_Parse: CUL_0 A 0E 42 8002 529925 3A79EE 010100004913 -64.5
2018.01.23 19:30:58.877 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.23 19:30:58.877 2: BRAVIA set Sony_Fernseher on
2018.01.23 19:30:58.987 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.23 19:30:58.989 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 19:30:58.990 4: BRAVIA Sony_Fernseher: REQ ircc/POWER
2018.01.23 19:30:58.991 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45: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>)
2018.01.23 19:30:58.991 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
Soapaction: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"
Content-Type: text/xml; charset=UTF-8


Danach habe ich mal einen list Sony_Fernseher ausgeführt und hier ist das Ergebnis

Internals:
   CHANNELCOUNT 50
   DEF        192.168.10.45
   INTERVAL   45
   NAME       Sony_Fernseher
   NR         375
   STATE      absent
   TYPE       BRAVIA
   generation 2.5.0
   model      KD-49X8505B
   name       BRAVIA
   Helper:
     DBLOG:
       area:
         logdb:
           TIME       1516731443.06767
           VALUE      DEU
       channel:
         logdb:
           TIME       1516731485.64161
           VALUE      -
       country:
         logdb:
           TIME       1516731443.06767
           VALUE      DEU
       generation:
         logdb:
           TIME       1516731443.06767
           VALUE      2.5.0
       input:
         logdb:
           TIME       1516731485.64161
           VALUE      -
       language:
         logdb:
           TIME       1516731443.06767
           VALUE      ger
       macAddr:
         logdb:
           TIME       1516731443.06767
           VALUE      FC:F1:52:31:95:45
       model:
         logdb:
           TIME       1516731443.06767
           VALUE      KD-49X8505B
       name:
         logdb:
           TIME       1516731443.06767
           VALUE      BRAVIA
       power:
         logdb:
           TIME       1516731485.9071
           VALUE      off
       presence:
         logdb:
           TIME       1516732305.57809
           VALUE      absent
       state:
         logdb:
           TIME       1516732350.58102
           VALUE      absent
   READINGS:
     2018-01-23 19:17:23   area            DEU
     2018-01-20 00:18:08   authCookie      3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
     2018-01-20 00:18:08   authExpires     Fri, 02-Feb-2018 23:18:08 GMT
     2017-12-22 14:29:22   authMaxAge      1209600
     2018-01-23 19:18:05   channel         -
     2018-01-18 14:58:19   channelId       -
     2018-01-18 14:58:19   ci_tripletStr   -
     2018-01-23 19:17:23   country         DEU
     2018-01-18 14:58:19   currentMedia    -
     2017-12-22 14:32:38   currentTitle    -
     2018-01-23 19:17:23   generation      2.5.0
     2018-01-23 19:18:05   input           -
     2018-01-23 19:17:23   language        ger
     2018-01-23 19:17:23   macAddr         FC:F1:52:31:95:45
     2018-01-23 19:17:23   model           KD-49X8505B
     2017-12-22 14:31:53   modelName       KD-49X8505B
     2017-12-22 14:11:11   mute            off
     2018-01-23 19:17:23   name            BRAVIA
     2018-01-23 19:18:05   power           off
     2018-01-23 19:31:45   presence        absent
     2017-12-22 14:28:54   registrationUUID 45d9d07fcccc55ac5fc2bc188cbf064d
     2017-12-22 14:15:35   requestFormat   json
     2018-01-23 19:32:30   state           absent
     2018-01-18 14:58:19   uri             extInput:hdmi?port=1
     2018-01-21 21:47:06   volume          9
   helper:
     ADDRESS    192.168.10.45
     AVAILABLE  0
     HEADER     X-CERS-DEVICE-ID: fhem_remote
     lastInput  extInput:hdmi
     PORT:
       IRCC       80
       SERVICE    80
       UPNP       52323
     device:
       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
         HDMI#3:
           uri        extInput:hdmi?port=3
         HDMI#4/MHL:
           uri        extInput:hdmi?port=4
         TV:
           uri        tv
         Tuner#2:
           uri        extInput:cec?type=tuner&port=2
Attributes:
   devStateIcon on:rc_GREEN:off off:rc_YELLOW:on absent:rc_STOP:on
   icon       it_television
   room       Wohnzimmer
   verbose    5
   webCmd     volume:channelUp:channelDown




Wenn der Button gelb ist scheint irgendwas im Kreis zu laufen.
Hier der Log davon.
2018.01.23 19:39:58.820 4: BRAVIA Sony_Fernseher: RCV ircc/AAAAAQAAAAEAAAAVAw==
2018.01.23 19:39:58.820 4: BRAVIA Sony_Fernseher: RES ircc/AAAAAQAAAAEAAAAVAw== - response
2018.01.23 19:39:59.095 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.23 19:40:04.927 4: CUL_Parse: CUL_0 A 0C 4F 865A 3A79EE 000000 ACD83C02 -73
2018.01.23 19:40:24.927 4: CUL_Parse: CUL_0 A 0C 4F 8470 3A79EE 000000 00D83C01 -73.5
2018.01.23 19:40:35.592 5: BRAVIA Sony_Fernseher: called function BRAVIA_GetStatus()
2018.01.23 19:40:35.593 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 19:40:35.594 4: BRAVIA Sony_Fernseher: REQ getStatus/json
2018.01.23 19:40:35.594 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2018.01.23 19:40:35.595 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
2018.01.23 19:40:35.683 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x3adf828) err:  data: {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:40:35.683 4: BRAVIA Sony_Fernseher: RCV getStatus/json
2018.01.23 19:40:35.684 4: BRAVIA Sony_Fernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:41:20.594 5: BRAVIA Sony_Fernseher: called function BRAVIA_GetStatus()
2018.01.23 19:41:20.595 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 19:41:20.596 4: BRAVIA Sony_Fernseher: REQ getStatus/json
2018.01.23 19:41:20.596 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2018.01.23 19:41:20.597 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
2018.01.23 19:41:20.691 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x275ec68) err:  data: {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:41:20.691 4: BRAVIA Sony_Fernseher: RCV getStatus/json
2018.01.23 19:41:20.691 4: BRAVIA Sony_Fernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:41:20.812 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.23 19:41:32.435 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.23 19:41:40.720 4: CUL_Parse: CUL_0 A 0F D0 8610 5EC554 000000 0AA8E5100E00D0 -98
2018.01.23 19:42:05.596 5: BRAVIA Sony_Fernseher: called function BRAVIA_GetStatus()
2018.01.23 19:42:05.597 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 19:42:05.597 4: BRAVIA Sony_Fernseher: REQ getStatus/json
2018.01.23 19:42:05.598 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2018.01.23 19:42:05.598 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
2018.01.23 19:42:05.690 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x3ad9d98) err:  data: {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:42:05.690 4: BRAVIA Sony_Fernseher: RCV getStatus/json
2018.01.23 19:42:05.691 4: BRAVIA Sony_Fernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}
2018.01.23 19:42:24.984 4: CUL_Parse: CUL_0 A 0F 34 8610 3D87CF 000000 0AA8EA0E0940CD -99.5
2018.01.23 19:42:25.107 3: CUL_0: Unknown code A0F3486103D87CF0000000AA8EA0E0940::-99.5:CUL_0, help me!
2018.01.23 19:42:44.929 4: CUL_Parse: CUL_0 A 0C 50 865A 3A79EE 000000 ACD73C00 -74



Nach sehr langer Wartezeit ca. 20min wechselt der Button von gelb auf farblos und dann erst kann der Fernseher wieder eingeschaltet werden.

Habe es gerade im Log sehen können.
2018.01.23 20:00:51.172 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
Content-Type: text/xml
2018.01.23 20:00:51.174 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 20:00:51.176 4: BRAVIA Sony_Fernseher: REQ upnp/getMute
2018.01.23 20:00:51.177 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45: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>)
2018.01.23 20:00:51.177 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
Soapaction: "urn:schemas-upnp-org:service:RenderingControl:1#GetMute"
Content-Type: text/xml
2018.01.23 20:00:51.180 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 20:00:51.181 4: BRAVIA Sony_Fernseher: REQ getCurrentExternalInputsStatus
2018.01.23 20:00:51.182 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/avContent ({"id":2,"method":"getCurrentExternalInputsStatus","version":"1.0","params":[]})
2018.01.23 20:00:51.182 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
2018.01.23 20:00:51.186 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.23 20:00:51.187 4: BRAVIA Sony_Fernseher: REQ getApplicationList
2018.01.23 20:00:51.188 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/appControl ({"id":2,"method":"getApplicationList","version":"1.0","params":[]})
2018.01.23 20:00:51.188 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Cookie: auth=3a654ffd9dcbf1af91ced6c608ea4f622a4c38dccc1fcde0983ebaeefb6a04f1
2018.01.23 20:00:51.276 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.23 20:00:51.308 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x3b067c8) 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><u:GetMuteResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentMute>0</CurrentMute></u:GetMuteResponse></s:Body></s:Envelope>
2018.01.23 20:00:51.309 4: BRAVIA Sony_Fernseher: RCV upnp/getMute
2018.01.23 20:00:51.310 4: BRAVIA Sony_Fernseher: 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><u:GetMuteResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentMute>0</CurrentMute></u:GetMuteResponse></s:Body></s:Envelope>
2018.01.23 20:00:51.320 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x3a6b8f0) 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><u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentVolume>9</CurrentVolume></u:GetVolumeResponse></s:Body></s:Envelope>
2018.01.23 20:00:51.320 4: BRAVIA Sony_Fernseher: RCV upnp/getVolume
2018.01.23 20:00:51.321 4: BRAVIA Sony_Fernseher: 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><u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentVolume>9</CurrentVolume></u:GetVolumeResponse></s:Body></s:Envelope>
2018.01.23 20:00:51.476 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x3a28688) 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:hdmi","label":"","title":"HDMI 3","uri":"extInput:hdmi?port=3"},{"connection":false,"icon":"meta:hdmi","label":"","title":"HDMI 4/MHL","uri":"extInput:hdmi?port=4"},{"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:tunerdevice","label":"gbquadplus","title":"Tuner 2","uri":"extInput:cec?type=tuner&port=2"},{"connection":false,"icon":"meta:wifidisplay","label":"","title":"Bildschirm spiegeln","uri":"extInput:widi?port=1"}]]}
2018.01.23 20:00:51.477 4: BRAVIA Sony_Fernseher: RCV getCurrentExternalInputsStatus
2018.01.23 20:00:51.478 4: BRAVIA Sony_Fernseher: 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:hdmi","label":"","title":"HDMI 3","uri":"extInput:hdmi?port=3"},{"connection":false,"icon":"meta:hdmi","label":"","title":"HDMI 4/MHL","uri":"extInput:hdmi?port=4"},{"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:tunerdevice","label":"gbquadplus","title":"Tuner 2","uri":"extInput:cec?type=tuner&port=2"},{"connection":false,"icon":"meta:wifidisplay","label":"","title":"Bildschirm spiegeln","uri":"extInput:widi?port=1"}]]}
2018.01.23 20:00:51.539 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x3a2b2d8) err:  data: {"id":2,"result":[[{"icon":"http://bravia.dl.playstation.net/bravia/WidgetBundles/Ext/AppDataSource/images/PS_Video_168x168.png","title":"PlayStationâ,,¢ Video","uri":"preset://video-unlimited"},{"icon":"http://192.168.10.45/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppPlayMemories.png","title":"PlayMemories Online","uri":"preset://play-memories"},{"icon":"http://192.168.10.45/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppInternetBrowser.png","title":"Internet-Browser","uri":"preset://web-browser"},{"icon":"http://192.168.10.45/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppTwitter.png","title":"TV Tweet","uri":"preset://twitter"},{"icon":"http://192.168.10.45/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppPhotoshare.png","title":"Photo Share","uri":"preset://photoshare"},{"icon":"http://192.168.10.45/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppScreenMirroring.png","title":"Bildschirm spiegeln","uri":"preset://wifi-display"},{"icon":"http://192.168.10.45/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppHomeTheaterControl.png","title":"Heimkinosteuerung","uri":"preset://home-theater-control"},{"icon":"http://192.168.10.45/sony/appControl/icon/aais-icon%3A%2F%2Fcom.sony.braviaaclock%2Fcom.sony.braviaaclock.MainActivity%2Fde_DE%2F.png","title":"\"α\" CLOCK","uri":"aapp://aais-app://com.sony.braviaaclock/com.sony.braviaaclock.MainActivity"},{"icon":"http://192.168.10.45/sony/appControl/icon/aais-icon%3A%2F%2Fcom.sony.dtv.mediaplayer%2Fcom.sony.dtv.mediaplayer.MediaContentsBrowserActivity%2Fde_DE%2F.png","title":"Media Player","uri":"aapp://aais-app://com.sony.dtv.mediaplayer/com.sony.dtv.mediaplayer.MediaContentsBrowserActivity"},{"icon":"http://192.168.10.45/sony/appControl/icon/aais-icon%3A%2F%2Fcom.sony.braviaphotoframemode%2Fcom.sony.photoframe.PhotoFrameAppActivity%2Fde_DE%2F.png","title":"Modus Bilderrahmen","uri":"aapp://aais-app://com.sony.braviaphotoframemode/com.sony.photoframe.PhotoFrameAppActivity"}]]}
2018.01.23 20:00:51.539 4: BRAVIA Sony_Fernseher: RCV getApplicationList
2018.01.23 20:00:51.540 4: BRAVIA Sony_Fernseher: RES getApplicationList - {"id":2,"result":[[{"icon":"http://bravia.dl.playstation.net/bravia/WidgetBundles/Ext/AppDataSource/images/PS_Video_168x168.png","title":"PlayStationâ,,¢ Video","uri":"preset://video-unlimited"},{"icon":"http://192.168.10.45/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppPlayMemories.png","title":"PlayMemories Online","uri":"preset://play-memories"},{"icon":"http://192.168.10.45/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppInternetBrowser.png","title":"Internet-Browser","uri":"preset://web-browser"},{"icon":"http://192.168.10.45/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppTwitter.png","title":"TV Tweet","uri":"preset://twitter"},{"icon":"http://192.168.10.45/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppPhotoshare.png","title":"Photo Share","uri":"preset://photoshare"},{"icon":"http://192.168.10.45/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppScreenMirroring.png","title":"Bildschirm spiegeln","uri":"preset://wifi-display"},{"icon":"http://192.168.10.45/sony/appControl/icon/pack%3AAppDataSource%2Fimg%2Fhome_AppHomeTheaterControl.png","title":"Heimkinosteuerung","uri":"preset://home-theater-control"},{"icon":"http://192.168.10.45/sony/appControl/icon/aais-icon%3A%2F%2Fcom.sony.braviaaclock%2Fcom.sony.braviaaclock.MainActivity%2Fde_DE%2F.png","title":"\"α\" CLOCK","uri":"aapp://aais-app://com.sony.braviaaclock/com.sony.braviaaclock.MainActivity"},{"icon":"http://192.168.10.45/sony/appControl/icon/aais-icon%3A%2F%2Fcom.sony.dtv.mediaplayer%2Fcom.sony.dtv.mediaplayer.MediaContentsBrowserActivity%2Fde_DE%2F.png","title":"Media Player","uri":"aapp://aais-app://com.sony.dtv.mediaplayer/com.sony.dtv.mediaplayer.MediaContentsBrowserActivity"},{"icon":"http://192.168.10.45/sony/appControl/icon/aais-icon%3A%2F%2Fcom.sony.braviaphotoframemode%2Fcom.sony.photoframe.PhotoFrameAppActivity%2Fde_DE%2F.png","title":"Modus Bilderrahmen","uri":"aapp://aais-app://com.sony.braviaphotoframemode/com.sony.photoframe.PhotoFrameAppActivity"}]]}





Viele Grüße

Sven




Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: vuffiraa am 24 Januar 2018, 08:18:19
Hallo Sven,

bist du sicher, dass das schon die neue Version vom Modul war? Das ist eigentlich genau das Verhalten vor der letzten Änderung.
Die neue Version wird seit heute per Update verteilt bzw. wenn du sie per Hand getauscht hast, hast du auch ein Reload gemacht?

Gruß Ulf
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: l2r am 24 Januar 2018, 09:04:29
hi,

folgende Meldung war nach einem Update heute morgen im Log:

Messages collected while initializing FHEM:
configfile: Cannot load module BRAVIA
./log/fhem.save: Please define TV_Wohnzimmer first
Please define TV_Wohnzimmer first


irgendwas scheint da nicht richtig zu sein

Gruß Michael
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: vuffiraa am 24 Januar 2018, 10:58:14
Zitat von: l2r am 24 Januar 2018, 09:04:29
hi,

folgende Meldung war nach einem Update heute morgen im Log:

Messages collected while initializing FHEM:
configfile: Cannot load module BRAVIA
./log/fhem.save: Please define TV_Wohnzimmer first
Please define TV_Wohnzimmer first


irgendwas scheint da nicht richtig zu sein

Gruß Michael

Mist, kann ich erst heute Abend schauen. Das bestätigt dann aber auch, dass Sven noch nicht die neue Version hat.

Gruß Ulf
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: vuffiraa am 24 Januar 2018, 19:28:13
So, jetzt sollte es wieder funktionieren. Tut mir Leid!
Der Fix wird aber erst morgen per Update verteilt. Ansonsten halt von hier https://svn.fhem.de/trac/export/15982/trunk/fhem/FHEM/70_BRAVIA.pm (https://svn.fhem.de/trac/export/15982/trunk/fhem/FHEM/70_BRAVIA.pm)

Gruß Ulf
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: sven.scherf am 24 Januar 2018, 22:12:52
Hallo Ulf,

ich habe mir das Modul geladen und eingebunden. Das Modul habe ich mit reload in Fhem eingeladen. Hierbei gab es keine Fehler mehr.
Mit dem neuen Modul kann ich meinen Sony jedoch nicht mehr steuern. Ein-, und Ausschalten funktioniern nicht.

Hier der Fhem list
Internals:
   CHANGED   
   CHANNELCOUNT 50
   DEF        192.168.10.45
   INTERVAL   45
   NAME       Sony_Fernseher
   NR         375
   STATE      standby
   TYPE       BRAVIA
   generation
   model     
   name       
   Helper:
     DBLOG:
       power:
         logdb:
           TIME       1516827884.46181
           VALUE      off
       presence:
         logdb:
           TIME       1516827705.2459
           VALUE      present
       state:
         logdb:
           TIME       1516827884.46181
           VALUE      standby
   READINGS:
     2018-01-23 22:27:45   channel         -
     2018-01-23 22:27:45   channelId       -
     2018-01-23 22:27:45   currentMedia    -
     2018-01-23 22:27:45   currentTitle    -
     2018-01-23 22:27:45   input           -
     2018-01-23 22:33:44   mute            off
     2018-01-24 22:04:44   power           off
     2018-01-24 22:01:45   presence        present
     2018-01-23 22:33:44   requestFormat   json
     2018-01-24 22:04:44   state           standby
     2018-01-24 21:51:57   volume          0
   helper:
     ADDRESS    192.168.10.45
     AVAILABLE  1
     HEADER     X-CERS-DEVICE-ID: fhem_remote
     lastInput 
     PORT:
       IRCC       80
       SERVICE    80
       UPNP       52323
     device:
Attributes:
   devStateIcon on:rc_GREEN:off off:rc_YELLOW:on absent:rc_STOP:on
   icon       it_television
   room       Wohnzimmer
   verbose    5
   webCmd     volume:channelUp:channelDown



Hier der Log beim/nach dem Einschalten. Der Sony ist ausgeschaltet. Das Icon in Fhem ist nicht mehr vorhanden, dort steht nun "standby"



2018.01.24 22:11:39.028 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.24 22:11:39.029 2: BRAVIA set Sony_Fernseher on
2018.01.24 22:11:39.163 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.24 22:11:39.166 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.24 22:11:39.169 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.24 22:11:39.169 4: BRAVIA Sony_Fernseher: REQ ircc/POWER
2018.01.24 22:11:39.170 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45: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>)
2018.01.24 22:11:39.171 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
Soapaction: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"
Content-Type: text/xml; charset=UTF-8
2018.01.24 22:11:39.174 4: CUL_Parse: CUL_0 A 0C C3 865A 3A79EE 000000 ACD93A01 -73.5
2018.01.24 22:11:39.282 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.24 22:11:39.350 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x449c848) 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>
        <s:Fault>
            <faultcode>s:Client</faultcode>
            <faultstring>UPnPError</faultstring>
            <detail>
                <UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
                    <errorCode>606</errorCode>
                    <errorDescription>Action not authorized</errorDescription>
                </UPnPError>
            </detail>
        </s:Fault>
    </s:Body>
</s:Envelope>
2018.01.24 22:11:39.351 4: BRAVIA Sony_Fernseher: RCV ircc/AAAAAQAAAAEAAAAVAw==
2018.01.24 22:11:39.351 4: BRAVIA Sony_Fernseher: RES ircc/AAAAAQAAAAEAAAAVAw== - response
2018.01.24 22:11:39.607 5: BRAVIA Sony_Fernseher: called function BRAVIA_Set()
2018.01.24 22:11:50.248 5: BRAVIA Sony_Fernseher: called function BRAVIA_GetStatus()
2018.01.24 22:11:50.249 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.24 22:11:50.249 4: BRAVIA Sony_Fernseher: REQ getStatus/json
2018.01.24 22:11:50.250 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/system ({"method":"getPowerStatus","params":[],"id":1,"version":"1.0"})
2018.01.24 22:11:50.250 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
2018.01.24 22:11:50.334 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x442c9b8) err:  data: {"id":1,"result":[{"status":"standby"}]}
2018.01.24 22:11:50.334 4: BRAVIA Sony_Fernseher: RCV getStatus/json
2018.01.24 22:11:50.334 4: BRAVIA Sony_Fernseher: RES getStatus/json - {"id":1,"result":[{"status":"standby"}]}
2018.01.24 22:11:50.335 5: BRAVIA Sony_Fernseher: called function BRAVIA_SendCommand()
2018.01.24 22:11:50.336 4: BRAVIA Sony_Fernseher: REQ getSystemInformation
2018.01.24 22:11:50.336 5: BRAVIA Sony_Fernseher: POST http://192.168.10.45:80/sony/system ({"method":"getSystemInformation","params":[],"id":1,"version":"1.0"})
2018.01.24 22:11:50.336 5: BRAVIA Sony_Fernseher: header X-CERS-DEVICE-ID: fhem_remote
2018.01.24 22:11:50.434 5: BRAVIA Sony_Fernseher: called function BRAVIA_ReceiveCommand() rc: HASH(0x3b385f8) err:  data: {"auth_url":{"default":"http://192.168.10.45/sony/webauth/auth_default"}}
2018.01.24 22:11:50.434 4: BRAVIA Sony_Fernseher: RCV getSystemInformation
2018.01.24 22:11:50.435 4: BRAVIA Sony_Fernseher: RES getSystemInformation - {"auth_url":{"default":"http://192.168.10.45/sony/webauth/auth_default"}}


Kannst Du hier bitte nochmal nachschauen.

Danke und viele Grüße

Sven





Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: vuffiraa am 24 Januar 2018, 22:39:23
Hallo Sven,

Durch den Fehler vorher ist die Registrierung verloren gegangen. Einfach nochmal registrieren, dann sollte es wieder funktionieren.

Gruß Ulf
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: l2r am 25 Januar 2018, 10:25:34
sieht bei mir auch alles wieder gut aus!

Danke für die schnelle Reaktion!

Gruß Michael
Titel: Antw:Sony 49x8505b, kein WOL
Beitrag von: sven.scherf am 25 Januar 2018, 19:15:37
Hallo Ulf,

super recht vielen Dank.

Es funktioniert, da bin ich echt begeistert. :) :) :)

Nun kann ich meiner Frau einen Button plazieren und sie kann sich nicht mehr verdaddeln.


Viele Grüße

Sven