Autor Thema: YAMAHA Modul Error line 301  (Gelesen 2392 mal)

Offline vbs

  • Hero Member
  • *****
  • Beiträge: 2311
YAMAHA Modul Error line 301
« am: 28 Februar 2014, 18:17:23 »
Wenn ich versuche meinen Yamaha RX-V771 einzuschalten mit:
set wz_avr ondann klappts nicht und es erscheint:
Use of uninitialized value $zone in concatenation (.) or string at ./FHEM/71_YAMAHA_AVR.pm line 299.
Use of uninitialized value $zone in concatenation (.) or string at ./FHEM/71_YAMAHA_AVR.pm line 299.
Use of uninitialized value $result in pattern match (m//) at ./FHEM/71_YAMAHA_AVR.pm line 301.

Das ist das define des AVR:
define wz_avr YAMAHA_AVR avr
attr wz_avr alias Yamaha RX-V771
attr wz_avr group Elektronik
attr wz_avr model RX-V771
attr wz_avr room Wohnzimmer
attr wz_avr volume-smooth-change 1

Version on FHEM ist Dev-Version Stand heute.

Danke!

Offline Markus Bloch

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 3564
Antw:YAMAHA Modul Error line 301
« Antwort #1 am: 28 Februar 2014, 20:13:25 »
Gib in der FHEM Web-Oberfläche einmal

list avr
ein, drücke [Enter] und poste mal bitte die Ausgabe.

Vielen Dank

Gruß
Markus
Developer für Module: YAMAHA_AVR, YAMAHA_BD, FB_CALLMONITOR, FB_CALLLIST, PRESENCE, Pushsafer, LGTV_IP12, version

aktives Mitglied des FHEM e.V. (Technik)

Offline vbs

  • Hero Member
  • *****
  • Beiträge: 2311
Antw:YAMAHA Modul Error line 301
« Antwort #2 am: 28 Februar 2014, 20:31:40 »
Na klar doch:
Internals:
   ACTIVE_ZONE mainzone
   CFGFN      fhem-vbs_livingRoomHall.cfg
   DEF        avr
   FIRMWARE   1.47/2.01
   MODEL      RX-V771
   NAME       wz_avr
   NR         55
   STATE      on
   SYSTEM_ID  031328B3
   TYPE       YAMAHA_AVR
   ZONES_AVAILABLE mainzone,zone2
   Readings:
     2014-02-28 20:30:23   input           av1
     2014-02-28 20:30:23   inputName       PC
     2014-02-28 20:30:23   mute            off
     2014-02-28 20:30:23   power           on
     2014-02-28 18:46:49   presence        present
     2014-02-28 20:30:23   state           on
     2014-02-28 20:30:23   volume          25
     2014-02-28 20:30:23   volumeStraight  -55.5
   Helper:
     ADDRESS    avr
     AVAILABLE  1
     DISABLED   0
     INPUTS     AUDIO1|AUDIO2|AV1|AV2|AV3|AV4|AV5|AV6|Bluetooth|HDMI1|HDMI2|HDMI3|HDMI4|HDMI5|NET RADIO|Napster|PC|PHONO|TUNER|UAW|USB|V-AUX|iPod|iPod (USB)
     OFF_INTERVAL 30
     ON_INTERVAL 30
     SCENES     Scene 1|Scene 2|Scene 3|Scene 4
     SELECTED_ZONE mainzone
     USE_SHORT_VOL_CMD 0
     ZONES      Main_Zone|Zone_2
Attributes:
   alias      Yamaha RX-V771
   group      Elektronik
   model      RX-V771
   room       Wohnzimmer
   volume-smooth-change 1

Ich danke!

Offline Markus Bloch

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 3564
Antw:YAMAHA Modul Error line 301
« Antwort #3 am: 28 Februar 2014, 23:48:36 »
Und der Fehler tritt nachwievor auf? Nach deinen Daten zu Urteilen sollte dem aber nicht so sein.

Kannst du einmal das Attribut verbose auf 5 setzen und dann ein set wz_avr on machen und hier die Log-Auszüge posten?

Danke Gruß
Markus
Developer für Module: YAMAHA_AVR, YAMAHA_BD, FB_CALLMONITOR, FB_CALLLIST, PRESENCE, Pushsafer, LGTV_IP12, version

aktives Mitglied des FHEM e.V. (Technik)

Offline vbs

  • Hero Member
  • *****
  • Beiträge: 2311
Antw:YAMAHA Modul Error line 301
« Antwort #4 am: 01 März 2014, 01:50:09 »
Ja, Problem ist nach wie vor vorhanden. Mit verbose 5 sieht das Ganze dann so aus:
2014.03.01 01:56:59 4: HTTP FHEMWEB:192.168.2.230:37127 GET /fhem&cmd=set+wz_avr+on
2014.03.01 01:56:59 5: Cmd: >set wz_avr on<
Use of uninitialized value $zone in concatenation (.) or string at ./FHEM/71_YAMAHA_AVR.pm line 299.
Use of uninitialized value $zone in concatenation (.) or string at ./FHEM/71_YAMAHA_AVR.pm line 299.
2014.03.01 01:56:59 5: YAMAHA_AVR: execute on wz_avr: <YAMAHA_AV cmd="PUT"><><Power_Control><Power>On</Power></Power_Control></></YAMAHA_AV>
2014.03.01 01:56:59 5: HttpUtils url=http://avr/YamahaRemoteControl/ctrl
2014.03.01 01:57:03 5: CustomGetFileFromURL http://avr/YamahaRemoteControl/ctrl: Can't connect to http://avr:80: IO::Socket::INET: connect: timeout
2014.03.01 01:57:03 5: YAMAHA_AVR: could not execute command on device wz_avr. Please turn on your device in case of deactivated network standby or check for correct hostaddress. (Device is still absent)
Use of uninitialized value $result in pattern match (m//) at ./FHEM/71_YAMAHA_AVR.pm line 301.
2014.03.01 01:57:03 4: /fhem&cmd=set+wz_avr+on / RL:887 / text/html; charset=UTF-8 / Content-Encoding: gzip
 /
2014.03.01 01:57:03 4: HTTP FHEMWEB:192.168.2.230:37127 GET /fhem?XHR=1&inform=type=status;filter=&timestamp=1393635425673

Ausschalten klappt übrigens wunderbar...

EDIT:
oops, da fehlte noch was vom Log...
« Letzte Änderung: 01 März 2014, 01:57:55 von vbs »

Offline vbs

  • Hero Member
  • *****
  • Beiträge: 2311
Antw:YAMAHA Modul Error line 301
« Antwort #5 am: 01 März 2014, 02:06:16 »
Argh, sorry, ich nochmal. Aus irgendwelchen Gründen war "Network Standby" im Receiver wieder aus. Großes sorry!

Jetzt siehts etwas besser aus und nach einigem Hin- und Her hat es dann auch mal geklappt, aber irgendwie nur manchmal. Ich hab das Gefühl, dass es klappt, wenn FHEM bereits einige Minuten läuft. Wenn ich FHEM starte und dann direkt teste, dann scheint es jedoch nicht zu funktionieren.

So siehts aus, wenn ich direkt nach FHEM-Start "set wz_avr on" mache. Dann kommen auch zwei Fehler in Zeile 299:
2014.03.01 01:59:27 4: HTTP FHEMWEB:192.168.2.230:37174 GET /fhem&cmd=set+wz_avr+on
2014.03.01 01:59:27 5: Cmd: >set wz_avr on<
Use of uninitialized value $zone in concatenation (.) or string at ./FHEM/71_YAMAHA_AVR.pm line 299.
Use of uninitialized value $zone in concatenation (.) or string at ./FHEM/71_YAMAHA_AVR.pm line 299.
2014.03.01 01:59:27 5: YAMAHA_AVR: execute on wz_avr: <YAMAHA_AV cmd="PUT"><><Power_Control><Power>On</Power></Power_Control></></YAMAHA_AV>
2014.03.01 01:59:27 4: HttpUtils url=http://avr/YamahaRemoteControl/ctrl
2014.03.01 01:59:27 4: http://avr/YamahaRemoteControl/ctrl: HTTP response code 400
2014.03.01 01:59:27 4: HttpUtils http://avr/YamahaRemoteControl/ctrl: Got data, length: 0
2014.03.01 01:59:27 4: HttpUtils http://avr/YamahaRemoteControl/ctrl: Zero length data, header follows:
2014.03.01 01:59:27 4:   Server: AV_Receiver/3.1 (RX-V771)
2014.03.01 01:59:27 4:   Content-Length: 0
2014.03.01 01:59:27 4:   Connection: close
2014.03.01 01:59:27 5: YAMAHA_AVR: got response for wz_avr:
2014.03.01 01:59:27 4: /fhem&cmd=set+wz_avr+on / RL:887 / text/html; charset=UTF-8 / Content-Encoding: gzip
 /
2014.03.01 01:59:28 4: HTTP FHEMWEB:192.168.2.230:37174 GET /fhem?XHR=1&inform=type=status;filter=&timestamp=1393635570133
2014.03.01 01:59:37 5: Triggering mytwilight (5 changes)
2014.03.01 01:59:37 5: Notify loop for mytwilight azimuth: 29.19
2014.03.01 01:59:37 4: eventTypes: Twilight mytwilight azimuth: 29.19 -> azimuth: .*
2014.03.01 01:59:37 4: eventTypes: Twilight mytwilight elevation: -40.52 -> elevation: -.*
2014.03.01 01:59:37 4: eventTypes: Twilight mytwilight twilight: 0 -> twilight: .*
2014.03.01 01:59:37 4: eventTypes: Twilight mytwilight twilight_weather: 0 -> twilight_weather: .*
2014.03.01 01:59:37 4: eventTypes: Twilight mytwilight compasspoint: north-northeast -> compasspoint: north-northeast
2014.03.01 01:59:37 5: YAMAHA_AVR: execute on wz_avr: <YAMAHA_AV cmd="GET"><System><Unit_Desc>GetParam</Unit_Desc></System></YAMAHA_AV>
2014.03.01 01:59:37 4: HttpUtils url=http://avr/YamahaRemoteControl/ctrl
2014.03.01 01:59:37 4: http://avr/YamahaRemoteControl/ctrl: HTTP response code 200
2014.03.01 01:59:37 4: HttpUtils http://avr/YamahaRemoteControl/ctrl: Got data, length: 143
2014.03.01 01:59:37 5: YAMAHA_AVR: got response for wz_avr: <YAMAHA_AV rsp="GET" RC="0"><System><Unit_Desc><Version>1.10</Version><URL>/YamahaRemoteControl/desc.xml</URL></Unit_Desc></System></YAMAHA_AV>
2014.03.01 01:59:37 5: YAMAHA_AVR: execute on wz_avr: <YAMAHA_AV cmd="GET"><System><Config>GetParam</Config></System></YAMAHA_AV>
2014.03.01 01:59:37 4: HttpUtils url=http://avr/YamahaRemoteControl/ctrl
2014.03.01 01:59:37 4: http://avr/YamahaRemoteControl/ctrl: HTTP response code 200
2014.03.01 01:59:37 4: HttpUtils http://avr/YamahaRemoteControl/ctrl: Got data, length: 896
2014.03.01 01:59:37 5: YAMAHA_AVR: got response for wz_avr: <YAMAHA_AV rsp="GET" RC="0"><System><Config><Model_Name>RX-V771</Model_Name><System_ID>031328B3</System_ID><Version>1.47/2.01</Version><Feature_Existence><Main_Zone>1</Main_Zone><Zone_2>1</Zone_2><Zone_3>0</Zone_3><Zone_4>0</Zone_4><Tuner>1</Tuner><HD_Radio>0</HD_Radio><SIRIUS>0</SIRIUS><iPod>1</iPod><Bluetooth>1</Bluetooth><UAW>1</UAW><Rhapsody>0</Rhapsody><SIRIUS_IR>0</SIRIUS_IR><Pandora>0</Pandora><Napster>1</Napster><PC>1</PC><NET_RADIO>1</NET_RADIO><USB>1</USB><iPod_USB>1</iPod_USB></Feature_Existence><Name><Input><PHONO>PHONO</PHONO><HDMI_1>Dreambox</HDMI_1><HDMI_2>HTPC</HDMI_2><HDMI_3>Game</HDMI_3><HDMI_4>HDMI4</HDMI_4><HDMI_5>HDMI5</HDMI_5><AV_1>PC</AV_1><AV_2>AV2</AV_2><AV_3>AV3</AV_3><AV_4>AV4</AV_4><AV_5>AV5</AV_5><AV_6>AV6</AV_6><V_AUX>V-AUX</V_AUX><AUDIO_1>AUDIO</AUDIO_1><AUDIO_2>AUDIO2</AUDIO_2><DOCK>DOCK</DOCK><USB>USB</USB></Input></Name></Config></System></YAMAHA_AV>
2014.03.01 01:59:37 4: HttpUtils url=http://avr/YamahaRemoteControl/desc.xml
2014.03.01 01:59:37 4: http://avr/YamahaRemoteControl/desc.xml: HTTP response code 200
2014.03.01 01:59:37 4: HttpUtils http://avr/YamahaRemoteControl/desc.xml: Got data, length: 82659
2014.03.01 01:59:37 4: YAMAHA_AVR: using zone Main_Zone
2014.03.01 01:59:37 5: YAMAHA_AVR: execute on wz_avr: <YAMAHA_AV cmd="GET"><Main_Zone><Input><Input_Sel_Item>GetParam</Input_Sel_Item></Input></Main_Zone></YAMAHA_AV>
2014.03.01 01:59:37 4: HttpUtils url=http://avr/YamahaRemoteControl/ctrl
2014.03.01 01:59:37 4: http://avr/YamahaRemoteControl/ctrl: HTTP response code 200
2014.03.01 01:59:37 4: HttpUtils http://avr/YamahaRemoteControl/ctrl: Got data, length: 4631
2014.03.01 01:59:37 5: YAMAHA_AVR: got response for wz_avr: <YAMAHA_AV rsp="GET" RC="0"><Main_Zone><Input><Input_Sel_Item><Item_1><Param>Napster</Param><RW>RW</RW><Title>Napster</Title><Icon><On>/YamahaRemoteControl/Icons/icon074.png</On><Off></Off></Icon><Src_Name>Napster</Src_Name><Src_Number>1</Src_Number></Item_1><Item_2><Param>NET RADIO</Param><RW>RW</RW><Title>NET RADIO</Title><Icon><On>/YamahaRemoteControl/Icons/icon005.png</On><Off></Off></Icon><Src_Name>NET_RADIO</Src_Name><Src_Number>1</Src_Number></Item_2><Item_3><Param>PC</Param><RW>RW</RW><Title>PC</Title><Icon><On>/YamahaRemoteControl/Icons/icon006.png</On><Off></Off></Icon><Src_Name>PC</Src_Name><Src_Number>1</Src_Number></Item_3><Item_4><Param>iPod</Param><RW>RW</RW><Title>DOCK</Title><Icon><On>/YamahaRemoteControl/Icons/icon011.png</On><Off></Off></Icon><Src_Name>iPod</Src_Name><Src_Number>1</Src_Number></Item_4><Item_5><Param>Bluetooth</Param><RW>R</RW><Title>DOCK</Title><Icon><On>/YamahaRemoteControl/Icons/icon011.png</On><Off></Off></Icon><Src_Name>Bluetooth</Src_Name><Src_Number>1</Src_Number></Item_5><Item_6><Param>UAW</Param><RW>R</RW><Title>DOCK</Title><Icon><On>/YamahaRemoteControl/Icons/icon011.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_6><Item_7><Param>USB</Param><RW>RW</RW><Title>USB</Title><Icon><On>/YamahaRemoteControl/Icons/icon009.png</On><Off></Off></Icon><Src_Name>USB</Src_Name><Src_Number>1</Src_Number></Item_7><Item_8><Param>iPod (USB)</Param><RW>R</RW><Title>USB</Title><Icon><On>/YamahaRemoteControl/Icons/icon009.png</On><Off></Off></Icon><Src_Name>iPod_USB</Src_Name><Src_Number>1</Src_Number></Item_8><Item_9><Param>TUNER</Param><RW>RW</RW><Title>TUNER</Title><Icon><On>/YamahaRemoteControl/Icons/icon008.png</On><Off></Off></Icon><Src_Name>Tuner</Src_Name><Src_Number>1</Src_Number></Item_9><Item_10><Param>HDMI1</Param><RW>RW</RW><Title>Dreambox</Title><Icon><On>/YamahaRemoteControl/Icons/icon086.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_10><Item_11><Param>HDMI2</Param><RW>RW</RW><Title>HTPC</Title><Icon><On>/YamahaRemoteControl/Icons/icon066.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_11><Item_12><Param>HDMI3</Param><RW>RW</RW><Title>Game</Title><Icon><On>/YamahaRemoteControl/Icons/icon070.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_12><Item_13><Param>HDMI4</Param><RW>RW</RW><Title>HDMI4</Title><Icon><On>/YamahaRemoteControl/Icons/icon004.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_13><Item_14><Param>HDMI5</Param><RW>RW</RW><Title>HDMI5</Title><Icon><On>/YamahaRemoteControl/Icons/icon004.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_14><Item_15><Param>AV1</Param><RW>RW</RW><Title>PC</Title><Icon><On>/YamahaRemoteControl/Icons/icon003.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_15><Item_16><Param>AV2</Param><RW>RW</RW><Title>AV2</Title><Icon><On>/YamahaRemoteControl/Icons/icon003.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_16><Item_17><Param>AV3</Param><RW>RW</RW><Title>AV3</Title><Icon><On>/YamahaRemoteControl/Icons/icon003.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_17><Item_18><Param>AV4</Param><RW>RW</RW><Title>AV4</Title><Icon><On>/YamahaRemoteControl/Icons/icon003.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_18><Item_19><Param>AV5</Param><RW>RW</RW><Title>AV5</Title><Icon><On>/YamahaRemoteControl/Icons/icon003.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_19><Item_20><Param>AV6</Param><RW>RW</RW><Title>AV6</Title><Icon><On>/YamahaRemoteControl/Icons/icon003.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_20><Item_21><Param>AUDIO1</Param><RW>RW</RW><Title>AUDIO</Title><Icon><On>/YamahaRemoteControl/Icons/icon002.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_21><Item_22><Param>AUDIO2</Param><RW>RW</RW><Title>AUDIO2</Title><Icon><On>/YamahaRemoteControl/Icons/icon002.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_22><Item_23><Param>PHONO</Param><RW>RW</RW><Title>PHONO</Title><Icon><On>/YamahaRemoteControl/Icons/icon007.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_23><Item_24><Param>V-AUX</Param><RW>RW</RW><Title>V-AUX</Title><Icon><On>/YamahaRemoteControl/Icons/icon010.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Item_24></Input_Sel_Item></Input></Main_Zone></YAMAHA_AV>
2014.03.01 01:59:37 5: YAMAHA_AVR: execute on wz_avr: <YAMAHA_AV cmd="GET"><Main_Zone><Scene><Scene_Sel_Item>GetParam</Scene_Sel_Item></Scene></Main_Zone></YAMAHA_AV>
2014.03.01 01:59:37 4: HttpUtils url=http://avr/YamahaRemoteControl/ctrl
2014.03.01 01:59:37 4: http://avr/YamahaRemoteControl/ctrl: HTTP response code 200
2014.03.01 01:59:37 4: HttpUtils http://avr/YamahaRemoteControl/ctrl: Got data, length: 5395
2014.03.01 01:59:37 5: YAMAHA_AVR: got response for wz_avr: <YAMAHA_AV rsp="GET" RC="0"><Main_Zone><Scene><Scene_Sel_Item><Item_1><Param>Scene 1</Param><RW>W</RW><Title>BD/DVD Movie Viewing</Title><Icon><On>/YamahaRemoteControl/Icons/icon040.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_1><Item_2><Param>Scene 2</Param><RW>W</RW><Title>TV Viewing</Title><Icon><On>/YamahaRemoteControl/Icons/icon044.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_2><Item_3><Param>Scene 3</Param><RW>W</RW><Title>CD Music Listening</Title><Icon><On>/YamahaRemoteControl/Icons/icon041.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_3><Item_4><Param>Scene 4</Param><RW>W</RW><Title>Radio Listening</Title><Icon><On>/YamahaRemoteControl/Icons/icon043.png</On><Off></Off></Icon><Src_Name>Tuner</Src_Name><Src_Number>1</Src_Number></Item_4><Item_5><Param>Napster</Param><RW>R</RW><Title>Napster</Title><Icon><On>/YamahaRemoteControl/Icons/icon074.png</On><Off></Off></Icon><Src_Name>Napster</Src_Name><Src_Number>1</Src_Number></Item_5><Item_6><Param>NET RADIO</Param><RW>R</RW><Title>NET RADIO</Title><Icon><On>/YamahaRemoteControl/Icons/icon005.png</On><Off></Off></Icon><Src_Name>NET_RADIO</Src_Name><Src_Number>1</Src_Number></Item_6><Item_7><Param>PC</Param><RW>R</RW><Title>PC</Title><Icon><On>/YamahaRemoteControl/Icons/icon006.png</On><Off></Off></Icon><Src_Name>PC</Src_Name><Src_Number>1</Src_Number></Item_7><Item_8><Param>iPod</Param><RW>R</RW><Title>DOCK</Title><Icon><On>/YamahaRemoteControl/Icons/icon011.png</On><Off></Off></Icon><Src_Name>iPod</Src_Name><Src_Number>1</Src_Number></Item_8><Item_9><Param>Bluetooth</Param><RW>R</RW><Title>DOCK</Title><Icon><On>/YamahaRemoteControl/Icons/icon011.png</On><Off></Off></Icon><Src_Name>Bluetooth</Src_Name><Src_Number>1</Src_Number></Item_9><Item_10><Param>UAW</Param><RW>R</RW><Title>DOCK</Title><Icon><On>/YamahaRemoteControl/Icons/icon011.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_10><Item_11><Param>USB</Param><RW>R</RW><Title>USB</Title><Icon><On>/YamahaRemoteControl/Icons/icon009.png</On><Off></Off></Icon><Src_Name>USB</Src_Name><Src_Number>1</Src_Number></Item_11><Item_12><Param>iPod (USB)</Param><RW>R</RW><Title>USB</Title><Icon><On>/YamahaRemoteControl/Icons/icon009.png</On><Off></Off></Icon><Src_Name>iPod_USB</Src_Name><Src_Number>1</Src_Number></Item_12><Item_13><Param>TUNER</Param><RW>R</RW><Title>TUNER</Title><Icon><On>/YamahaRemoteControl/Icons/icon008.png</On><Off></Off></Icon><Src_Name>Tuner</Src_Name><Src_Number>1</Src_Number></Item_13><Item_14><Param>HDMI1</Param><RW>R</RW><Title>Dreambox</Title><Icon><On>/YamahaRemoteControl/Icons/icon086.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_14><Item_15><Param>HDMI2</Param><RW>R</RW><Title>HTPC</Title><Icon><On>/YamahaRemoteControl/Icons/icon066.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_15><Item_16><Param>HDMI3</Param><RW>R</RW><Title>Game</Title><Icon><On>/YamahaRemoteControl/Icons/icon070.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_16><Item_17><Param>HDMI4</Param><RW>R</RW><Title>HDMI4</Title><Icon><On>/YamahaRemoteControl/Icons/icon004.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_17><Item_18><Param>HDMI5</Param><RW>R</RW><Title>HDMI5</Title><Icon><On>/YamahaRemoteControl/Icons/icon004.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_18><Item_19><Param>AV1</Param><RW>R</RW><Title>PC</Title><Icon><On>/YamahaRemoteControl/Icons/icon003.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_19><Item_20><Param>AV2</Param><RW>R</RW><Title>AV2</Title><Icon><On>/YamahaRemoteControl/Icons/icon003.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_20><Item_21><Param>AV3</Param><RW>R</RW><Title>AV3</Title><Icon><On>/YamahaRemoteControl/Icons/icon003.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_21><Item_22><Param>AV4</Param><RW>R</RW><Title>AV4</Title><Icon><On>/YamahaRemoteControl/Icons/icon003.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_22><Item_23><Param>AV5</Param><RW>R</RW><Title>AV5</Title><Icon><On>/YamahaRemoteControl/Icons/icon003.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_23><Item_24><Param>AV6</Param><RW>R</RW><Title>AV6</Title><Icon><On>/YamahaRemoteControl/Icons/icon003.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_24><Item_25><Param>AUDIO1</Param><RW>R</RW><Title>AUDIO</Title><Icon><On>/YamahaRemoteControl/Icons/icon002.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_25><Item_26><Param>AUDIO2</Param><RW>R</RW><Title>AUDIO2</Title><Icon><On>/YamahaRemoteControl/Icons/icon002.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_26><Item_27><Param>PHONO</Param><RW>R</RW><Title>PHONO</Title><Icon><On>/YamahaRemoteControl/Icons/icon007.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_27><Item_28><Param>V-AUX</Param><RW>R</RW><Title>V-AUX</Title><Icon><On>/YamahaRemoteControl/Icons/icon010.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number></Src_Number></Item_28></Scene_Sel_Item></Scene></Main_Zone></YAMAHA_AV>
2014.03.01 01:59:37 5: YAMAHA_AVR: execute on wz_avr: <YAMAHA_AV cmd="GET"><Main_Zone><Basic_Status>GetParam</Basic_Status></Main_Zone></YAMAHA_AV>
2014.03.01 01:59:37 4: HttpUtils url=http://avr/YamahaRemoteControl/ctrl
2014.03.01 01:59:37 4: http://avr/YamahaRemoteControl/ctrl: HTTP response code 200
2014.03.01 01:59:37 4: HttpUtils http://avr/YamahaRemoteControl/ctrl: Got data, length: 983
2014.03.01 01:59:37 5: YAMAHA_AVR: got response for wz_avr: <YAMAHA_AV rsp="GET" RC="0"><Main_Zone><Basic_Status><Power_Control><Power>Standby</Power><Sleep>Off</Sleep></Power_Control><Volume><Lvl><Val>-580</Val><Exp>1</Exp><Unit>dB</Unit></Lvl><Mute>Off</Mute></Volume><Input><Input_Sel>HDMI1</Input_Sel><Input_Sel_Item_Info><Param>HDMI1</Param><RW>RW</RW><Title>Dreambox</Title><Icon><On>/YamahaRemoteControl/Icons/icon086.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Input_Sel_Item_Info></Input><Surround><Program_Sel><Current><Straight>Off</Straight><Enhancer>Off</Enhancer><Sound_Program>Standard</Sound_Program></Current></Program_Sel><_3D_Cinema_DSP>Auto</_3D_Cinema_DSP><Dialogue_Lift>0</Dialogue_Lift></Surround><Party_Info>Off</Party_Info><Pure_Direct><Mode>Off</Mode></Pure_Direct><Sound_Video><Tone><Bass><Val>60</Val><Exp>1</Exp><Unit>dB</Unit></Bass><Treble><Val>0</Val><Exp>1</Exp><Unit>dB</Unit></Treble></Tone><Adaptive_DRC>Auto</Adaptive_DRC></Sound_Video></Basic_Status></Main_Zone></YAMAHA_AV>
2014.03.01 01:59:37 4: YAMAHA_AVR: GetStatus-Request returned: <YAMAHA_AV rsp="GET" RC="0"><Main_Zone><Basic_Status><Power_Control><Power>Standby</Power><Sleep>Off</Sleep></Power_Control><Volume><Lvl><Val>-580</Val><Exp>1</Exp><Unit>dB</Unit></Lvl><Mute>Off</Mute></Volume><Input><Input_Sel>HDMI1</Input_Sel><Input_Sel_Item_Info><Param>HDMI1</Param><RW>RW</RW><Title>Dreambox</Title><Icon><On>/YamahaRemoteControl/Icons/icon086.png</On><Off></Off></Icon><Src_Name></Src_Name><Src_Number>1</Src_Number></Input_Sel_Item_Info></Input><Surround><Program_Sel><Current><Straight>Off</Straight><Enhancer>Off</Enhancer><Sound_Program>Standard</Sound_Program></Current></Program_Sel><_3D_Cinema_DSP>Auto</_3D_Cinema_DSP><Dialogue_Lift>0</Dialogue_Lift></Surround><Party_Info>Off</Party_Info><Pure_Direct><Mode>Off</Mode></Pure_Direct><Sound_Video><Tone><Bass><Val>60</Val><Exp>1</Exp><Unit>dB</Unit></Bass><Treble><Val>0</Val><Exp>1</Exp><Unit>dB</Unit></Treble></Tone><Adaptive_DRC>Auto</Adaptive_DRC></Sound_Video></Basic_Status></Main_Zone></YAMAHA_AV>
2014.03.01 01:59:37 5: Triggering wz_avr (7 changes)
2014.03.01 01:59:37 5: Notify loop for wz_avr power: off
2014.03.01 01:59:37 4: eventTypes: YAMAHA_AVR wz_avr power: off -> power: off
2014.03.01 01:59:37 4: eventTypes: YAMAHA_AVR wz_avr off -> off
2014.03.01 01:59:37 4: eventTypes: YAMAHA_AVR wz_avr volumeStraight: -58 -> volumeStraight: -.*
2014.03.01 01:59:37 4: eventTypes: YAMAHA_AVR wz_avr volume: 23 -> volume: .*
2014.03.01 01:59:37 4: eventTypes: YAMAHA_AVR wz_avr mute: off -> mute: off
2014.03.01 01:59:37 4: eventTypes: YAMAHA_AVR wz_avr input: hdmi1 -> input: hdmi1
2014.03.01 01:59:37 4: eventTypes: YAMAHA_AVR wz_avr inputName: Dreambox -> inputName: Dreambox
2014.03.01 01:59:37 5: Update structure 'wz_devices' to undefined because device wz_avr has changed
2014.03.01 01:59:37 5: Triggering wz_devices (3 changes)
2014.03.01 01:59:37 5: Notify loop for wz_devices LastDevice: wz_avr
2014.03.01 01:59:37 4: eventTypes: structure wz_devices LastDevice: wz_avr -> LastDevice: wz_avr
2014.03.01 01:59:37 4: eventTypes: structure wz_devices LastDevice_Abs: wz_avr -> LastDevice_Abs: wz_avr
2014.03.01 01:59:37 4: eventTypes: structure wz_devices undefined -> undefined
2014.03.01 01:59:37 4: YAMAHA_AVR wz_avr: off

Offline Markus Bloch

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 3564
Antw:YAMAHA Modul Error line 301
« Antwort #6 am: 01 März 2014, 10:57:37 »
Das Problem ist, dass du direkt nach dem Start von FHEM sofort einen Befehl ausführst, obwohl die notwendigen Informationen durch das Modul noch garnicht am Receiver abgefragt worden sind.

Die Abfrage dieser Daten (verfügbare Zonen, Inputs, Scenes,...) erfolgt bisher immer beim aller ersten Status-Request.

Ich habe eine solche Abfrage nun auch für die Set-Kommandos eingebaut, so das er vorher diese Daten abfragt, sofern sie noch nicht abgefragt worden sind.

Das ganze gibt es dann morgen via update Befehl.

Viele Grüße

Markus
Developer für Module: YAMAHA_AVR, YAMAHA_BD, FB_CALLMONITOR, FB_CALLLIST, PRESENCE, Pushsafer, LGTV_IP12, version

aktives Mitglied des FHEM e.V. (Technik)

Offline vbs

  • Hero Member
  • *****
  • Beiträge: 2311
Antw:YAMAHA Modul Error line 301
« Antwort #7 am: 01 März 2014, 13:30:33 »
Ok danke, schon sowas gedacht in der Richtung... Dann danke für den Fix schonmal!

 

decade-submarginal