Hallo zusammen,
mein Logfile wird extrem zugemüllt und ich komme nicht dahinter wo ich suchen soll bzw. wer der Verursacher ist.
Zitat2019.09.20 18:05:23 3: bad reading name Energy Total:.* Virtual_Energy_Total (contains not A-Za-z/\d_\.- or is too long)
2019.09.20 18:05:23 3: bad reading name Energy Total:.* Virtual_Energy_Total (contains not A-Za-z/\d_\.- or is too long)
Hat jemand einen Tip wie ich rausfinden kann woher der Eintrag herkommt.
Dann ist da noch ein Eintrag, von dem ich vermute von wo er kommt, aber den bekomme ich auch nicht weg.
Zitat2019.09.20 18:03:48 1: PERL WARNING: Argument "27.0 C (measured)" isn't numeric in numeric gt (>) at (eval 9894791) line 1.
dieser müsste von hier kommen:
ZitatInternals:
CFGFN ./FHEM/00_Utils_Fritzbox.conf
DEF FBDECT_FB_Dect_x:<%time_graph>,,energy
FBDECT_FB_Dect_x:<%power>,,power
FBDECT_FB_Dect_x:<%temp_temperature>,,temperature
FBDECT_FB_Dect_x:<%checkbox_unchecked>,,state
FUUID xxxxxxxxxxxxxxxxxx
NAME WerteFBDect
NR 86
NTFY_ORDER 50-WerteFBDect
STATE Initialized
TYPE readingsGroup
mayBeVisible 1
CONTENT:
FBDECT_FB_Dect_x 1
CONTENT2:
DEVICES:
ARRAY(0x7f80368)
ARRAY(0x4f0e5e8)
ARRAY(0x7fe9a28)
ARRAY(0x7f60758)
fhem:
lastDefChange 739
last_update 1568996288.97296
helper:
DEF
positions:
FBDECT_FB_Dect_x.energy 1:3
FBDECT_FB_Dect_x.power 2:3
FBDECT_FB_Dect_x.state 4:3
FBDECT_FB_Dect_x.temperature 3:3
recalc:
undef
undef
undef
ARRAY(0x81e88c0)
values:
formated:
undef
undef
undef
ARRAY(0x800c0e0)
orig:
undef
undef
undef
ARRAY(0x80b9c28)
prefixsuffix:
undef
undef
undef
ARRAY(0x7360790)
Attributes:
alias WerteFBDect
eventMap on:EIN off:AUS
room 5_Küche
userReadings measuredTemp { my @a = split ' ',ReadingsnNum($name,'temperature',0);$a[0] }
verbose 0
Stehe im moment auf dem Schlauch wie ich die Einträge weg bekomme.
schon mal Danke für Eure Hilfe oder Ideen
Gruß Dieter
ZitatEnergy Total:.* Virtual_Energy_Total
Wo hast Du diese Definition? In einem userReading o.ä.
Für den Perl Warning, setze stacktrace auf 1, dann sieht man mehr in der Log
ZitatFür den Perl Warning, setze stacktrace auf 1, dann sieht man mehr in der Log
Zitat2019.09.20 19:18:48 1: PERL WARNING: Argument "27.0 C (measured)" isn't numeric in numeric gt (>) at (eval 9929645) line 1.
2019.09.20 19:18:48 1: stacktrace:
2019.09.20 19:18:48 1: main::__ANON__ called by (eval 9929645) (1)
2019.09.20 19:18:48 1: (eval) called by ./FHEM/33_readingsGroup.pm (357)
2019.09.20 19:18:48 1: main::lookup2 called by ./FHEM/33_readingsGroup.pm (1395)
2019.09.20 19:18:48 1: main::readingsGroup_Notify called by fhem.pl (3753)
2019.09.20 19:18:48 1: main::CallFn called by fhem.pl (3673)
2019.09.20 19:18:48 1: main::DoTrigger called by fhem.pl (4039)
2019.09.20 19:18:48 1: main::Dispatch called by ./FHEM/00_FBAHAHTTP.pm (161)
2019.09.20 19:18:48 1: main::__ANON__ called by FHEM/HttpUtils.pm (609)
2019.09.20 19:18:48 1: main::__ANON__ called by fhem.pl (745)
Gibt es eine Möglichkeit diese Definition leicht zu finden ohne alle Devices zu öffnen ?
Hast Du wirklich so viele readingsGroups, die Fritz!DECT Thermostate enthalten?
morgen zusammen,
dies sind die Einträge in der log von heute morgen, die ich mit den Perl Warnungen in Zusammenhang bringe,
kommen aber aber immer so ca 1 minute später als die stacktrace
2019.09.21 08:38:59 1: PERL WARNING: Argument "26.5 C (measured)" isn't numeric in numeric gt (>) at (eval 10275034) line 1.
2019.09.21 08:38:59 1: stacktrace:
2019.09.21 08:38:59 1: main::__ANON__ called by (eval 10275034) (1)
2019.09.21 08:38:59 1: (eval) called by ./FHEM/33_readingsGroup.pm (357)
2019.09.21 08:38:59 1: main::lookup2 called by ./FHEM/33_readingsGroup.pm (1395)
2019.09.21 08:38:59 1: main::readingsGroup_Notify called by fhem.pl (3753)
2019.09.21 08:38:59 1: main::CallFn called by fhem.pl (3673)
2019.09.21 08:38:59 1: main::DoTrigger called by fhem.pl (4039)
2019.09.21 08:38:59 1: main::Dispatch called by ./FHEM/00_FBAHAHTTP.pm (161)
2019.09.21 08:38:59 1: main::__ANON__ called by FHEM/HttpUtils.pm (609)
2019.09.21 08:38:59 1: main::__ANON__ called by fhem.pl (745)
2019.09.21 08:38:59 1: PERL WARNING: Argument "26.5 C (measured)" isn't numeric in sprintf at ./FHEM/33_readingsGroup.pm line 1404.
2019.09.21 08:38:59 1: stacktrace:
2019.09.21 08:38:59 1: main::__ANON__ called by ./FHEM/33_readingsGroup.pm (1401)
2019.09.21 08:38:59 1: main::readingsGroup_Notify called by fhem.pl (3753)
2019.09.21 08:38:59 1: main::CallFn called by fhem.pl (3673)
2019.09.21 08:38:59 1: main::DoTrigger called by fhem.pl (4039)
2019.09.21 08:38:59 1: main::Dispatch called by ./FHEM/00_FBAHAHTTP.pm (161)
2019.09.21 08:38:59 1: main::__ANON__ called by FHEM/HttpUtils.pm (609)
2019.09.21 08:38:59 1: main::__ANON__ called by fhem.pl (745)
2019.09.21 08:39:29 3: bad reading name Energy Total:.* Virtual_Energy_Total (contains not A-Za-z/\d_\.- or is too long)
2019.09.21 08:39:30 3: bad reading name Energy Total:.* Virtual_Energy_Total (contains not A-Za-z/\d_\.- or is too long)
2019.09.21 08:39:30 3: bad reading name Energy Total:.* Virtual_Energy_Total (contains not A-Za-z/\d_\.- or is too long)
2019.09.21 08:39:31 1: PERL WARNING: Use of uninitialized value $value in string eq at fhem.pl line 4750.
2019.09.21 08:39:31 1: stacktrace:
2019.09.21 08:39:31 1: main::__ANON__ called by fhem.pl (4750)
2019.09.21 08:39:31 1: main::readingsBulkUpdateIfChanged called by ./FHEM/36_Shelly.pm (894)
2019.09.21 08:39:31 1: main::Shelly_status called by ./FHEM/36_Shelly.pm (848)
2019.09.21 08:39:31 1: main::__ANON__ called by FHEM/HttpUtils.pm (609)
2019.09.21 08:39:31 1: main::__ANON__ called by fhem.pl (745)
2019.09.21 08:40:29 3: bad reading name Energy Total:.* Virtual_Energy_Total (contains not A-Za-z/\d_\.- or is too long)
2019.09.21 08:40:30 3: bad reading name Energy Total:.* Virtual_Energy_Total (contains not A-Za-z/\d_\.- or is too long)
2019.09.21 08:40:30 3: bad reading name Energy Total:.* Virtual_Energy_Total (contains not A-Za-z/\d_\.- or is too long)
2019.09.21 08:40:31 1: PERL WARNING: Use of uninitialized value $value in string eq at fhem.pl line 4750.
2019.09.21 08:40:31 1: stacktrace:
2019.09.21 08:40:31 1: main::__ANON__ called by fhem.pl (4750)
2019.09.21 08:40:31 1: main::readingsBulkUpdateIfChanged called by ./FHEM/36_Shelly.pm (894)
2019.09.21 08:40:31 1: main::Shelly_status called by ./FHEM/36_Shelly.pm (848)
2019.09.21 08:40:31 1: main::__ANON__ called by FHEM/HttpUtils.pm (609)
2019.09.21 08:40:31 1: main::__ANON__ called by fhem.pl (745)
2019.09.21 08:41:29 3: bad reading name Energy Total:.* Virtual_Energy_Total (contains not A-Za-z/\d_\.- or is too long)
den reading "Energy Total:.* Virtual_Energy_Total" finde ich so nicht in einem Shelly-Device und "27.0 C (measured)" gibt es nur im FBDECT und da hab ich diesen Eintrag vor genommen.
userReadings measuredTemp { my @a = split ' ',ReadingsnNum($name,'temperature',0);$a[0] }
Gruß
Zitat von: Beagel am 21 September 2019, 09:09:34
userReadings measuredTemp { my @a = split ' ',ReadingsnNum($name,'temperature',0);$a[0] }
geht einfacher und mit Trigger:
userReadings measuredTemp:temperature* {ReadingsnNum($name,'temperature',0)}
btw: ReadingsNum liefert schon den numerischen Wert ohne Einheit, da gibt es nichts mehr zum zerteilen :)
#Wzut
hab das userReadings geändert, leider keine Veränderung.
Zitat von: amenomade am 20 September 2019, 21:24:03
Hast Du wirklich so viele readingsGroups, die Fritz!DECT Thermostate enthalten?
Die Meldung kommt deutlich aus einem readingsGroup Device.
Mach ein "list TYPE=readingsGroup" und untersuche.