[gelöst]Bitte um Unterstützung, ich finde den Fehler nicht

Begonnen von supernova1963, 08 April 2020, 18:22:20

Vorheriges Thema - Nächstes Thema

supernova1963

Hallo zusammen,

ich brauche nochmal Unterstützung. Ich finde den Fehler nicht. der im fhem log seit einigen Tagen immer mal wieder auftaucht:

2020.04.08 18:13:18 3: Bad line >< for 26_WandStripes_AB

Hier das list zum device 26_WandStripes_AB:
Internals:
   CID        shellyrgbw2_6EAB2B
   DEF        shellyrgbw2_6EAB2B
   DEVICETOPIC 26_WandStripes_AB
   FUUID      5e7b4229-f33f-8c20-2151-6c47a4ca36ccde84
   FVERSION   10_MQTT2_DEVICE.pm:0.215660/2020-03-31
   IODev      MQTT2
   LASTInputDev MQTT2
   MQTT2_MSGCNT 21926
   MQTT2_TIME 2020-04-08 18:19:18
   MSGCNT     21926
   NAME       26_WandStripes_AB
   NR         171
   STATE      Wandstripes sind aus!
aktuell
off
<a href='http://192.168.1.91' target='_blank'><img class=' 10px-kreis-gruen' src="/fhem/images/default/10px-kreis-gruen.png" alt="true" title="true"></a>
   TYPE       MQTT2_DEVICE
   JSONMAP:
     brightness pct
   READINGS:
     2020-04-08 18:19:18   A_CW            off
     2020-04-08 18:19:18   A_CW_has_timer  false
     2020-04-08 18:19:18   A_CW_ison       false
     2020-04-08 18:19:18   A_CW_mode       white
     2020-04-08 18:19:18   A_CW_overpower  false
     2020-04-08 18:19:18   A_CW_pct        100
     2020-04-08 18:19:18   A_CW_power      0.00
     2020-04-08 18:19:18   A_CW_timer_remaining 0
     2020-04-08 18:19:18   A_WW            off
     2020-04-08 18:19:18   A_WW_has_timer  false
     2020-04-08 18:19:18   A_WW_ison       false
     2020-04-08 18:19:18   A_WW_mode       white
     2020-04-08 18:19:18   A_WW_overpower  false
     2020-04-08 18:19:18   A_WW_pct        27
     2020-04-08 18:19:18   A_WW_power      0.00
     2020-04-08 18:19:18   A_WW_timer_remaining 0
     2020-04-08 18:19:18   B_CW            off
     2020-04-08 18:19:18   B_CW_has_timer  false
     2020-04-08 18:19:18   B_CW_ison       false
     2020-04-08 18:19:18   B_CW_mode       white
     2020-04-08 18:19:18   B_CW_overpower  false
     2020-04-08 18:19:18   B_CW_pct        100
     2020-04-08 18:19:18   B_CW_power      0.00
     2020-04-08 18:19:18   B_CW_timer_remaining 0
     2020-04-08 18:19:18   B_WW            off
     2020-04-05 10:41:01   B_WW_has_timer  false
     2020-04-05 10:41:01   B_WW_ison       false
     2020-04-05 10:41:01   B_WW_mode       white
     2020-04-05 10:41:01   B_WW_overpower  false
     2020-04-05 10:41:01   B_WW_pct        27
     2020-04-05 10:41:01   B_WW_power      0.00
     2020-04-05 10:41:01   B_WW_timer_remaining 0
     2020-04-08 18:19:18   CW_pct          100
     2020-04-08 18:19:18   StatusText      Wandstripes sind aus!
     2020-04-08 18:19:18   SystemState     aktuell
     2020-04-08 18:19:18   WW_pct          27
     2020-04-08 18:19:18   connection      <a href='http://192.168.1.91' target='_blank'><img class=' 10px-kreis-gruen' src="/fhem/images/default/10px-kreis-gruen.png" alt="true" title="true"></a>
     2020-04-08 18:19:18   consumption     0
     2020-04-07 16:11:46   fw_ver          20200309-104453/v1.6.0@43056d58
     2020-04-07 16:11:46   id              26_WandStripes_AB
     2020-04-07 16:11:46   ip              192.168.1.91
     2020-04-07 16:11:46   mac             ECFABC6EAB2B
     2020-04-07 16:11:46   new_fw          false
     2020-04-07 16:11:46   online          true
     2020-04-08 18:19:18   state           off
Attributes:
   IODev      MQTT2
   alias      Wandstripes
   devStateIcon devStateIcon A_WW_on:hue_filled_lightstrip@orangered:A_WW_off
A_WW_off:hue_filled_lightstrip@navajowhite:A_WW_on
A_CW_on:hue_filled_lightstrip@midnightblue:A_CW_off
A_CW_off:hue_filled_lightstrip@lightblue:A_CW_on
A_on:on@OrangeRed:A_off
A_off:off:A_off
B_WW_on:hue_filled_lightstrip@orangered:B_WW_off
B_WW_off:hue_filled_lightstrip@navajowhite:B_WW_on
B_CW_on:hue_filled_lightstrip@midnightblue:B_CW_off
B_CW_off:hue_filled_lightstrip@lightblue:B_CW_on
B_on:on@OrangeRed:B_off
B_off:off:B_off
WW_on:hue_filled_lightstrip@orangered:A_WW_off
WW_off:hue_filled_lightstrip@navajowhite:A_WW_on
CW_on:hue_filled_lightstrip@midnightblue:A_CW_off
CW_off:hue_filled_lightstrip@lightblue:A_CW_on
on:on@OrangeRed:off
off:off:on
info:rc_INFO@Darkblue
true:10px-kreis-gruen
false:10px-kreis-rot
veraltet:refresh@OrangeRed:Upgrade
aktuell:rc_BLANK

   devStateStyle style="text-align:right"
   group      3_Beleuchtung
   icon       light_led_stripe
   jsonMap    brightness:pct
   readingList shellyrgbw2_6EAB2B:shellies/26_WandStripes_AB/white/0:.* A_CW
shellyrgbw2_6EAB2B:shellies/26_WandStripes_AB/white/0/status:.* { json2nameValue($EVENT, 'A_CW_', $JSONMAP) }
shellyrgbw2_6EAB2B:shellies/26_WandStripes_AB/white/1:.* A_WW
shellyrgbw2_6EAB2B:shellies/26_WandStripes_AB/white/1/status:.* { json2nameValue($EVENT, 'A_WW_', $JSONMAP) }
shellyrgbw2_6EAB2B:shellies/26_WandStripes_AB/white/2:.* B_CW
shellyrgbw2_6EAB2B:shellies/26_WandStripes_AB/white/2/status:.* { json2nameValue($EVENT, 'B_CW_', $JSONMAP) }
shellyrgbw2_6EAB2B:shellies/26_WandStripes_AB/white/3:.* B_WW
shellyrgbw2_6EAB2B:shellies/226_WandStripes_AB/white/3/status:.* { json2nameValue($EVENT, 'B_WW_', $JSONMAP) }
shellyrgbw2_6EAB2B:shellies/26_WandStripes_AB/online:.* online
shellyrgbw2_6EAB2B:shellies/26_WandStripes_AB/announce:.* { json2nameValue($EVENT, '', $JSONMAP) }

   room       20_KELLERGESCHOSS->26_Dusche
   setList    A_CW_off:noArg shellies/26_WandStripes_AB/white/0/command off
  A_CW_on:noArg shellies/26_WandStripes_AB/white/0/command on
  A_CW_pct:colorpicker,BRI,0,1,100 shellies/26_WandStripes_AB/white/0/set {"mode":"white","brightness":"$EVTPART1"}
  A_CW_pct_on:colorpicker,BRI,0,1,100 shellies/26_WandStripes_AB/white/0/set {"turn":"on","brightness":"$EVTPART1"}
  A_WW_off:noArg shellies/26_WandStripes_AB/white/1/command off
  A_WW_on:noArg shellies/26_WandStripes_AB/white/1/command on
  A_WW_pct:colorpicker,CT,0,1,100 shellies/26_WandStripes_AB/white/1/set {"mode":"white","brightness":"$EVTPART1"}
  A_WW_pct_on:colorpicker,CT,0,1,100 shellies/26_WandStripes_AB/white/1/set {"turn":"on","brightness":"$EVTPART1"}
  B_CW_off:noArg shellies/26_WandStripes_AB/white/2/command off
  B_CW_on:noArg shellies/26_WandStripes_AB/white/2/command on
  B_CW_pct:colorpicker,BRI,0,1,100 shellies/26_WandStripes_AB/white/2/set {"mode":"white","brightness":"$EVTPART1"} 
  B_CW_pct_on:colorpicker,BRI,0,1,100 shellies/26_WandStripes_AB/white/2/set {"turn":"on","brightness":"$EVTPART1"}
  B_WW_off:noArg shellies/26_WandStripes_AB/white/3/command off
  B_WW_on:noArg shellies/26_WandStripes_AB/white/3/command on
  B_WW_pct:colorpicker,CT,0,1,100 shellies/26_WandStripes_AB/white/3/set {"mode":"white","brightness":"$EVTPART1"}
  B_WW_pct_on:colorpicker,CT,0,1,100 shellies/26_WandStripes_AB/white/3/set {"turn":"on","brightness":"$EVTPART1"}
  A_on:noArg {fhem "set $NAME A_CW_on;set $NAME A_WW_on;";}
  A_off:noArg {fhem "set $NAME A_CW_off;set $NAME A_WW_off;";}
  B_on:noArg {fhem "set $NAME B_CW_on;set $NAME B_WW_on;";}
  B_off:noArg {fhem "set $NAME B_CW_off;set $NAME B_WW_off;";}
  on:noArg {fhem "set $NAME A_CW_on;set $NAME A_WW_on;set $NAME B_CW_on;set $NAME B_WW_on;";}
  off:noArg {fhem "set $NAME A_CW_off;set $NAME A_WW_off;set $NAME B_CW_off;set $NAME B_WW_off;";}
  WW_pct:colorpicker,CT,0,1,100 {fhem "set $NAME A_WW_pct $EVTPART1;set $NAME B_WW_pct $EVTPART1;";}
  WW_pct_on:colorpicker,CT,0,1,100 {fhem "set $NAME A_WW_pct_on $EVTPART1;set $NAME B_WW_pct_on $EVTPART1;";}
  CW_pct:colorpicker,BRI,0,1,100 {fhem "set $NAME A_CW_pct $EVTPART1;set $NAME B_CW_pct $EVTPART1;";}
  CW_pct_on:colorpicker,BRI,0,1,100 {fhem "set $NAME A_CW_pct_on $EVTPART1;set $NAME B_CW_pct_on $EVTPART1;";}
  x_mqttcom shellies/26_WandStripes_AB/command $EVTPART1
  x_httpcom {X_PerformShellyHttpRequest($NAME,ReadingsVal($NAME,"ip","").",".$EVTPART1.",".ReadPassword($defs{$NAME}));}
  x_httpcom_login {StorePassword($defs{$NAME},$EVTPART1);}
  x_update:noArg shellies/26_WandStripes_AB/command update_fw
  reboot:noArg {X_PerformShellyHttpRequest($NAME,ReadingsVal($NAME,"ip","").",".$EVENT.",".ReadPassword($defs{$NAME}));}
  status:noArg {X_PerformShellyHttpRequest($NAME,ReadingsVal($NAME,"ip","").",".$EVENT.",".ReadPassword($defs{$NAME}));}
  settings:noArg {X_PerformShellyHttpRequest($NAME,ReadingsVal($NAME,"ip","").",".$EVENT.",".ReadPassword($defs{$NAME}));}
  shelly:noArg {X_PerformShellyHttpRequest($NAME,ReadingsVal($NAME,"ip","").",".$EVENT.",".ReadPassword($defs{$NAME}));}

   stateFormat StatusText
SystemState
state
connection
   userReadings consumption
{
return (ReadingsNum($NAME,"A_WW_power",0) + ReadingsNum($NAME,"A_CW_power",0) + ReadingsNum($NAME,"B_WW_power",0) + ReadingsNum($NAME,"B_CW_power",0))
},
state
{
if (ReadingsVal($NAME,"A_CW","off") eq "off") {
if (ReadingsVal($NAME,"A_WW","off") eq "off") {
if (ReadingsVal($NAME,"B_CW","off") eq "off") {
if (ReadingsVal($NAME,"B_WW","off") eq "off") {
return "off";
}
}
}
}
return "on";
},
WW_pct
{
if (ReadingsVal($NAME,"A_WW_pct","A") eq ReadingsVal($NAME,"B_WW_pct","B")) {
return ReadingsVal($NAME,"A_WW_pct","A");
}
return "0";
},
CW_pct
{
if (ReadingsVal($NAME,"A_CW_pct","A") eq ReadingsVal($NAME,"B_CW_pct","B")) {
return ReadingsVal($NAME,"A_CW_pct","0");
}
return "0";
},
StatusText
{
my $result = "";
if (uc(ReadingsVal($NAME,"state","")) eq "OFF") {
$result = 'sind aus';
}
else {
$result = '';
$result .= '|ACW='.ReadingsVal($NAME,"A_CW_pct","0").'%' if (ReadingsVal($NAME,"A_CW","") eq "on");
$result .= '|AWW='.ReadingsVal($NAME,"A_WW_pct","0").'%' if (ReadingsVal($NAME,"A_WW","") eq "on");
$result .= '|BCW='.ReadingsVal($NAME,"B_CW_pct","0").'%' if (ReadingsVal($NAME,"B_CW","") eq "on");
$result .= '|BWW='.ReadingsVal($NAME,"B_WW_pct","0").'%' if (ReadingsVal($NAME,"B_WW","") eq "on");
}
return AttrVal($NAME,"alias","")." ".$result."!";
},
SystemState
{
if ( ReadingsVal($NAME,"new_fw","false") ne "false") {
return "veraltet";
}
else {
return "aktuell";
}
},
connection
{
if ( ReadingsVal($NAME,"online","") eq "true") {
return "<a href='http://".ReadingsVal($NAME,"ip","")."' target='_blank'>".FW_makeImage("10px-kreis-gruen","true")."</a>";
}
else {
return "<a href='http://".ReadingsVal($NAME,"ip","")."' target='_blank'>".FW_makeImage("10px-kreis-rot","false")."</a>";
}

}
   webCmd     WW_pct:CW_pct


Vielen Dank,

Gernot

rudolfkoenig

Es geht hier um eine leere readingList Zeile.
Ich vermute readingList wurde im Editor angepasst, und am Ende eine Leerzeile angehaengt.

supernova1963

Das war die Leerzeile am Ende des readingsList Attributs.

Danke,

Gernot