Hallo zusammen,
ich finde den Fehler nicht, obwohl dieser Fehler schon mehrfach im Forum behandelt wurde.
Hier die Fehlermeldung, die jede Minute kommt:
2017.11.19 03:56:35 1: PERL WARNING: Argument "Bezug" isn't numeric in division (/) at (eval 41814) line 1.
2017.11.19 03:56:35 1: stacktrace:
2017.11.19 03:56:35 1: main::__ANON__ called by (eval 41814) (1)
2017.11.19 03:56:35 1: (eval) called by ./FHEM/33_readingsGroup.pm (357)
2017.11.19 03:56:35 1: main::lookup2 called by ./FHEM/33_readingsGroup.pm (1399)
2017.11.19 03:56:35 1: main::readingsGroup_Notify called by fhem.pl (3497)
2017.11.19 03:56:35 1: main::CallFn called by fhem.pl (3417)
2017.11.19 03:56:35 1: main::DoTrigger called by fhem.pl (4391)
2017.11.19 03:56:35 1: main::readingsEndUpdate called by ./FHEM/47_OBIS.pm (578)
2017.11.19 03:56:35 1: main::OBIS_Parse called by ./FHEM/47_OBIS.pm (248)
2017.11.19 03:56:35 1: main::OBIS_Read called by fhem.pl (3497)
2017.11.19 03:56:35 1: main::CallFn called by fhem.pl (759)
Hier die Readingsgroup:
define Energiewewerte_Strom_Gas readingsGroup <Energieverbrauchswerte>,<aktuell>,<heute>,<gestern>,<Monat> \
Stromzaehler:<Stromrichtung:>,dir_total_consumption \
KaCo_Real:<akt.Solarstrom:>,AC_LEISTUNG Stromzaehler:<Einspeise-Bezugsleistung:>,power \
P_Eigenverbrauch:<akt.Solar-Eigenverbrauch:>,state \
Solarrechner:<Zählerstand-SolarStrom:>,Stromzaehler_total_feed_CounterCurrent,Stromzaehler_total_feed_EnergyDay,Stromzaehler_total_feed_EnergyDayLast,Stromzaehler_total_feed_EnergyMonth \
Stromrechner:<Zählerstand-Strom-Bezug:>,Stromzaehler_total_consumption_CounterCurrent,Stromzaehler_total_consumption_EnergyDay,Stromzaehler_total_consumption_EnergyDayLast,Stromzaehler_total_consumption_EnergyMonth\
Solarrechner:<Solar-Ertrag:>,<>,Stromzaehler_total_feed_EnergyCostDay,Stromzaehler_total_feed_EnergyCostDayLast,Stromzaehler_total_feed_EnergyCostMonth \
Stromrechner:<Stromkosten:>,<>,Stromzaehler_total_consumption_EnergyCostDay,Stromzaehler_total_consumption_EnergyCostDayLast,Stromzaehler_total_consumption_EnergyCostMonth \
Gasrechner:<Gaskosten:>,<>,Gasverbrauch_countsOverall_EnergyCostDay,Gasverbrauch_countsOverall_EnergyCostDayLast,Gasverbrauch_countsOverall_EnergyCostMonth \
Gasrechner:<Zählerstand-Gas:>,Gasverbrauch_countsOverall_Meter,Gasverbrauch_countsOverall_EnergyDay,Gasverbrauch_countsOverall_EnergyDayLast,Gasverbrauch_countsOverall_EnergyMonth\
WasserUhr:<Zählerstand-Wasseruhr:>,countsOverall_Meter\
attr Energiewewerte_Strom_Gas alias Solar- Strom- Gas- Werte:
attr Energiewewerte_Strom_Gas alwaysTrigger 2
attr Energiewewerte_Strom_Gas eventMap in:Bezug out:Einspeisung
attr Energiewewerte_Strom_Gas nameStyle {($READING eq "aktuell" ||$READING eq "heute" ||$READING eq "gestern" ||$READING eq "Monat")?'style="text-align:right"' :'style=""'}
attr Energiewewerte_Strom_Gas nonames 1
attr Energiewewerte_Strom_Gas room Energie
attr Energiewewerte_Strom_Gas userReadings EigenverbrauchInKwh: {ReadingsNum ("KaCo_Real:AC_LEISTUNG",0) + ReadingsNum ("Stromzaehler:power",0)}
attr Energiewewerte_Strom_Gas valueFormat {power => '{sprintf("%.1f W",$NUM/1)}',\
AC_LEISTUNG =>"%.1f W", state=>"%.1f W", \
countsOverall => $VALUE/100 .' m³', \
countsPerDay => $VALUE/100 .' m³', \
countsPerDay =>"%.1f m³",\
Stromzaehler_total_consumption_EnergyCostDay =>"%.2f €", \
Stromzaehler_total_consumption_EnergyCostDayLast =>"%.2f €", \
Stromzaehler_total_consumption_EnergyCostMonth =>"%.2f €", \
Stromzaehler_total_consumption_EnergyMonth =>"%.1f KWh", \
Stromzaehler_total_consumption_EnergyDay => '{sprintf( "%.1f kWh",$NUM/1000)}', \
Stromzaehler_total_consumption_EnergyDayLast =>"%.1f KWh", \
Stromzaehler_total_consumption_CounterCurrent =>"%.1f KWh", \
Stromzaehler_total_feed_CounterMonthLast => '{sprintf( "%.1f kWh",$NUM/1000)}', \
Stromzaehler_total_feed_CounterDayLast => '{sprintf( "%.1f kWh",$NUM/1000)}', \
Stromzaehler_total_feed_CounterCurrent => '{sprintf( "%.1f kWh",$NUM/1)}', \
Stromzaehler_total_feed_EnergyCostDay =>"%.2f €", \
Stromzaehler_total_feed_EnergyCostDayLast =>"%.2f €", \
Stromzaehler_total_feed_EnergyCostMonth =>"%.2f €", \
Stromzaehler_total_feed_EnergyDay =>"%.1f KWh", \
Stromzaehler_total_feed_EnergyDayLast =>"%.1f KWh", \
Stromzaehler_total_feed_EnergyMonth =>"%.1f KWh", \
Gasverbrauch_countsOverall_EnergyCostMonth => "%.2f € ", \
Gasverbrauch_countsOverall_EnergyCostDay => "%.2f € ", \
Gasverbrauch_countsOverall_EnergyMeterLast => $VALUE/100 .' m³', \
Gasverbrauch_countsOverall_EnergyCostDayLast => "%.2f € ", \
Gasverbrauch_countsOverall_Meter =>"%.1f m³", \
Gasverbrauch_countsOverall_EnergyDay => '{sprintf( "%.1f m³",$NUM/100)}', \
Gasverbrauch_countsOverall_EnergyDayLast => '{sprintf( "%.1f m³",$NUM/100)}', \
Gasverbrauch_countsOverall_EnergyMonth => '{sprintf( "%.1f m³",$NUM/100)}'}
attr Energiewewerte_Strom_Gas valueStyle {if ($READING eq "power" && $VALUE > 1){'style="color:red;;;;text-align:right"'}elsif($READING eq "power" && $VALUE < 1){'style="color:green;;;;text-align:right"'}else{'style="text-align:right"'} }
attr Energiewewerte_Strom_Gas verbose 0
und hier das dazugehörige Device:
##Stromzaehlerlesekopf
define Stromzaehler OBIS /dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_00F30001-if00-port0@9600,8,N,1, SML
attr Stromzaehler directions {">" => "Bezug", "<"=>"Einspeisung"}
attr Stromzaehler event-min-interval .*:60
attr Stromzaehler event-on-change-reading .*
attr Stromzaehler ignoreUnknown on
attr Stromzaehler interval 30
attr Stromzaehler pollingMode on
attr Stromzaehler room Unsorted
attr Stromzaehler unitReadings off
attr Stromzaehler verbose 2
define FileLog_Stromzaehler FileLog ./log/Stromzaehler-%Y-%m.log Stromzaehler:power:.*|Stromzaehler:total_consumption:.*
attr FileLog_Stromzaehler nrarchive 3
attr FileLog_Stromzaehler room Unsorted
define SVG_FileLog_Stromzaehler_1 SVG FileLog_Stromzaehler:SVG_FileLog_Stromzaehler_1:CURRENT
attr SVG_FileLog_Stromzaehler_1 room Energie
attr SVG_FileLog_Stromzaehler_1 title "Stromertrag Min $data{min1}, Max $data{max1}, Last $data{currval1}"
das ganze nochmals als list Ausgabe:
Internals:
DEF <Energieverbrauchswerte>,<aktuell>,<heute>,<gestern>,<Monat>
Stromzaehler:<Stromrichtung:>,dir_total_consumption
KaCo_Real:<akt.Solarstrom:>,AC_LEISTUNG Stromzaehler:<Einspeise-Bezugsleistung:>,power
P_Eigenverbrauch:<akt.Solar-Eigenverbrauch:>,state
Solarrechner:<Zählerstand-SolarStrom:>,Stromzaehler_total_feed_CounterCurrent,Stromzaehler_total_feed_EnergyDay,Stromzaehler_total_feed_EnergyDayLast,Stromzaehler_total_feed_EnergyMonth
Stromrechner:<Zählerstand-Strom-Bezug:>,Stromzaehler_total_consumption_CounterCurrent,Stromzaehler_total_consumption_EnergyDay,Stromzaehler_total_consumption_EnergyDayLast,Stromzaehler_total_consumption_EnergyMonth
Solarrechner:<Solar-Ertrag:>,<>,Stromzaehler_total_feed_EnergyCostDay,Stromzaehler_total_feed_EnergyCostDayLast,Stromzaehler_total_feed_EnergyCostMonth
Stromrechner:<Stromkosten:>,<>,Stromzaehler_total_consumption_EnergyCostDay,Stromzaehler_total_consumption_EnergyCostDayLast,Stromzaehler_total_consumption_EnergyCostMonth
Gasrechner:<Gaskosten:>,<>,Gasverbrauch_countsOverall_EnergyCostDay,Gasverbrauch_countsOverall_EnergyCostDayLast,Gasverbrauch_countsOverall_EnergyCostMonth
Gasrechner:<Zählerstand-Gas:>,Gasverbrauch_countsOverall_Meter,Gasverbrauch_countsOverall_EnergyDay,Gasverbrauch_countsOverall_EnergyDayLast,Gasverbrauch_countsOverall_EnergyMonth
WasserUhr:<Zählerstand-Wasseruhr:>,countsOverall_Meter
NAME Energiewewerte_Strom_Gas
NR 303
NTFY_ORDER 50-Energiewewerte_Strom_Gas
STATE Initialized
TYPE readingsGroup
alwaysTrigger 2
mayBeVisible 1
CONTENT:
Gasrechner 1
KaCo_Real 1
P_Eigenverbrauch 1
Solarrechner 1
Stromrechner 1
Stromzaehler 1
WasserUhr 1
CONTENT2:
DEVICES:
ARRAY(0x3764958)
ARRAY(0x279b6f0)
ARRAY(0x383a0c0)
ARRAY(0x328eae8)
ARRAY(0x328b638)
ARRAY(0x3606290)
ARRAY(0x3859710)
ARRAY(0x37fd3e0)
ARRAY(0x3628250)
ARRAY(0x3589be0)
ARRAY(0x37fede0)
ARRAY(0x32675d0)
READINGS:
fhem:
lastDefChange 16
last_update 1511199992.16543
helper:
DEF
nameStyle {($READING eq "aktuell" ||$READING eq "heute" ||$READING eq "gestern" ||$READING eq "Monat")?'style="text-align:right"' :'style=""'}
valueFormat {power => '{sprintf("%.1f W",$NUM/1)}',
AC_LEISTUNG =>"%.1f W", state=>"%.1f W",
countsOverall => $VALUE/100 .' m³',
countsPerDay => $VALUE/100 .' m³',
countsPerDay =>"%.1f m³",
Stromzaehler_total_consumption_EnergyCostDay =>"%.2f €",
Stromzaehler_total_consumption_EnergyCostDayLast =>"%.2f €",
Stromzaehler_total_consumption_EnergyCostMonth =>"%.2f €",
Stromzaehler_total_consumption_EnergyMonth =>"%.1f KWh",
Stromzaehler_total_consumption_EnergyDay => '{sprintf( "%.1f kWh",$NUM/1000)}',
Stromzaehler_total_consumption_EnergyDayLast =>"%.1f KWh",
Stromzaehler_total_consumption_CounterCurrent =>"%.1f KWh",
Stromzaehler_total_feed_CounterMonthLast => '{sprintf( "%.1f kWh",$NUM/1000)}',
Stromzaehler_total_feed_CounterDayLast => '{sprintf( "%.1f kWh",$NUM/1000)}',
Stromzaehler_total_feed_CounterCurrent => '{sprintf( "%.1f kWh",$NUM/1)}',
Stromzaehler_total_feed_EnergyCostDay =>"%.2f €",
Stromzaehler_total_feed_EnergyCostDayLast =>"%.2f €",
Stromzaehler_total_feed_EnergyCostMonth =>"%.2f €",
Stromzaehler_total_feed_EnergyDay =>"%.1f KWh",
Stromzaehler_total_feed_EnergyDayLast =>"%.1f KWh",
Stromzaehler_total_feed_EnergyMonth =>"%.1f KWh",
Gasverbrauch_countsOverall_EnergyCostMonth => "%.2f € ",
Gasverbrauch_countsOverall_EnergyCostDay => "%.2f € ",
Gasverbrauch_countsOverall_EnergyMeterLast => $VALUE/100 .' m³',
Gasverbrauch_countsOverall_EnergyCostDayLast => "%.2f € ",
Gasverbrauch_countsOverall_Meter =>"%.1f m³",
Gasverbrauch_countsOverall_EnergyDay => '{sprintf( "%.1f m³",$NUM/100)}',
Gasverbrauch_countsOverall_EnergyDayLast => '{sprintf( "%.1f m³",$NUM/100)}',
Gasverbrauch_countsOverall_EnergyMonth => '{sprintf( "%.1f m³",$NUM/100)}'}
valueStyle {if ($READING eq "power" && $VALUE > 1){'style="color:red;;text-align:right"'}elsif($READING eq "power" && $VALUE < 1){'style="color:green;;text-align:right"'}else{'style="text-align:right"'} }
positions:
Gasrechner.Gasverbrauch_countsOverall_EnergyCostDay 10:3
Gasrechner.Gasverbrauch_countsOverall_EnergyCostDayLast 10:4
Gasrechner.Gasverbrauch_countsOverall_EnergyCostMonth 10:5
Gasrechner.Gasverbrauch_countsOverall_EnergyDay 11:3
Gasrechner.Gasverbrauch_countsOverall_EnergyDayLast 11:4
Gasrechner.Gasverbrauch_countsOverall_EnergyMonth 11:5
Gasrechner.Gasverbrauch_countsOverall_Meter 11:2
KaCo_Real.AC_LEISTUNG 3:2
P_Eigenverbrauch.state 5:2
Solarrechner.Stromzaehler_total_feed_CounterCurrent 6:2
Solarrechner.Stromzaehler_total_feed_EnergyCostDay 8:3
Solarrechner.Stromzaehler_total_feed_EnergyCostDayLast 8:4
Solarrechner.Stromzaehler_total_feed_EnergyCostMonth 8:5
Solarrechner.Stromzaehler_total_feed_EnergyDay 6:3
Solarrechner.Stromzaehler_total_feed_EnergyDayLast 6:4
Solarrechner.Stromzaehler_total_feed_EnergyMonth 6:5
Stromrechner.Stromzaehler_total_consumption_CounterCurrent 7:2
Stromrechner.Stromzaehler_total_consumption_EnergyCostDay 9:3
Stromrechner.Stromzaehler_total_consumption_EnergyCostDayLast 9:4
Stromrechner.Stromzaehler_total_consumption_EnergyCostMonth 9:5
Stromrechner.Stromzaehler_total_consumption_EnergyDay 7:3
Stromrechner.Stromzaehler_total_consumption_EnergyDayLast 7:4
Stromrechner.Stromzaehler_total_consumption_EnergyMonth 7:5
Stromzaehler.dir_total_consumption 2:2
Stromzaehler.power 4:2
values:
formated:
undef
undef
ARRAY(0x3873718)
ARRAY(0x3854dd0)
ARRAY(0x32625c0)
ARRAY(0x36fc388)
orig:
undef
undef
ARRAY(0x38705f0)
ARRAY(0x38545a8)
ARRAY(0x3582780)
ARRAY(0x3841c48)
prefixsuffix:
undef
undef
ARRAY(0x3854410)
ARRAY(0x37fdb60)
ARRAY(0x384b4a8)
ARRAY(0x382ed30)
Attributes:
alias Solar- Strom- Gas- Werte:
alwaysTrigger 2
eventMap in:Bezug out:Einspeisung
nameStyle {($READING eq "aktuell" ||$READING eq "heute" ||$READING eq "gestern" ||$READING eq "Monat")?'style="text-align:right"' :'style=""'}
nonames 1
room Energie
userReadings EigenverbrauchInKwh: {ReadingsNum ("KaCo_Real:AC_LEISTUNG",0) + ReadingsNum ("Stromzaehler:power",0)}
valueFormat {power => '{sprintf("%.1f W",$NUM/1)}',
AC_LEISTUNG =>"%.1f W", state=>"%.1f W",
countsOverall => $VALUE/100 .' m³',
countsPerDay => $VALUE/100 .' m³',
countsPerDay =>"%.1f m³",
Stromzaehler_total_consumption_EnergyCostDay =>"%.2f €",
Stromzaehler_total_consumption_EnergyCostDayLast =>"%.2f €",
Stromzaehler_total_consumption_EnergyCostMonth =>"%.2f €",
Stromzaehler_total_consumption_EnergyMonth =>"%.1f KWh",
Stromzaehler_total_consumption_EnergyDay => '{sprintf( "%.1f kWh",$NUM/1000)}',
Stromzaehler_total_consumption_EnergyDayLast =>"%.1f KWh",
Stromzaehler_total_consumption_CounterCurrent =>"%.1f KWh",
Stromzaehler_total_feed_CounterMonthLast => '{sprintf( "%.1f kWh",$NUM/1000)}',
Stromzaehler_total_feed_CounterDayLast => '{sprintf( "%.1f kWh",$NUM/1000)}',
Stromzaehler_total_feed_CounterCurrent => '{sprintf( "%.1f kWh",$NUM/1)}',
Stromzaehler_total_feed_EnergyCostDay =>"%.2f €",
Stromzaehler_total_feed_EnergyCostDayLast =>"%.2f €",
Stromzaehler_total_feed_EnergyCostMonth =>"%.2f €",
Stromzaehler_total_feed_EnergyDay =>"%.1f KWh",
Stromzaehler_total_feed_EnergyDayLast =>"%.1f KWh",
Stromzaehler_total_feed_EnergyMonth =>"%.1f KWh",
Gasverbrauch_countsOverall_EnergyCostMonth => "%.2f € ",
Gasverbrauch_countsOverall_EnergyCostDay => "%.2f € ",
Gasverbrauch_countsOverall_EnergyMeterLast => $VALUE/100 .' m³',
Gasverbrauch_countsOverall_EnergyCostDayLast => "%.2f € ",
Gasverbrauch_countsOverall_Meter =>"%.1f m³",
Gasverbrauch_countsOverall_EnergyDay => '{sprintf( "%.1f m³",$NUM/100)}',
Gasverbrauch_countsOverall_EnergyDayLast => '{sprintf( "%.1f m³",$NUM/100)}',
Gasverbrauch_countsOverall_EnergyMonth => '{sprintf( "%.1f m³",$NUM/100)}'}
valueStyle {if ($READING eq "power" && $VALUE > 1){'style="color:red;;text-align:right"'}elsif($READING eq "power" && $VALUE < 1){'style="color:green;;text-align:right"'}else{'style="text-align:right"'} }
verbose 0
Hier wird das "Richtungszeichen" gegen Einspeisung oder Bezug ausgetauscht. es ist das Reading dir_total_consumption, welches auch mit Bezug oder Einspeisung angezeigt wird.
Mit Stromrichtung wird nichts berechnet. Kann ich nicht einen ersetzten Wert in Readingsgroup benutzen?
Danke für eure Hilfe
Andy
Hallo,
hat keiner eine Idee, was den Fehler verursacht?
Ich muss sagen: ich habe versucht, mich damit zu beschäftigen, aber dein Ding ist so komplex, dass ich aufgegeben habe. Kannst Du vielleicht das Problem begrenzen, indem Du die Struktur deines ReadingsGroups schlanker machst?
Hallo amenomade,
danke für deine Benühungen. Hier weiter Infos zu dem Problem.
wenn ich in der Readingsgroup diesen Eintrag entferne, dann wird das log nicht mehr geflutet:
Stromzaehler:<Stromrichtung:>,dir_total_consumption \
Das ist das Reading aus dem OBIS Modul Stromzaehler mit diesem Attribut:
attr Stromzaehler directions {">" => "Bezug", "<"=>"Einspeisung"}. Das komische ist, dass ich den Wert des Attributs drections überschreibe, aber es dann noch das Attribut dir_total_consumption gibt, das dann den Wert Bezug oder Einspeisung hat. Directions selbst kann ich nicht als Readings auswählen.
Gruss Andreas
Zeig mal bitte ein "list Stromzaehler"
Hier das list Stromzaehler
Internals:
DEF /dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_00F30001-if00-port0@9600,8,N,1, SML
DeviceName /dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_00F30001-if00-port0@9600,8,N,1,
MeterType SML
NAME Stromzaehler
NR 194
PARTIAL
STATE opened
TYPE OBIS
READINGS:
2016-08-05 19:56:34 1.0.0.0.9.255 06-45-4D-48-01-04-C5-6C-B8-C3
2016-08-05 19:56:34 129.129.199.130.3.255 EMH
2016-08-05 19:56:34 129.129.199.130.5.255 110C-DE3D-9852-AA33-FCB8-C1B2-0838-F645-2DEA-81C2-F1B5-3196-AD19-E2DA-210C-1E20-E1DA-6AB2-0139-9CE3-5131-AC3D-07BB-E598-01
2017-11-25 16:45:53 Version EMH\06454D480104C56CB8C3
2017-11-26 16:13:04 dir_total_consumption Bezug
2017-11-26 16:13:04 dir_total_feed Bezug
2017-11-26 16:13:04 power 2477.5
2017-11-23 21:17:36 state opened
2017-11-26 16:13:04 total_consumption 7474685.8
2017-11-26 16:13:04 total_consumption_Ch1 7474685.8
2017-11-26 16:13:04 total_consumption_Ch2 0
2017-11-26 16:13:04 total_feed 32567337.2
2017-11-26 16:13:04 total_feed_Ch1 32567337.2
2017-11-26 16:13:04 total_feed_Ch2 0
helper:
BUFFER
EoM 1
SPEED 5
SPEED2 5
TRIGGERTIME 1511468256.3155
Channels:
DEVICES:
30
directions:
< Einspeisung
> Bezug
Attributes:
directions {">" => "Bezug", "<"=>"Einspeisung"}
event-min-interval .*:60
event-on-change-reading .*
ignoreUnknown on
interval 30
pollingMode on
room Unsorted
unitReadings off
verbose 2
Hmm. Ich kann mich es nicht erklären. Kannst Du eventuell den Stromzäehler auf verbose 5 setzen, und ein Log Auszug zeigen? Nur um zu gucken wie das reading mit "directions" sich verhält.
Hier das Logprotokoll:2017.11.27 20:09:19 5: SW:
2017.11.27 20:09:19 4: Wrote
2017.11.27 20:09:19 5: OBIS (Stromzaehler) - Internal timer set to 2017-11-27 20:09:49
2017.11.27 20:09:21 5: SML-Parse 1B1B1B1B010101017607001017D4AB77620062007263010176010107001009528E7D0B06454D480104C56CB8C3010163DEFA007607001017D4AB78620062007263070177010B06454D480104C56CB8C3070100620AFFFF726201650952FA457A77078181C78203FF0101010104454D480177070100000009FF010101010B06454D480104C56CB8C30177070100010800FF6401018201621E52FF56000475C21A0177070100020800FF6401018201621E52FF560013699AB50177070100010801FF0101621E52FF56000475C21A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000016380177078181C78205FF01726201650952FA4501018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101638EAE007607001017D4AB7B6200620072630201710163F4E700001B1B1B1B1A01B920
2017.11.27 20:09:21 5: OBIS: Full message-> 1B1B1B1B010101017607001017D4AB77620062007263010176010107001009528E7D0B06454D480104C56CB8C3010163DEFA007607001017D4AB78620062007263070177010B06454D480104C56CB8C3070100620AFFFF726201650952FA457A77078181C78203FF0101010104454D480177070100000009FF010101010B06454D480104C56CB8C30177070100010800FF6401018201621E52FF56000475C21A0177070100020800FF6401018201621E52FF560013699AB50177070100010801FF0101621E52FF56000475C21A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000016380177078181C78205FF01726201650952FA4501018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101638EAE007607001017D4AB7B6200620072630201710163F4E700001B1B1B1B1A01B920
2017.11.27 20:09:21 5: OBIS: Telegram=1B1B1B1B010101017607001017D4AB77620062007263010176010107001009528E7D0B06454D480104C56CB8C3010163DEFA007607001017D4AB78620062007263070177010B06454D480104C56CB8C3070100620AFFFF726201650952FA457A77078181C78203FF0101010104454D480177070100000009FF010101010B06454D480104C56CB8C30177070100010800FF6401018201621E52FF56000475C21A0177070100020800FF6401018201621E52FF560013699AB50177070100010801FF0101621E52FF56000475C21A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000016380177078181C78205FF01726201650952FA4501018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101638EAE007607001017D4AB7B6200620072630201710163F4E700001B1B1B1B1A01B920
2017.11.27 20:09:21 5: OBIS: Telegram=0177070100000009FF010101010B06454D480104C56CB8C30177070100010800FF6401018201621E52FF56000475C21A0177070100020800FF6401018201621E52FF560013699AB50177070100010801FF0101621E52FF56000475C21A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000016380177078181C78205FF01726201650952FA4501018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101638EAE007607001017D4AB7B6200620072630201710163F4E700001B1B1B1B1A01B920
2017.11.27 20:09:21 5: OBIS: Telegram=0177070100010800FF6401018201621E52FF56000475C21A0177070100020800FF6401018201621E52FF560013699AB50177070100010801FF0101621E52FF56000475C21A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000016380177078181C78205FF01726201650952FA4501018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101638EAE007607001017D4AB7B6200620072630201710163F4E700001B1B1B1B1A01B920
2017.11.27 20:09:21 5: OBIS: Telegram=0177070100020800FF6401018201621E52FF560013699AB50177070100010801FF0101621E52FF56000475C21A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000016380177078181C78205FF01726201650952FA4501018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101638EAE007607001017D4AB7B6200620072630201710163F4E700001B1B1B1B1A01B920
2017.11.27 20:09:21 5: OBIS: Telegram=0177070100010801FF0101621E52FF56000475C21A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000016380177078181C78205FF01726201650952FA4501018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101638EAE007607001017D4AB7B6200620072630201710163F4E700001B1B1B1B1A01B920
2017.11.27 20:09:21 5: OBIS: Telegram=0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000016380177078181C78205FF01726201650952FA4501018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101638EAE007607001017D4AB7B6200620072630201710163F4E700001B1B1B1B1A01B920
2017.11.27 20:09:21 5: OBIS: Telegram=0177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000016380177078181C78205FF01726201650952FA4501018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101638EAE007607001017D4AB7B6200620072630201710163F4E700001B1B1B1B1A01B920
2017.11.27 20:09:21 5: OBIS: Telegram=0177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000016380177078181C78205FF01726201650952FA4501018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101638EAE007607001017D4AB7B6200620072630201710163F4E700001B1B1B1B1A01B920
2017.11.27 20:09:21 5: OBIS: Telegram=0177070100100700FF0101621B52FF55000016380177078181C78205FF01726201650952FA4501018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101638EAE007607001017D4AB7B6200620072630201710163F4E700001B1B1B1B1A01B920
2017.11.27 20:09:21 5: OBIS: Telegram=0177078181C78205FF01726201650952FA4501018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101638EAE007607001017D4AB7B6200620072630201710163F4E700001B1B1B1B1A01B920
2017.11.27 20:09:21 4: MSG IS:
/EMH\06454D480104C56CB8C3
129-129:199.130.3*255(EMH)
1-0:0.0.9*255(06454D480104C56CB8C3)
1-0:1.8.0*255(>7482626.6*Wh)
1-0:2.8.0*255(>32568798.9*Wh)
1-0:1.8.1*255(7482626.6*Wh)
1-0:2.8.1*255(32568798.9*Wh)
1-0:1.8.2*255(0*Wh)
1-0:2.8.2*255(0*Wh)
1-0:16.7.0*255(568.8*W)
129-129:199.130.5*255(110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE59801)
!
2017.11.27 20:09:21 5: OBIS (Stromzaehler) - Msg-Parse: /EMH\06454D480104C56CB8C3
2017.11.27 20:09:21 5: OBIS (Stromzaehler) - Msg-Parse: 129-129:199.130.3*255(EMH)
2017.11.27 20:09:21 5: Msg 129-129:199.130.3*255(EMH) is of type ManufID
2017.11.27 20:09:21 5: OBIS (Stromzaehler) - Msg-Parse: 1-0:0.0.9*255(06454D480104C56CB8C3)
2017.11.27 20:09:21 5: Msg 1-0:0.0.9*255(06454D480104C56CB8C3) is of type Serial
2017.11.27 20:09:21 5: OBIS (Stromzaehler) - Msg-Parse: 1-0:1.8.0*255(>7482626.6*Wh)
2017.11.27 20:09:21 5: Msg 1-0:1.8.0*255(>7482626.6*Wh) is of type Counter
2017.11.27 20:09:21 4: Set total_consumption to 7482626.6
2017.11.27 20:09:21 5: OBIS (Stromzaehler) - Msg-Parse: 1-0:2.8.0*255(>32568798.9*Wh)
2017.11.27 20:09:21 5: Msg 1-0:2.8.0*255(>32568798.9*Wh) is of type Counter
2017.11.27 20:09:21 5: OBIS (Stromzaehler) - Msg-Parse: 1-0:1.8.1*255(7482626.6*Wh)
2017.11.27 20:09:21 5: Msg 1-0:1.8.1*255(7482626.6*Wh) is of type Counter
2017.11.27 20:09:21 4: Set total_consumption_Ch1 to 7482626.6
2017.11.27 20:09:21 5: OBIS (Stromzaehler) - Msg-Parse: 1-0:2.8.1*255(32568798.9*Wh)
2017.11.27 20:09:21 5: Msg 1-0:2.8.1*255(32568798.9*Wh) is of type Counter
2017.11.27 20:09:21 5: OBIS (Stromzaehler) - Msg-Parse: 1-0:1.8.2*255(0*Wh)
2017.11.27 20:09:21 5: Msg 1-0:1.8.2*255(0*Wh) is of type Counter
2017.11.27 20:09:21 4: Set total_consumption_Ch2 to 0
2017.11.27 20:09:21 5: OBIS (Stromzaehler) - Msg-Parse: 1-0:2.8.2*255(0*Wh)
2017.11.27 20:09:21 5: Msg 1-0:2.8.2*255(0*Wh) is of type Counter
2017.11.27 20:09:21 5: OBIS (Stromzaehler) - Msg-Parse: 1-0:16.7.0*255(568.8*W)
2017.11.27 20:09:21 5: Msg 1-0:16.7.0*255(568.8*W) is of type Channels
2017.11.27 20:09:21 5: OBIS (Stromzaehler) - Msg-Parse: 129-129:199.130.5*255(110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE59801)
2017.11.27 20:09:21 5: Msg 129-129:199.130.5*255(110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE59801) is of type PublicKey
2017.11.27 20:09:21 5: OBIS (Stromzaehler) - Msg-Parse: !
2017.11.27 20:09:21 1: RMDIR: ./restoreDir/2017-11-21
2017.11.27 20:09:49 5: SW:
2017.11.27 20:09:49 4: Wrote
2017.11.27 20:09:49 5: OBIS (Stromzaehler) - Internal timer set to 2017-11-27 20:10:19
2017.11.27 20:09:52 5: SML-Parse 1B1B1B1B010101017607001017D4ABD7620062007263010176010107001009528E9D0B06454D480104C56CB8C3010163E464007607001017D4ABD8620062007263070177010B06454D480104C56CB8C3070100620AFFFF726201650952FA637A77078181C78203FF0101010104454D480177070100000009FF010101010B06454D480104C56CB8C30177070100010800FF6401018201621E52FF56000475C24A0177070100020800FF6401018201621E52FF560013699AB50177070100010801FF0101621E52FF56000475C24A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000015AC0177078181C78205FF01726201650952FA6301018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101633BAB007607001017D4ABDB6200620072630201710163659700001B1B1B1B1A010F1E
2017.11.27 20:09:52 5: OBIS: Full message-> 1B1B1B1B010101017607001017D4ABD7620062007263010176010107001009528E9D0B06454D480104C56CB8C3010163E464007607001017D4ABD8620062007263070177010B06454D480104C56CB8C3070100620AFFFF726201650952FA637A77078181C78203FF0101010104454D480177070100000009FF010101010B06454D480104C56CB8C30177070100010800FF6401018201621E52FF56000475C24A0177070100020800FF6401018201621E52FF560013699AB50177070100010801FF0101621E52FF56000475C24A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000015AC0177078181C78205FF01726201650952FA6301018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101633BAB007607001017D4ABDB6200620072630201710163659700001B1B1B1B1A010F1E
2017.11.27 20:09:52 5: OBIS: Telegram=1B1B1B1B010101017607001017D4ABD7620062007263010176010107001009528E9D0B06454D480104C56CB8C3010163E464007607001017D4ABD8620062007263070177010B06454D480104C56CB8C3070100620AFFFF726201650952FA637A77078181C78203FF0101010104454D480177070100000009FF010101010B06454D480104C56CB8C30177070100010800FF6401018201621E52FF56000475C24A0177070100020800FF6401018201621E52FF560013699AB50177070100010801FF0101621E52FF56000475C24A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000015AC0177078181C78205FF01726201650952FA6301018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101633BAB007607001017D4ABDB6200620072630201710163659700001B1B1B1B1A010F1E
2017.11.27 20:09:52 5: OBIS: Telegram=0177070100000009FF010101010B06454D480104C56CB8C30177070100010800FF6401018201621E52FF56000475C24A0177070100020800FF6401018201621E52FF560013699AB50177070100010801FF0101621E52FF56000475C24A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000015AC0177078181C78205FF01726201650952FA6301018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101633BAB007607001017D4ABDB6200620072630201710163659700001B1B1B1B1A010F1E
2017.11.27 20:09:52 5: OBIS: Telegram=0177070100010800FF6401018201621E52FF56000475C24A0177070100020800FF6401018201621E52FF560013699AB50177070100010801FF0101621E52FF56000475C24A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000015AC0177078181C78205FF01726201650952FA6301018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101633BAB007607001017D4ABDB6200620072630201710163659700001B1B1B1B1A010F1E
2017.11.27 20:09:52 5: OBIS: Telegram=0177070100020800FF6401018201621E52FF560013699AB50177070100010801FF0101621E52FF56000475C24A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000015AC0177078181C78205FF01726201650952FA6301018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101633BAB007607001017D4ABDB6200620072630201710163659700001B1B1B1B1A010F1E
2017.11.27 20:09:52 5: OBIS: Telegram=0177070100010801FF0101621E52FF56000475C24A0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000015AC0177078181C78205FF01726201650952FA6301018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101633BAB007607001017D4ABDB6200620072630201710163659700001B1B1B1B1A010F1E
2017.11.27 20:09:52 5: OBIS: Telegram=0177070100020801FF0101621E52FF560013699AB50177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000015AC0177078181C78205FF01726201650952FA6301018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101633BAB007607001017D4ABDB6200620072630201710163659700001B1B1B1B1A010F1E
2017.11.27 20:09:52 5: OBIS: Telegram=0177070100010802FF0101621E52FF5600000000000177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000015AC0177078181C78205FF01726201650952FA6301018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101633BAB007607001017D4ABDB6200620072630201710163659700001B1B1B1B1A010F1E
2017.11.27 20:09:52 5: OBIS: Telegram=0177070100020802FF0101621E52FF5600000000000177070100100700FF0101621B52FF55000015AC0177078181C78205FF01726201650952FA6301018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101633BAB007607001017D4ABDB6200620072630201710163659700001B1B1B1B1A010F1E
2017.11.27 20:09:52 5: OBIS: Telegram=0177070100100700FF0101621B52FF55000015AC0177078181C78205FF01726201650952FA6301018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101633BAB007607001017D4ABDB6200620072630201710163659700001B1B1B1B1A010F1E
2017.11.27 20:09:52 5: OBIS: Telegram=0177078181C78205FF01726201650952FA6301018302110CDE3D9852AA33FCB8C1B20838F6452DEA81C2F1B53196AD19E2DA210C1E20E1DA6AB201399CE35131AC3D07BBE598010101633BAB007607001017D4ABDB6200620072630201710163659700001B1B1B1B1A010F1E
2017.11.27 20:09:52 4: MSG IS:
/EMH\06454D480104C56CB8C3
129-129:199.130.3*255(EMH)
1-0:0.0.9*255(06454D480104C56CB8C3)
1-0:1.8.0*255(>7482631.4*Wh)
1-0:2.8.0*255(>32568798.9*Wh)
Ich hoffe dass das weiterhilft.
Andreas
kann ich alternativ das Errorlogging dieser Readingsgroup deaktivieren?
Verbose=0 habe ich schon, aber das Log-File wird immer noch zugemüllt.
Hier noch weitere Hinweise zur Lösung meines Problems:
In der Readingsgroup Zeile Stromzaehler:<Stromrichtung:>,dir_total_consumption ist der "Wert" dir_total_consumption Text und keine Zahl, nämlich Bezug.
Erwartet die Readingsgroup hier numerische Werte?
Was muss ich machen, damit hier Text angenommen wird? Der Text Bezug wird in der Readingsgroup nicht umformatiert, deshalb ist die Fehlermeldung "Bezug" isn't numeric in division etwas seltsam.
Hallo an alle,
das Problem habe ich nach nunmehr einem Jahr immer noch nicht gelöst. Deshalb nochmals Frage in die Runde: Hat jemand eine Idee?
Gruss Andy
Ich verstehe das nicht:
attr Energiewewerte_Strom_Gas eventMap in:Bezug out:Einspeisung
Wofür ist es gedacht?
Hallo amenomade,
Das sind die Werte, die der 2 Wege Stromzähler u.a. liefert. Vom Zähler kommt in oder out, was ich umsetze in Bezug oder Einspeisung in der Readingsgroup.
Nein, Stromzaehler liefern nicht "in" und "out" sondern schon Bezug oder Einspeisung
ZitatAttributes:
directions {">" => "Bezug", "<"=>"Einspeisung"}
READINGS:
2016-08-05 19:56:34 1.0.0.0.9.255 06-45-4D-48-01-04-C5-6C-B8-C3
2016-08-05 19:56:34 129.129.199.130.3.255 EMH
2016-08-05 19:56:34 129.129.199.130.5.255 110C-DE3D-9852-AA33-FC...
2017-11-25 16:45:53 Version EMH\06454D480104C56CB8C3
2017-11-26 16:13:04 dir_total_consumption Bezug
2017-11-26 16:13:04 dir_total_feed Bezug
2017-11-26 16:13:04 power 2477.5
2017-11-23 21:17:36 state opened
2017-11-26 16:13:04 total_consumption 7474685.8
2017-11-26 16:13:04 total_consumption_Ch1 7474685.8
2017-11-26 16:13:04 total_consumption_Ch2 0
2017-11-26 16:13:04 total_feed 32567337.2
2017-11-26 16:13:04 total_feed_Ch1 32567337.2
2017-11-26 16:13:04 total_feed_Ch2 0