Ich habe ein device hminf (HMinfo) und ein Dutzend Thermostate HM-CC-RT-DN, die wunderbar funktionieren und über eine Temperaturliste gesteuert werden.
Seit 4 Wochen stürzt mir fhem komplett ab, wenn ich den Befehl
"hminfo tempList status"
eingebe. Es steht dann auch nicht mehr in der Prozessliste mit
ps aux | grep fhem
Im Fhem.log steht dann
"Can't use an undefined value as an ARRAY reference at ./FHEM/98_HMinfo.pm line 853."
Was ich bisher gemacht habe:
- fhem und alle Module upgedatet
- einige Wochen gewartet und immer mal wieder upgedatet
- RaspberryPi runtergefahren, stromlos gemacht und wieder hochgefahren
Es hat alles nichts geholfen.
Die Notlösung, um fhem wieder in Gang zu bringen
systemctl restart fhem.service
funktioniert natürlcih, aber nur bis ich das nächste Mal den obigen Befehl in HMInfo absetze.
Erkennt einer sofort, wo das Problem liegt?
Werden weitere Inos benötigt?
Was kann ich ausprobieren?
Ich mag das nicht, wenn an meinem Fhem etwas nicht funktioniert ... :)
am we gab es updates. hat fhem die auch schon?
Zitat von: frank am 27 Mai 2020, 13:34:37
am we gab es updates. hat fhem die auch schon?
Ja, habe gerade heute morgen wieder upgedatet.
... es hat booom gemacht ...
mit "tempListG status" kann ich das bestàtigen.
allerdings startet mein fhem dann von alleine. :)
nutzt du kein systemd?
Zitat von: frank am 27 Mai 2020, 16:47:23
mit "tempListG status" kann ich das bestàtigen.
allerdings startet mein fhem dann von alleine. :)
nutzt du kein systemd?
Ne, kein systemd ... aber es geht auch nicht um einen automatischen Neustart, sondern dass ich HMInfo zuverlässig nutzen kann.
Aber dann bin ich ja auch nicht der einzige, wo da Probleme auftreten. Gibt es noch weitere und auch Lösungsideen?
Zitat von: jannis am 27 Mai 2020, 17:07:20
Aber dann bin ich ja auch nicht der einzige, wo da Probleme auftreten. Gibt es noch weitere und auch Lösungsideen?
Keiner eine Idee, wie man das Problem beheben kann?
Vor dem Beheben kommt (ua) die Analyse - also bitte list des HMInfo Devices, Log Auszug mit Verbose 5 inklusive stacktrace (https://wiki.fhem.de/wiki/Global#stacktrace) und versionen von FHEM und 98_HMinfo.pm zur Verfügung stellen; danach den Modulauthor @martinp876 drauf aufmerksam machen.
Bis dahin: hminfo tempList[G] status nicht verwenden.
Zitat von: yersinia am 28 Mai 2020, 12:45:22
Vor dem Beheben kommt (ua) die Analyse - also bitte list des HMInfo Devices, Log Auszug mit Verbose 5 inklusive stacktrace (https://wiki.fhem.de/wiki/Global#stacktrace) und versionen von FHEM und 98_HMinfo.pm zur Verfügung stellen; danach den Modulauthor @martinp876 drauf aufmerksam machen.
ok, alles zusammengesucht:
Versionen:
-----------------------------------------------------------------
Latest Revision: 22032
fhem.pl 21987 2020-05-21 10:06:19Z
98_HMinfo.pm 21999 2020-05-22 11:05:41Z martinp876
list HMinfo:
-----------------------------------------------------------------
Internals:
FUUID 5e2ca3d1-f33f-5e92-a398-977cf81252cb3360
FVERSION 98_HMinfo.pm:0.219990/2020-05-22
NAME HMinfo
NR 671
NTFY_ORDER 50-HMinfo
STATE ???
TYPE HMinfo
Version 01
helper:
weekplanListDef ./FHEM/tempList.cfg
weekplanListDir ./FHEM/
weekplanList:
BueroUndFlur
morgens_warm
Schlafzimmer_Helena
Schlafzimmer_Eltern
Wohnraum
nb:
cnt 0
Attributes:
configDir FHEM
icon jk_gateway
room Beobachtung->Thermostat,Technik->Gateways->CUL_HM
sumERROR battery:ok,sabotageError:off,powerError:ok,overload:off,overheat:off,reduced:off,motorErr:ok,error:none,uncertain:[no|yes],smoke_detect:none,cover:closed
sumStatus battery,sabotageError,powerError,motor
webCmd update:protoEvents short:rssi:peerXref:configCheck:models
Log Auszug mit Verbose 5 inklusive stacktrace
-----------------------------------------------------------------
2020.05.28 14:36:04 1: Logfile gelöscht
Can't use an undefined value as an ARRAY reference at ./FHEM/98_HMinfo.pm line 853.
[hier erfolgte kein weiterer Eintrag, sondern fhem Stürzte ab, Die nächsten Einträge in diesem Log betrafen dann den Neustart, s.u.]
Ich setze auch einmal das dazu, was fhem beim Neustart nach dem Absturz ins Logfile schreibt:
Log Auszug mit Verbose 5 inklusive stacktrace
-----------------------------------------------------------------
2020.05.28 14:36:04 1: Logfile gelöscht
Can't use an undefined value as an ARRAY reference at ./FHEM/98_HMinfo.pm line 853.
2020.05.28 14:36:36 1: PERL WARNING: "my" variable $device masks earlier declaration in same scope at ./FHEM/99_myUtils.pm line 533.
2020.05.28 14:36:36 1: Including fhem.cfg
2020.05.28 14:36:36 1: Including ./mycfg/01_System.cfg
2020.05.28 14:36:44 1: Including ./mycfg/01_Web.cfg
2020.05.28 14:36:44 3: WEB_Admin: port 8083 opened
2020.05.28 14:36:44 3: WEB: port 8084 opened
2020.05.28 14:36:44 3: WEBphone: port 8085 opened
2020.05.28 14:36:44 3: WEBtablet: port 8086 opened
2020.05.28 14:36:44 3: telnetPort: port 7072 opened
2020.05.28 14:36:44 1: Including ./mycfg/00_Config.cfg
2020.05.28 14:36:44 1: Including ./mycfg/00_Config_main.cfg
2020.05.28 14:36:44 1: Including ./mycfg/02_Zentral.cfg
2020.05.28 14:36:48 2: eventTypes: loaded 3856 events from ./log/eventTypes.txt
2020.05.28 14:36:48 1: Including ./mycfg/10_Gateways.cfg
2020.05.28 14:36:48 3: Opening myJeeLink device /dev/serial/by-id/usb-SHK_JeeLink_LaCrosse-if00-port0
2020.05.28 14:36:48 3: Setting myJeeLink serial parameters to 57600,8,N,1
2020.05.28 14:36:49 3: myJeeLink device opened
2020.05.28 14:36:50 3: myBroker: port 1883 opened
2020.05.28 14:36:50 1: Including ./mycfg/20_EG_Flur.cfg
2020.05.28 14:36:51 1: Including ./mycfg/29_Training.cfg
2020.05.28 14:36:51 1: Including ./mycfg/30_Handys.cfg
2020.05.28 14:36:51 1: Including ./mycfg/30_LaCrosse_Sensoren.cfg
2020.05.28 14:36:51 3: DG_Zh_Ts_Temperatursensor_01: I/O device is myJeeLink
2020.05.28 14:36:51 3: DG_Gb_Ts_Temperatursensor_02: I/O device is myJeeLink
2020.05.28 14:36:51 3: DG_Bu_Ts_Temperatursensor_03: I/O device is myJeeLink
2020.05.28 14:36:52 3: DG_Gz_Ts_Temperatursensor_04: I/O device is myJeeLink
2020.05.28 14:36:52 3: EG_Wz_Ts_Temperatursensor_05: I/O device is myJeeLink
2020.05.28 14:36:52 3: EG_Ef_Ts_Temperatursensor_06: I/O device is myJeeLink
2020.05.28 14:36:52 3: EG_Gw_Ts_Temperatursensor_07: I/O device is myJeeLink
2020.05.28 14:36:52 3: EG_Vr_Ts_Temperatursensor_08: I/O device is myJeeLink
2020.05.28 14:36:52 3: EG_Ku_Ts_Temperatursensor_09: I/O device is myJeeLink
2020.05.28 14:36:52 3: EG_Hw_Ts_Temperatursensor_10: I/O device is myJeeLink
2020.05.28 14:36:52 3: EG_Eb_Ts_Temperatursensor_11: I/O device is myJeeLink
2020.05.28 14:36:52 3: EG_Sz_Ts_Temperatursensor_12: I/O device is myJeeLink
2020.05.28 14:36:52 3: AB_Gm_Ts_Temperatursensor_13: I/O device is myJeeLink
2020.05.28 14:36:52 3: AB_Gr_Ts_Temperatursensor_14: I/O device is myJeeLink
2020.05.28 14:36:52 3: AB_Hr_Ts_Temperatursensor_15: I/O device is myJeeLink
2020.05.28 14:36:52 3: AB_Hv_Ts_Temperatursensor_16: I/O device is myJeeLink
2020.05.28 14:36:52 3: AB_Ws_Ts_Temperatursensor_17: I/O device is myJeeLink
2020.05.28 14:36:52 1: Including ./mycfg/30_WLAN_Steckdosen.cfg
2020.05.28 14:36:52 1: Including ./mycfg/80_CleverTanken.cfg
2020.05.28 14:36:52 1: Including ./mycfg/80_WetterProplanta.cfg
2020.05.28 14:36:52 1: Including ./mycfg/99_Tests.cfg
2020.05.28 14:36:56 1: PERL WARNING: Scalar value @args[0] better written as $args[0] at ./FHEM/95_PostMe.pm line 1018, <$fh> line 1088.
2020.05.28 14:36:56 1: stacktrace:
2020.05.28 14:36:56 1: main::__ANON__ called by ./FHEM/95_PostMe.pm (1018)
2020.05.28 14:36:56 1: (eval) called by fhem.pl (2621)
2020.05.28 14:36:56 1: (eval) called by fhem.pl (2620)
2020.05.28 14:36:56 1: main::CommandReload called by fhem.pl (2006)
2020.05.28 14:36:56 1: main::LoadModule called by fhem.pl (2063)
2020.05.28 14:36:56 1: main::CommandDefine called by fhem.pl (1250)
2020.05.28 14:36:56 1: main::AnalyzeCommand called by fhem.pl (1103)
2020.05.28 14:36:56 1: main::AnalyzeCommandChain called by fhem.pl (1388)
2020.05.28 14:36:56 1: main::CommandInclude called by fhem.pl (615)
2020.05.28 14:36:56 1: PERL WARNING: Scalar value @args[0] better written as $args[0] at ./FHEM/95_PostMe.pm line 1084, <$fh> line 1088.
2020.05.28 14:36:56 1: stacktrace:
2020.05.28 14:36:56 1: main::__ANON__ called by ./FHEM/95_PostMe.pm (1084)
2020.05.28 14:36:56 1: (eval) called by fhem.pl (2621)
2020.05.28 14:36:56 1: (eval) called by fhem.pl (2620)
2020.05.28 14:36:56 1: main::CommandReload called by fhem.pl (2006)
2020.05.28 14:36:56 1: main::LoadModule called by fhem.pl (2063)
2020.05.28 14:36:56 1: main::CommandDefine called by fhem.pl (1250)
2020.05.28 14:36:56 1: main::AnalyzeCommand called by fhem.pl (1103)
2020.05.28 14:36:56 1: main::AnalyzeCommandChain called by fhem.pl (1388)
2020.05.28 14:36:56 1: main::CommandInclude called by fhem.pl (615)
2020.05.28 14:36:56 3: Tankstelle_Bredstedt_HEM: Defined with URL http://www.clever-tanken.de/tankstelle_details/19689 and interval 600 featurelevel 6
2020.05.28 14:36:56 3: Tankstelle_Bredstedt_Star: Defined with URL http://www.clever-tanken.de/tankstelle_details/23621 and interval 600 featurelevel 6
2020.05.28 14:36:56 3: Tankstelle_Bredstedt_Shell: Defined with URL http://www.clever-tanken.de/tankstelle_details/10048 and interval 600 featurelevel 6
2020.05.28 14:36:57 3: Tankstelle_Bredstedt_CLASSIC: Defined with URL http://www.clever-tanken.de/tankstelle_details/3051 and interval 600 featurelevel 6
2020.05.28 14:36:57 3: Gezeiten_Husum: Defined with URL http://exnatura.de:9099/locations/1925.html and interval 21600 featurelevel 6
2020.05.28 14:36:57 3: Gezeiten_Husum: the attribute readingsName_NextHigh should no longer be used. Please use reading01Name syntax instead
2020.05.28 14:36:57 3: Gezeiten_Husum: For most old attributes you can specify enableControlSet and then set device upgradeAttributes to automatically modify the configuration
2020.05.28 14:36:57 3: Gezeiten_Husum: the attribute readingsName_NextLow should no longer be used. Please use reading01Name syntax instead
2020.05.28 14:36:57 3: Gezeiten_Husum: For most old attributes you can specify enableControlSet and then set device upgradeAttributes to automatically modify the configuration
2020.05.28 14:36:57 3: Gezeiten_Husum: the attribute readingsRegex_NextHigh should no longer be used. Please use reading01Regex syntax instead
2020.05.28 14:36:57 3: Gezeiten_Husum: For most old attributes you can specify enableControlSet and then set device upgradeAttributes to automatically modify the configuration
2020.05.28 14:36:57 3: Gezeiten_Husum: the attribute readingsRegex_NextLow should no longer be used. Please use reading01Regex syntax instead
2020.05.28 14:36:57 3: Gezeiten_Husum: For most old attributes you can specify enableControlSet and then set device upgradeAttributes to automatically modify the configuration
2020.05.28 14:36:57 3: Heizoelpreis: Defined with URL https://www.esyoil.com/preisausgabe.php?pr-unloading-points=1&pr-product=8&pr-payment-type=2&pr-truck-type=&pr-hose-length=&pr-app=1&pr-zip=%%PLZ%%&pr-amount=%%MENGE%%&submit= and interval 1800 featurelevel 6
2020.05.28 14:36:57 3: Heizoelpreis: the attribute reading010Expr should no longer be used. Please use reading010OExpr instead
2020.05.28 14:36:57 3: Heizoelpreis: For most old attributes you can specify enableControlSet and then set device upgradeAttributes to automatically modify the configuration
2020.05.28 14:36:57 3: Goldpreis: Defined with URL https://www.goldpreis.de/ and interval 1800 featurelevel 6
2020.05.28 14:36:57 3: Erdoelpreis: Defined with URL https://www.heizoel24.de/charts/rohoel and interval 10800 featurelevel 6
2020.05.28 14:36:57 3: httpmod_finanzen_dax: Defined with URL https://www.finanzen.net/index/dax/charttool and interval 300 featurelevel 6
2020.05.28 14:36:57 3: httpmod_finanzen_dow_jones: Defined with URL https://www.finanzen.net/index/dow_jones/charttool and interval 300 featurelevel 6
2020.05.28 14:36:57 3: httpmod_finanzen_nikkei_225: Defined with URL https://www.finanzen.net/index/nikkei_225/charttool and interval 300 featurelevel 6
2020.05.28 14:36:58 1: Including ./log/fhem.save
2020.05.28 14:36:59 3: Device DG_Bu_Tt_Thermostat_08 added to ActionDetector with 000:10 time
2020.05.28 14:36:59 3: Device DG_Bu_Tt_Thermostat_09 added to ActionDetector with 000:10 time
2020.05.28 14:36:59 3: Device DG_Gb_Tt_Thermostat_01 added to ActionDetector with 000:10 time
2020.05.28 14:36:59 3: Device DG_Gz_Tt_Thermostat_07 added to ActionDetector with 000:10 time
2020.05.28 14:36:59 3: Device DG_Zh_Tt_Thermostat_04 added to ActionDetector with 000:10 time
2020.05.28 14:36:59 3: Device DG_Zh_Tt_Thermostat_10 added to ActionDetector with 000:10 time
2020.05.28 14:36:59 3: Device EG_Eb_Tt_Thermostat_02 added to ActionDetector with 000:10 time
2020.05.28 14:36:59 3: Device EG_Ef_Tt_Thermostat_11 added to ActionDetector with 000:10 time
2020.05.28 14:36:59 3: Device EG_Hw_Tt_Thermostat_05 added to ActionDetector with 000:10 time
2020.05.28 14:37:00 3: Device EG_Sz_Tt_Thermostat_12 added to ActionDetector with 000:10 time
2020.05.28 14:37:00 3: Device EG_Wz_Tt_Thermostat_03 added to ActionDetector with 000:10 time
2020.05.28 14:37:00 3: Device EG_Wz_Tt_Thermostat_06 added to ActionDetector with 000:10 time
2020.05.28 14:37:03 1: PERL WARNING: Use of uninitialized value $model in concatenation (.) or string at ./FHEM/58_GPIO4.pm line 113.
2020.05.28 14:37:03 1: stacktrace:
2020.05.28 14:37:03 1: main::__ANON__ called by ./FHEM/58_GPIO4.pm (113)
2020.05.28 14:37:03 1: main::GPIO_GetSlave called by ./FHEM/58_GPIO4.pm (90)
2020.05.28 14:37:03 1: main::GPIO4_GetSlaves called by ./FHEM/58_GPIO4.pm (48)
2020.05.28 14:37:03 1: main::GPIO4_Notify called by fhem.pl (3789)
2020.05.28 14:37:03 1: main::CallFn called by fhem.pl (3709)
2020.05.28 14:37:03 1: main::DoTrigger called by fhem.pl (664)
2020.05.28 14:37:03 1: PERL WARNING: Use of uninitialized value $model in concatenation (.) or string at ./FHEM/58_GPIO4.pm line 114.
2020.05.28 14:37:03 1: stacktrace:
2020.05.28 14:37:03 1: main::__ANON__ called by ./FHEM/58_GPIO4.pm (114)
2020.05.28 14:37:03 1: main::GPIO_GetSlave called by ./FHEM/58_GPIO4.pm (90)
2020.05.28 14:37:03 1: main::GPIO4_GetSlaves called by ./FHEM/58_GPIO4.pm (48)
2020.05.28 14:37:03 1: main::GPIO4_Notify called by fhem.pl (3789)
2020.05.28 14:37:03 1: main::CallFn called by fhem.pl (3709)
2020.05.28 14:37:03 1: main::DoTrigger called by fhem.pl (664)
2020.05.28 14:37:03 1: PERL WARNING: Use of uninitialized value $model in concatenation (.) or string at ./FHEM/58_GPIO4.pm line 113.
2020.05.28 14:37:03 1: stacktrace:
2020.05.28 14:37:03 1: main::__ANON__ called by ./FHEM/58_GPIO4.pm (113)
2020.05.28 14:37:03 1: main::GPIO_GetSlave called by ./FHEM/58_GPIO4.pm (90)
2020.05.28 14:37:03 1: main::GPIO4_GetSlaves called by ./FHEM/58_GPIO4.pm (48)
2020.05.28 14:37:03 1: main::GPIO4_Notify called by fhem.pl (3789)
2020.05.28 14:37:03 1: main::CallFn called by fhem.pl (3709)
2020.05.28 14:37:03 1: main::DoTrigger called by fhem.pl (664)
2020.05.28 14:37:03 1: PERL WARNING: Use of uninitialized value $model in concatenation (.) or string at ./FHEM/58_GPIO4.pm line 114.
2020.05.28 14:37:03 1: stacktrace:
2020.05.28 14:37:03 1: main::__ANON__ called by ./FHEM/58_GPIO4.pm (114)
2020.05.28 14:37:03 1: main::GPIO_GetSlave called by ./FHEM/58_GPIO4.pm (90)
2020.05.28 14:37:03 1: main::GPIO4_GetSlaves called by ./FHEM/58_GPIO4.pm (48)
2020.05.28 14:37:03 1: main::GPIO4_Notify called by fhem.pl (3789)
2020.05.28 14:37:03 1: main::CallFn called by fhem.pl (3709)
2020.05.28 14:37:03 1: main::DoTrigger called by fhem.pl (664)
2020.05.28 14:37:03 1: PERL WARNING: Use of uninitialized value $model in concatenation (.) or string at ./FHEM/58_GPIO4.pm line 113.
2020.05.28 14:37:03 1: stacktrace:
2020.05.28 14:37:03 1: main::__ANON__ called by ./FHEM/58_GPIO4.pm (113)
2020.05.28 14:37:03 1: main::GPIO_GetSlave called by ./FHEM/58_GPIO4.pm (90)
2020.05.28 14:37:03 1: main::GPIO4_GetSlaves called by ./FHEM/58_GPIO4.pm (48)
2020.05.28 14:37:03 1: main::GPIO4_Notify called by fhem.pl (3789)
2020.05.28 14:37:03 1: main::CallFn called by fhem.pl (3709)
2020.05.28 14:37:03 1: main::DoTrigger called by fhem.pl (664)
2020.05.28 14:37:03 1: PERL WARNING: Use of uninitialized value $model in concatenation (.) or string at ./FHEM/58_GPIO4.pm line 114.
2020.05.28 14:37:03 1: stacktrace:
2020.05.28 14:37:03 1: main::__ANON__ called by ./FHEM/58_GPIO4.pm (114)
2020.05.28 14:37:03 1: main::GPIO_GetSlave called by ./FHEM/58_GPIO4.pm (90)
2020.05.28 14:37:03 1: main::GPIO4_GetSlaves called by ./FHEM/58_GPIO4.pm (48)
2020.05.28 14:37:03 1: main::GPIO4_Notify called by fhem.pl (3789)
2020.05.28 14:37:03 1: main::CallFn called by fhem.pl (3709)
2020.05.28 14:37:03 1: main::DoTrigger called by fhem.pl (664)
2020.05.28 14:37:03 2: autocreate: define GPIO4__476000000000 GPIO4 00-476000000000
2020.05.28 14:37:03 1: define GPIO4__476000000000 GPIO4 00-476000000000: GPIO4: device family 00 not supported
2020.05.28 14:37:03 1: ERROR: GPIO4: device family 00 not supported
2020.05.28 14:37:03 3: ESPEasy espBridge: Bridge v2.18 port [TCP:IPV4:8383] opened.
2020.05.28 14:37:03 5: Installer (fhemInstaller) - Notify: $VAR1 = [
'INITIALIZED',
'UNDEFINED GPIO4__476000000000 GPIO4 00-476000000000',
'UNDEFINED GPIO4__c76000000000 GPIO4 00-c76000000000',
'UNDEFINED GPIO4__276000000000 GPIO4 00-276000000000'
];
echo n | TEST=$(which cpanm) || echo "sh: command not found: cpanm"; which cpanm >/dev/null 2>&1 && sh -c "LC_ALL=C sudo -H -n $(which cpanm) --version 2>&1" 2>&1
2020.05.28 14:37:53 5: Installer (fhemInstaller) - Notify: $VAR1 = [
'state: command \'getCpanVersion\' in progress'
];
2020.05.28 14:37:53 4: Installer (fhemInstaller) - execute command asynchronously (PID= 3003)
2020.05.28 14:37:53 4: Installer (fhemInstaller) - control passed back to main loop.
2020.05.28 14:37:53 1: usb create starting
cpanm (App::cpanminus) version 1.7042 (/usr/bin/cpanm)
perl version 5.024001 (/usr/bin/perl)
%Config:
archname=arm-linux-gnueabihf-thread-multi-64int
installsitelib=/usr/local/share/perl/5.24.1
installsitebin=/usr/local/bin
installman1dir=/usr/share/man/man1
installman3dir=/usr/share/man/man3
sitearchexp=/usr/local/lib/arm-linux-gnueabihf/perl/5.24.1
sitelibexp=/usr/local/share/perl/5.24.1
vendorarch=/usr/lib/arm-linux-gnueabihf/perl5/5.24
vendorlibexp=/usr/share/perl5
archlibexp=/usr/lib/arm-linux-gnueabihf/perl/5.24
privlibexp=/usr/share/perl/5.24
%ENV:
@INC:
FatPacked::29703080=HASH(0x1c53ba8)
/etc/perl
/usr/local/lib/arm-linux-gnueabihf/perl/5.24.1
/usr/local/share/perl/5.24.1
/usr/lib/arm-linux-gnueabihf/perl5/5.24
/usr/share/perl5
/usr/lib/arm-linux-gnueabihf/perl/5.24
/usr/share/perl/5.24
/usr/local/lib/site_perl
/usr/lib/arm-linux-gnueabihf/perl-base
2020.05.28 14:37:54 3: Probing ZWDongle device /dev/serial1
2020.05.28 14:37:54 3: Probing CUL device /dev/ttyAMA0
2020.05.28 14:37:54 3: Probing TCM_ESP3 device /dev/ttyAMA0
2020.05.28 14:37:54 3: Probing ZWDongle device /dev/ttyAMA0
2020.05.28 14:37:54 3: Probing SIGNALDuino device /dev/ttyAMA0
2020.05.28 14:37:54 3: Probing MYSENSORS device /dev/ttyAMA0
2020.05.28 14:37:55 3: Probing ArduCounter device /dev/ttyAMA0
2020.05.28 14:37:55 3: Probing ElsnerWS device /dev/ttyAMA0
2020.05.28 14:37:56 3: Probing FRM device /dev/ttyAMA0
2020.05.28 14:38:01 1: usb create end
2020.05.28 14:38:01 3: Opening myHmUART device /dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_DA3RXUFM-if00-port0
2020.05.28 14:38:01 3: Setting myHmUART serial parameters to 115200,8,N,1
2020.05.28 14:38:01 3: myHmUART device opened
2020.05.28 14:38:01 0: Featurelevel: 6
2020.05.28 14:38:01 0: Server started with 297 defined entities (fhem.pl:22041/2020-05-27 perl:5.024001 os:linux user:fhem pid:2995)
2020.05.28 14:38:01 3: DbLog logdb - Creating Push-Handle to database mysql:database=fhem;host=127.0.0.1;port=3306 with user fhemuser
2020.05.28 14:38:01 3: DbLog logdb - Push-Handle to db mysql:database=fhem;host=127.0.0.1;port=3306 created
2020.05.28 14:38:01 3: DbLog logdb - UTF8 support enabled
2020.05.28 14:38:01 3: telnetForBlockingFn_1590669481: port 44015 opened
2020.05.28 14:38:02 3: Opening myJeeLink device /dev/serial/by-id/usb-SHK_JeeLink_LaCrosse-if00-port0
2020.05.28 14:38:02 3: Setting myJeeLink serial parameters to 57600,8,N,1
2020.05.28 14:38:07 3: myJeeLink device opened
2020.05.28 14:38:07 3: DbRep logdbRep - Connectiontest to database mysql:database=fhem;host=127.0.0.1;port=3306 with user fhemuser
2020.05.28 14:38:07 4: Installer (fhemInstaller) - got result from asynchronous parsing.
2020.05.28 14:38:07 4: Installer (fhemInstaller) - asynchronous finished.
2020.05.28 14:38:07 4: Installer (fhemInstaller) - clean Subprocess
2020.05.28 14:38:07 4: Installer (fhemInstaller) - JSON: {"versions":{"cpanoutdated":0,"INC":["/etc/perl","/usr/local/lib/arm-linux-gnueabihf/perl/5.24.1","/usr/local/share/perl/5.24.1","/usr/lib/arm-linux-gnueabihf/perl5/5.24","/usr/share/perl5","/usr/lib/arm-linux-gnueabihf/perl/5.24","/usr/share/perl/5.24","/usr/local/lib/site_perl","/usr/lib/arm-linux-gnueabihf/perl-base"],"perl":"5.024001","Config":{"installsitebin":"/usr/local/bin","privlibexp":"/usr/share/perl/5.24","vendorarch":"/usr/lib/arm-linux-gnueabihf/perl5/5.24","installsitelib":"/usr/local/share/perl/5.24.1","vendorlibexp":"/usr/share/perl5","sitelibexp":"/usr/local/share/perl/5.24.1","archname":"arm-linux-gnueabihf-thread-multi-64int","sitearchexp":"/usr/local/lib/arm-linux-gnueabihf/perl/5.24.1","archlibexp":"/usr/lib/arm-linux-gnueabihf/perl/5.24","installman3dir":"/usr/share/man/man3","installman1dir":"/usr/share/man/man1"},"cpanminus":"1.7042"}}
2020.05.28 14:38:07 4: Installer (fhemInstaller) - Write Readings
2020.05.28 14:38:07 5: Installer (fhemInstaller) - $VAR1 = {
'versions' => {
'cpanminus' => '1.7042',
'perl' => '5.024001',
'Config' => {
'vendorlibexp' => '/usr/share/perl5',
'sitelibexp' => '/usr/local/share/perl/5.24.1',
'installsitelib' => '/usr/local/share/perl/5.24.1',
'archlibexp' => '/usr/lib/arm-linux-gnueabihf/perl/5.24',
'installman3dir' => '/usr/share/man/man3',
'installman1dir' => '/usr/share/man/man1',
'archname' => 'arm-linux-gnueabihf-thread-multi-64int',
'sitearchexp' => '/usr/local/lib/arm-linux-gnueabihf/perl/5.24.1',
'privlibexp' => '/usr/share/perl/5.24',
'vendorarch' => '/usr/lib/arm-linux-gnueabihf/perl5/5.24',
'installsitebin' => '/usr/local/bin'
},
'INC' => [
'/etc/perl',
'/usr/local/lib/arm-linux-gnueabihf/perl/5.24.1',
'/usr/local/share/perl/5.24.1',
'/usr/lib/arm-linux-gnueabihf/perl5/5.24',
'/usr/share/perl5',
'/usr/lib/arm-linux-gnueabihf/perl/5.24',
'/usr/share/perl/5.24',
'/usr/local/lib/site_perl',
'/usr/lib/arm-linux-gnueabihf/perl-base'
],
'cpanoutdated' => 0
}
};
2020.05.28 14:38:11 5: Installer (fhemInstaller) - Notify: $VAR1 = [
'state: updates available'
];
2020.05.28 14:38:11 4: Installer (fhemInstaller) - stateRequestTimer: Call Request Timer
2020.05.28 14:38:11 3: Watchdog wd_1 triggered
2020.05.28 14:38:11 3: on-for-timer requires 1 parameter
2020.05.28 14:38:12 1: FHEMWEB SSL/HTTPS error: SSL accept attempt failed (peer: 192.168.178.105)
2020.05.28 14:38:12 1: FHEMWEB SSL/HTTPS error: SSL accept attempt failed (peer: 192.168.178.105)
2020.05.28 14:38:16 3: DbRep logdbRep - WARNING - Index Report_Idx doesn't exist. Please create the index by "set logdbRep index recreate_Report_Idx" command !
2020.05.28 14:38:16 3: DbRep logdbRep - Initial data information retrieved successfully - total time used: 3.0598 seconds
2020.05.28 14:38:16 3: DbRep logdbRep - Connectiontest to db mysql:database=fhem;host=127.0.0.1;port=3306 successful
Könntest du deine Auszüge noch in code-Tags (der # Button) anstelle von Zitaten einfügen?
Interessant, bei mir crasht
set [hminfodevice] tempListG status
nicht:
default templatefile: ./TemperaturProfile/tempFile_01.cfg
default path : ./TemperaturProfile/
available templates
HM_01_Clima
HM_02_Clima
tempFile_02.cfg:HM_01_Clima
tempFile_02.cfg:HM_02_Clima
tempFile_03.cfg:HM_01_Clima
tempFile_03.cfg:HM_02_Clima
---------components-----------
passed: HM_01_Clima for HM_01_Clima
passed: HM_02_Clima for HM_02_Clima
Versionen:
Latest Revision: 22053
File Rev Last Change
fhem.pl 22041 2020-05-27 09:31:29Z rudolfkoenig
98_HMinfo.pm 21999 2020-05-22 11:05:41Z martinp876
Dein Fehler scheint sich auf ein undef in der Zeile 853 (https://svn.fhem.de/trac/browser/trunk/fhem/FHEM/98_HMinfo.pm#L851) zu beziehen.
Sind deine TempListen 'sauber' gepelfegt? Wiki-Eintrag: https://wiki.fhem.de/wiki/HomeMatic_HMInfo_TempList/Weekplan#Wochenprogramme?
zu meinem crash:
ich nutze keine templisten.
Zitat von: yersinia am 29 Mai 2020, 12:27:46
Könntest du deine Auszüge noch in code-Tags (der # Button) anstelle von Zitaten einfügen?
erledigt, s.o.
Zitat von: yersinia am 29 Mai 2020, 12:27:46
Dein Fehler scheint sich auf ein undef in der Zeile 853 (https://svn.fhem.de/trac/browser/trunk/fhem/FHEM/98_HMinfo.pm#L851) zu beziehen.
Sind deine TempListen 'sauber' gepelfegt? Wiki-Eintrag: https://wiki.fhem.de/wiki/HomeMatic_HMInfo_TempList/Weekplan#Wochenprogramme?
Die Liste funktioniert ...aber selbst ein Fehler in einer Konfigurationsdatei darf doch einem Modul nicht erlauben, fhem zum Absturz zu bringen.
Fehler werde ich beheben. So in 1h in svn.
Habt ihr keinen einzigen weekplan angelegt?
mit version 22071 crasht bei mir fhem erneut mit selbem fehlertext für zeile 853.
ich habe nie eine tempList datei selbst erstellt.
in opt/fhem kann ich auch nichts entsprechendes finden.
Zitat von: frank am 30 Mai 2020, 16:10:26
mit version 22071 crasht bei mir fhem erneut mit selbem fehlertext für zeile 853.
ich habe nie eine tempList datei selbst erstellt.
in opt/fhem kann ich auch nichts entsprechendes finden.
Bei mir ebenso nach update auf version 22071: immernoch crash mit Fehler in Zeile 853. Ich arbeite aber mit einer tempList. Da scheint der Fehler also unabhängig davon, ob man eine Temperaturliste einsetzt oder nicht, aufzutreten.
könnte ich nicht nachvollziehen. Einzige möglichkeit: die HMInfo Instanz heist nicht "hm". Das war noch ein bug - ist nun behoben.
Also
a) hat HmInfo einen anderen Namen als "hm" bei euch?
b) Klappte es nun nach dem Update (heute in SVN, morgen im Update)
Zitat von: martinp876 am 01 Juni 2020, 10:53:53
könnte ich nicht nachvollziehen.
Deswegen hatte ich Dir angeboten, darüber zu telefonieren, um Dir zu ermöglichen, an einem System den Fehler zu ananlysieren, wo er auftritt.
Zitat von: martinp876 am 01 Juni 2020, 10:53:53
könnte ich nicht nachvollziehen. Einzige möglichkeit: die HMInfo Instanz heist nicht "hm". Das war noch ein bug - ist nun behoben.
Also
a) hat HmInfo einen anderen Namen als "hm" bei euch?
b) Klappte es nun nach dem Update (heute in SVN, morgen im Update)
- zu 1. Meine HMinfo-Instanz nennt sich "HMinfo".
- zu 2. Habe die Version aus dem SVN in meinen FHEM-Modul-Ordner kopiert und neu gestartet. Ergebnis bei "set HMinfo tempList status" keine Änderung, FHEM crasht immer noch mit der selben Meldung.
1) ein "list HMinfo" sollte unter "helper->weekplanList" eine Liste der Profile enthalten. Ist das so? ggf. posten
2) Die Abfrage prüft beides: auf das Vorhanden sein des Plans und dessen Typ.
3)Das nachstehende Komamndo solle "ARRAY" zurückliefern
{return ref($defs{HMinfo}{helper}{weekplanList})}
4)Das nachfolgende Kommando posten und dann das List noch einmal prüfen - auch das Array.
{HMinfo_listOfTempTemplates()}
Zitat von: martinp876 am 01 Juni 2020, 16:36:04
1) ein "list HMinfo" sollte unter "helper->weekplanList" eine Liste der Profile enthalten. Ist das so? ggf. posten
2) Die Abfrage prüft beides: auf das Vorhanden sein des Plans und dessen Typ.
3)Das nachstehende Komamndo solle "ARRAY" zurückliefern
{return ref($defs{HMinfo}{helper}{weekplanList})}
4)Das nachfolgende Kommando posten und dann das List noch einmal prüfen - auch das Array.
{HMinfo_listOfTempTemplates()}
zu 1/2: list HMinfo
Internals:
FUUID 5e2ca3d1-f33f-5e92-a398-977cf81252cb3360
FVERSION 98_HMinfo.pm:?/2020-06-01 UNSTABLE
NAME HMinfo
NR 671
NTFY_ORDER 50-HMinfo
STATE ???
TYPE HMinfo
Version 01
helper:
weekplanListDef ./FHEM/tempList.cfg
weekplanListDir ./FHEM/
weekplanList:
BueroUndFlur
morgens_warm
Schlafzimmer_Helena
Schlafzimmer_Eltern
Wohnraum
nb:
cnt 0
Attributes:
configDir FHEM
icon jk_gateway
room Beobachtung->Thermostat,Technik->Gateways->CUL_HM
sumERROR battery:ok,sabotageError:off,powerError:ok,overload:off,overheat:off,reduced:off,motorErr:ok,error:none,uncertain:[no|yes],smoke_detect:none,cover:closed
sumStatus battery,sabotageError,powerError,motor
verbose 5
webCmd update:protoEvents short:rssi:peerXref:configCheck:models
zu 3: Ja, liefert das gewüsnchte zurrück:
ARRAY
zu 4: {HMinfo_listOfTempTemplates()}
liefert eine leere Seite [Korrektur:] die gleiche Seite, auf der ich beim Aufruf stand zurück.
Wiederholung 1/2 und 3: liefern das gleiche Ergebnis wie zuvor.
0. mein hminfo heisst "hminfo"
1/2.
weekplanListDef ./tempList.cfg
weekplanListDir ./
weekplanList:
3. "{return ref($defs{HMinfo}{helper}{weekplanList})}"
=> liefert eine "leere" seite
4. "{HMinfo_listOfTempTemplates()}"
liefert nichts und springt zur fhem startseite.
wiederholung von 3. und 4. liefert selbes ergebnis.
Da meine Version funktioniert (ie tempList[g] status führt _nicht_ zum crash), auch nach dem Update, schließe ich mich an - vlt gibt es auffällige unterschiede.
98_HMinfo.pm 22071 2020-05-30 05:18:20Z martinp876
Mein HMinfo Device heisst hm.
zu 1/2:
helper:
weekplanListDef ./TemperaturProfile/tempFile_01.cfg
weekplanListDir ./TemperaturProfile/
weekplanList:
HM_01_Clima
HM_02_Clima
tempFile_02.cfg:HM_01_Clima
tempFile_02.cfg:HM_02_Clima
tempFile_03.cfg:HM_01_Clima
tempFile_03.cfg:HM_02_Clima
zu 3:
{return ref($defs{HMinfo}{helper}{weekplanList})}
liefert eine leere Seite zurück, wie bei frank. Allerdings habe ich ein Log-Eintrag (global verbose ist auf 3):
2020.06.02 11:11:18 1: Error: >HMinfo< has no TYPE, but following keys: >helper<
zu 4:
{HMinfo_listOfTempTemplates()}
wie bei frank: springt zur FHEM Startseite
Zitat von: yersinia am 02 Juni 2020, 11:15:03
zu 4:
{HMinfo_listOfTempTemplates()}
wie bei frank: springt zur FHEM Startseite
Bei mir wird die selbe Seite, auf der ich vorher stand, angezeigt .... stand ich auf der Startseite, ist es natürlich die Startseite.
Zitat von: martinp876 am 30 Mai 2020, 07:07:53
Fehler werde ich beheben.
Was können wir sonst noch zur Lösung beitragen?
@frank:
3. "{return ref($defs{hminfo}{helper}{weekplanList})}"
=> hier den Namen des hmInfo eintragen. Bei dir also klein geschrieben.
Anstelle von 4 bitte einmal
{HMinfo_listOfTempTemplates();;HMinfo_tempListTmplView()}
ausführen. Wird der Fehler dann immernoch angezeigt?
hallo martin,
bei 3. kommt nun: "ARRAY"
das neue 4. bleibt beim fehler: "Can't use an undefined value as an ARRAY reference at ./FHEM/98_HMinfo.pm line 853."
ARRAY ist perfekt. So soll es sein.
Komplett unklar ist mir, warum bei euch ein "undefined" angemeckert wird wenn ich garade nachgefragt und bestätigt habe, dass der Typ "ARRAY" ist.
hier noch einmal 4 Kommandos. Bitte ausführen (einzeln) und das ergebnis posten.
Prüfen, ob ein Fehler gemeldet wird.
{ my ($n) = devspec2array("TYPE=HMinfo");;return "$n:".(defined $defs{$n}{helper}{weekplanList}?"defined":"undefined")}
{ my ($n) = devspec2array("TYPE=HMinfo");;return "$n:".ref($defs{$n}{helper}{weekplanList})}
{ my ($n) = devspec2array("TYPE=HMinfo");;return "$n:".(ref($defs{$n}{helper}{weekplanList}) eq 'ARRAY'?"arrayOK":"arrayNOK")}
{ my ($n) = devspec2array("TYPE=HMinfo");;return "$n:".join("\n",@{$defs{$n}{helper}{weekplanList}})}
1. "hminfo:defined"
2. "hminfo:ARRAY"
3. "hminfo:arrayOK"
4. "hminfo:"
auch im log keine fehlermeldungen.
meine perl version ist v24.1
ich könnte mir vorstellen, dass "nur" meine push funktion mit diesem "spezialfall" (leeres array an einer referenz) nicht umgehen kann, obwohl "eigentlich" alles ok ist.
nun, ich kann auch noch auf ein leeres Array abfragen - obwohl das eigentlich funktionieren sollte.
Ist eingecheckt
absturz erfolgreich verhindert. :)
default templatefile: ./tempList.cfg
default path : ./
files referenced but not found:
./tempList.cfg - Can't open ./tempList.cfg: No such file or directory
---------components-----------
fail : 0 for Thermostat.AZ_Climate: file: ./tempList.cfg error:Can't open ./tempList.cfg: No such file or directory
fail : none for Thermostat.Bad.OG_Climate: file: ./tempList.cfg error:Can't open ./tempList.cfg: No such file or directory
fail : none for Thermostat.Bad_Climate: file: ./tempList.cfg error:Can't open ./tempList.cfg: No such file or directory
fail : none for Thermostat.GZ_Climate: file: ./tempList.cfg error:Can't open ./tempList.cfg: No such file or directory
fail : none for Thermostat.Keller_Climate: file: ./tempList.cfg error:Can't open ./tempList.cfg: No such file or directory
fail : none for Thermostat.Kueche_Climate: file: ./tempList.cfg error:Can't open ./tempList.cfg: No such file or directory
fail : none for Thermostat.OZ_Climate: file: ./tempList.cfg error:Can't open ./tempList.cfg: No such file or directory
fail : none for Thermostat.SZ_Climate: file: ./tempList.cfg error:Can't open ./tempList.cfg: No such file or directory
fail : none for Thermostat.WZ_Climate: file: ./tempList.cfg error:Can't open ./tempList.cfg: No such file or directory
devices not using tempList templates:
=> Thermostat.Bad_Climate
=> Thermostat.Kueche_Climate
=> Thermostat.SZ_Climate
=> Thermostat.OZ_Climate
=> Thermostat.Keller_Climate
=> Thermostat.GZ_Climate
=> Thermostat.WZ_Climate
=> Thermostat.AZ_Climate
=> Thermostat.Bad.OG_Climate
Zitat von: martinp876 am 11 Juni 2020, 07:46:54
{ my ($n) = devspec2array("TYPE=HMinfo");;return "$n:".(defined $defs{$n}{helper}{weekplanList}?"defined":"undefined")}
{ my ($n) = devspec2array("TYPE=HMinfo");;return "$n:".ref($defs{$n}{helper}{weekplanList})}
{ my ($n) = devspec2array("TYPE=HMinfo");;return "$n:".(ref($defs{$n}{helper}{weekplanList}) eq 'ARRAY'?"arrayOK":"arrayNOK")}
{ my ($n) = devspec2array("TYPE=HMinfo");;return "$n:".join("\n",@{$defs{$n}{helper}{weekplanList}})}
Resultat 11-3 ist bei mir wie bei Frank
bei 4 werden die Namen für die Konfiguration aus meinem templist ausgegeben:
HMinfo:BueroUndFlur
morgens_warm
Schlafzimmer_Helena
Schlafzimmer_Eltern
Wohnraum
Zitat von: frank am 12 Juni 2020, 20:22:28
absturz erfolgreich verhindert. :)
Und ein
"HMinfo tempList status"
lässt FHEM nicht mehr abstürzen. Ergebnis:
default templatefile: ./FHEM/tempList.cfg
default path : ./FHEM/
available templates
BueroUndFlur
Schlafzimmer_Eltern
Schlafzimmer_Helena
Wohnraum
morgens_warm
---------components-----------
passed: BueroUndFlur for DG_Bu_Tt_Thermostat_08_Clima
passed: BueroUndFlur for DG_Bu_Tt_Thermostat_09_Clima
passed: BueroUndFlur for EG_Ef_Tt_Thermostat_11_Clima
passed: Schlafzimmer_Eltern for DG_Zh_Tt_Thermostat_04_Clima
passed: Schlafzimmer_Eltern for DG_Zh_Tt_Thermostat_10_Clima
passed: Schlafzimmer_Helena for DG_Gz_Tt_Thermostat_07_Clima
passed: Schlafzimmer_Helena for EG_Sz_Tt_Thermostat_12_Clima
passed: Wohnraum for EG_Wz_Tt_Thermostat_03_Clima
passed: Wohnraum for EG_Wz_Tt_Thermostat_06_Clima
passed: morgens_warm for DG_Gb_Tt_Thermostat_01_Clima
passed: morgens_warm for EG_Eb_Tt_Thermostat_02_Clima
passed: morgens_warm for EG_Hw_Tt_Thermostat_05_Clima
Ich denke, das Problem ist beseitigt, danke Martin!