WeekdayTimer Fehler nach ?Update?

Begonnen von Hackstall, 14 Dezember 2019, 18:02:26

Vorheriges Thema - Nächstes Thema

Hackstall

Hallo,

ich denke nach einem letzten Update habe ich folgende Fehlermeldung im LOG.
Kann hiermit jemand was anfangen oder wie suche ich jetzt weiter?


2019.12.14 17:57:24 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4163.
2019.12.14 17:57:24 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4163.
2019.12.14 17:57:24 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4170.
2019.12.14 17:57:24 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4170.
2019.12.14 17:57:24 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4184.
2019.12.14 17:57:24 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4184.
2019.12.14 17:57:24 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4191.
2019.12.14 17:57:24 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4191.
2019.12.14 17:57:24 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4198.
2019.12.14 17:57:24 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4198.
2019.12.14 17:57:24 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4205


Beta-User

Danke für die Meldung. Ich schau's mir an, die Warnings sollten sich unterbinden lassen....

Ein paar Dinge sind mir unklar:
Hast du nur die WDT auf verbose 4 oder noch mehr?

Kannst du von einem der WDT (hast du 6 oder ist das nur ein Auszug) ein list liefern?

Und wie sind deine Spracheinstellungen in global?
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

Hackstall

Hallo,

Sprache ist:

attr global language de


Generell bin ich mit

attr global verbose 1

unterwegs

Das ist nur eine Auszug.
Ich habe viele mehr

2019.12.15 11:41:01 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308.
2019.12.15 11:41:01 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308.
Can't use an undefined value as an ARRAY reference at ./FHEM/31_fronthemDevice.pm line 632.
2019.12.15 13:19:21 1: Including fhem.cfg
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4168.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4168.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4175.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4175.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4182.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4182.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4189.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4189.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4196.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4196.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4203.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4203.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4210.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4210.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4217.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4217.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4224.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4224.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4231.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4231.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4238.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4238.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4245.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4245.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4252.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4252.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4259.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4259.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4266.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4266.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4273.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4273.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4280.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4280.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4287.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4287.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4294.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4294.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4301.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4301.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4308.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4308.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4315.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4315.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4322.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4322.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4329.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4329.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4336.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4336.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4343.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4343.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4350.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4350.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4357.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4357.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4364.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4364.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4371.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4371.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4378.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4378.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4385.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4385.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4392.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4392.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4399.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4399.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4406.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4406.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4413.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4413.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4420.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4420.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4427.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4427.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4434.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4434.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4441.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4441.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4448.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4448.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4455.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4455.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4462.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4462.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4469.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4469.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4476.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4476.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4483.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4483.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4490.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4490.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4497.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4497.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4504.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4504.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4511.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4511.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4518.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4518.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4525.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4525.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4532.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4532.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4539.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4539.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4546.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4546.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4553.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4553.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4560.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4560.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4567.
2019.12.15 13:19:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308, <$fh> line 4567.


Beta-User

Hmm,

Bitte ein list von einem der WeekdayTimer.

(Die andere Frage war, wie viele WeekdayTimer du hast, weniger, wie oft das vorkommt...).
Wenn es mehrere sind:
Kannst du mal schauen, ob die Ausgabe von
list TYPE=WeekdayTimer LANGUAGE
weniger Devices auswirft als die Abfrage nach
list TYPE=WeekdayTimer

Wenn ja, würde mich vorrangig das list von dem/den WDT interessieren, der/die nicht aufgeführt werden.

Und bitte version vom Modul liefern.

Ansonsten weicht das von mir hier dahingehend ab, dass man via FHEMWEB das language-Attribut@global eigentlich nur in Großbuchstaben setzen kann; das sollte aber irrelevant sein, da für das Modul sowieso nach Kleinschreibung konvertiert wird. Aber ist da evtl. noch ein Leerzeichen drin?
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

Hackstall

Nein, beides liefert die gleiche Anzahl (s.u.)
aber wieso ist hier "en"

Danke Gruss Andreas



list TYPE=WeekdayTimer LANGUAGE list TYPE=WeekdayTimer

dt_uzsu_DG.Bad.FBHeizung.uzsuicon_0     en dt_uzsu_DG.Bad.FBHeizung.uzsuicon_0
wdt_uzsu_DG.Bad.FBHeizung.uzsuicon_1     en wdt_uzsu_DG.Bad.FBHeizung.uzsuicon_1
wdt_uzsu_DG.Bad.FBHeizung.uzsuicon_2     en wdt_uzsu_DG.Bad.FBHeizung.uzsuicon_2
wdt_uzsu_DG.Bad.FBHeizung.uzsuicon_3     en wdt_uzsu_DG.Bad.FBHeizung.uzsuicon_3
wdt_uzsu_DG.Bad.FBHeizung.uzsuicon_4     en wdt_uzsu_DG.Bad.FBHeizung.uzsuicon_4
wdt_uzsu_DG.Bad.FBHeizung.uzsuicon_5     en wdt_uzsu_DG.Bad.FBHeizung.uzsuicon_5
wdt_uzsu_DG.Bad.FBHeizung.uzsuicon_6     en wdt_uzsu_DG.Bad.FBHeizung.uzsuicon_6
wdt_uzsu_EG.Ez.Heizung.uzsuicon_0     en wdt_uzsu_EG.Ez.Heizung.uzsuicon_0
wdt_uzsu_EG.Ez.Heizung.uzsuicon_1     en wdt_uzsu_EG.Ez.Heizung.uzsuicon_1
wdt_uzsu_EG.Ez.Heizung.uzsuicon_2     en wdt_uzsu_EG.Ez.Heizung.uzsuicon_2
wdt_uzsu_EG.Ez.Heizung.uzsuicon_3     en wdt_uzsu_EG.Ez.Heizung.uzsuicon_3
wdt_uzsu_EG.Ez.Heizung.uzsuicon_4     en wdt_uzsu_EG.Ez.Heizung.uzsuicon_4
wdt_uzsu_EG.Ez.Heizung.uzsuicon_5     en wdt_uzsu_EG.Ez.Heizung.uzsuicon_5
wdt_uzsu_EG.Ku.Heizung.uzsuicon_0     en wdt_uzsu_EG.Ku.Heizung.uzsuicon_0
wdt_uzsu_EG.Ku.Heizung.uzsuicon_1     en wdt_uzsu_EG.Ku.Heizung.uzsuicon_1
wdt_uzsu_EG.Ku.Heizung.uzsuicon_2     en wdt_uzsu_EG.Ku.Heizung.uzsuicon_2
wdt_uzsu_EG.Ku.Heizung.uzsuicon_3     en wdt_uzsu_EG.Ku.Heizung.uzsuicon_3
wdt_uzsu_EG.Ku.Heizung.uzsuicon_4     en wdt_uzsu_EG.Ku.Heizung.uzsuicon_4
wdt_uzsu_EG.Ku.Heizung.uzsuicon_5     en wdt_uzsu_EG.Ku.Heizung.uzsuicon_5
wdt_uzsu_EG.WC.Heizung.uzsuicon_0     en wdt_uzsu_EG.WC.Heizung.uzsuicon_0
wdt_uzsu_EG.WC.Heizung.uzsuicon_1     en wdt_uzsu_EG.WC.Heizung.uzsuicon_1
wdt_uzsu_EG.WC.Heizung.uzsuicon_2     en wdt_uzsu_EG.WC.Heizung.uzsuicon_2
wdt_uzsu_EG.WC.Heizung.uzsuicon_3     en wdt_uzsu_EG.WC.Heizung.uzsuicon_3
wdt_uzsu_EG.WC.Heizung.uzsuicon_4     en wdt_uzsu_EG.WC.Heizung.uzsuicon_4
wdt_uzsu_EG.WC.Heizung.uzsuicon_5     en wdt_uzsu_EG.WC.Heizung.uzsuicon_5
wdt_uzsu_EG.Wz.Heizung.uzsuicon_0     en wdt_uzsu_EG.Wz.Heizung.uzsuicon_0
wdt_uzsu_EG.Wz.Heizung.uzsuicon_1     en wdt_uzsu_EG.Wz.Heizung.uzsuicon_1
wdt_uzsu_EG.Wz.Heizung.uzsuicon_2     en wdt_uzsu_EG.Wz.Heizung.uzsuicon_2
wdt_uzsu_EG.Wz.Heizung.uzsuicon_3     en wdt_uzsu_EG.Wz.Heizung.uzsuicon_3
wdt_uzsu_EG.Wz.Heizung.uzsuicon_4     en wdt_uzsu_EG.Wz.Heizung.uzsuicon_4
wdt_uzsu_EG.Wz.Heizung.uzsuicon_5     en wdt_uzsu_EG.Wz.Heizung.uzsuicon_5
wdt_uzsu_EG.Wz.Rollo.RechtsLinks.uzsuicon_0     en wdt_uzsu_EG.Wz.Rollo.RechtsLinks.uzsuicon_0
wdt_uzsu_EG.Wz.Rollo.RechtsLinks.uzsuicon_2     en wdt_uzsu_EG.Wz.Rollo.RechtsLinks.uzsuicon_2
wdt_uzsu_GA.Hi.Mover.Sileno.uzsuicon_0     en wdt_uzsu_GA.Hi.Mover.Sileno.uzsuicon_0
wdt_uzsu_OG.AzA.Heizung.uzsuicon_0     en wdt_uzsu_OG.AzA.Heizung.uzsuicon_0
wdt_uzsu_OG.AzA.Heizung.uzsuicon_1     en wdt_uzsu_OG.AzA.Heizung.uzsuicon_1
wdt_uzsu_OG.AzA.Heizung.uzsuicon_2     en wdt_uzsu_OG.AzA.Heizung.uzsuicon_2
wdt_uzsu_OG.AzA.Heizung.uzsuicon_3     en wdt_uzsu_OG.AzA.Heizung.uzsuicon_3
wdt_uzsu_OG.AzA.Heizung.uzsuicon_4     en wdt_uzsu_OG.AzA.Heizung.uzsuicon_4
wdt_uzsu_OG.AzA.Heizung.uzsuicon_5     en wdt_uzsu_OG.AzA.Heizung.uzsuicon_5
wdt_uzsu_OG.AzS.Heizung.uzsuicon_0     en wdt_uzsu_OG.AzS.Heizung.uzsuicon_0
wdt_uzsu_OG.AzS.Heizung.uzsuicon_1     en wdt_uzsu_OG.AzS.Heizung.uzsuicon_1
wdt_uzsu_OG.AzS.Heizung.uzsuicon_2     en wdt_uzsu_OG.AzS.Heizung.uzsuicon_2
wdt_uzsu_OG.AzS.Heizung.uzsuicon_3     en wdt_uzsu_OG.AzS.Heizung.uzsuicon_3
wdt_uzsu_OG.AzS.Heizung.uzsuicon_4     en wdt_uzsu_OG.AzS.Heizung.uzsuicon_4
wdt_uzsu_OG.AzS.Heizung.uzsuicon_5     en wdt_uzsu_OG.AzS.Heizung.uzsuicon_5
wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_0     en wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_0
wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_1     en wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_1
wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_2     en wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_2
wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_3     en wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_3
wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_4     en wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_4
wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_5     en wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_5
wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_6     en wdt_uzsu_OG.Bad.FBHeizung.uzsuicon_6
wdt_uzsu_OG.KiM.Heizung.uzsuicon_0     en wdt_uzsu_OG.KiM.Heizung.uzsuicon_0
wdt_uzsu_OG.KiM.Heizung.uzsuicon_1     en wdt_uzsu_OG.KiM.Heizung.uzsuicon_1
wdt_uzsu_OG.KiM.Heizung.uzsuicon_2     en wdt_uzsu_OG.KiM.Heizung.uzsuicon_2
wdt_uzsu_OG.KiM.Heizung.uzsuicon_3     en wdt_uzsu_OG.KiM.Heizung.uzsuicon_3
wdt_uzsu_OG.KiM.Heizung.uzsuicon_4     en wdt_uzsu_OG.KiM.Heizung.uzsuicon_4
wdt_uzsu_OG.KiM.Heizung.uzsuicon_5     en wdt_uzsu_OG.KiM.Heizung.uzsuicon_5


Beta-User

Ist version von WeekdayTimer  20698?

Wenn nein, bitte updaten.

Wenn ja,  benötige ich immer noch ein list von einem der WDT, sonst kann ich schlecht wissen, wo die "en"-Angabe herkommt, oder ich muß selbst "ins Blaue hinein" testen, was aber deutlich mehr Aufwand ist, wie wenn du mir die Infos lieferst, die für dein System gelten.
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

Hackstall

JA die Version ist 20698

Hier der list eines WDTs:

Internals:
   CFGFN     
   COMMAND   
   CONDITION 
   DEF        EG.Ku.Heizung.uzsuicon en MO,TU,WE,TH,FR,SA,SU|00:00|Auto
   DEVICE     EG.Ku.Heizung.uzsuicon
   FUUID      5df659fe-f33f-b8ba-c2b9-c581d6b35bc98d02
   GlobalDaylistSpec
   LANGUAGE   en
   NAME       wdt_uzsu_EG.Ku.Heizung.uzsuicon_0
   NR         2971
   Profil 0: Sunday 00:00:00 Auto
   Profil 1: Monday 00:00:00 Auto
   Profil 2: Tuesday 00:00:00 Auto
   Profil 3: Wednesday 00:00:00 Auto
   Profil 4: Thursday 00:00:00 Auto
   Profil 5: Friday 00:00:00 Auto
   Profil 6: Saturday 00:00:00 Auto
   STATE      Auto
   STILLDONETIME 0
   TYPE       WeekdayTimer
   READINGS:
     2019-12-15 17:06:28   currValue       Auto
     2019-12-15 17:06:23   disabled        0
     2019-12-15 17:06:28   nextUpdate      2019-12-16 00:00:00
     2019-12-15 17:06:28   nextValue       Auto
     2019-12-15 17:06:28   state           Auto
     2019-12-15 17:06:23   weekdays        MO,TU,WE,TH,FR,SA,SU|00:00|Auto
   SWITCHINGTIMES:
     MO,TU,WE,TH,FR,SA,SU|00:00|Auto
   TIMER:
     wdt_uzsu_EG.Ku.Heizung.uzsuicon_0_SetTimerOfDay:
       HASH       wdt_uzsu_EG.Ku.Heizung.uzsuicon_0
       MODIFIER   SetTimerOfDay
       NAME       wdt_uzsu_EG.Ku.Heizung.uzsuicon_0_SetTimerOfDay
       SETTIMERATMIDNIGHT 1
     wdt_uzsu_EG.Ku.Heizung.uzsuicon_0_delayed:
       HASH       wdt_uzsu_EG.Ku.Heizung.uzsuicon_0
       MODIFIER   delayed
       NAME       wdt_uzsu_EG.Ku.Heizung.uzsuicon_0_delayed
   dayNumber:
     !$we       8
     $we        7
     fr         5
     mo         1
     sa         6
     su         0
     th         4
     tu         2
     we         3
   helper:
     daysRegExp (su|mo|tu|we|th|fr|sa|\$we|\!\$we)
     daysRegExpMessage (su|mo|tu|we|th|fr|sa|$we|!$we)
     SWITCHINGTIME:
       0:
         00:00:00   Auto
       1:
         00:00:00   Auto
       2:
         00:00:00   Auto
       3:
         00:00:00   Auto
       4:
         00:00:00   Auto
       5:
         00:00:00   Auto
       6:
         00:00:00   Auto
     WEDAYS:
       0          1
       6          1
   longDays:
     de:
       Sonntag
       Montag
       Dienstag
       Mittwoch
       Donnerstag
       Freitag
       Samstag
       Wochenende
       Werktags
     en:
       Sunday
       Monday
       Tuesday
       Wednesday
       Thursday
       Friday
       Saturday
       weekend
       weekdays
     fr:
       Dimanche
       Lundi
       Mardi
       Mercredi
       Jeudi
       Vendredi
       Samedi
       weekend
       jours de la semaine
     nl:
       Zondag
       Maandag
       Dinsdag
       Woensdag
       Donderdag
       Vrijdag
       Zaterdag
       weekend
       werkdagen
   profil:
     1:
       EPOCH      1576364400
       PARA       Auto
       TIME       00:00
       WE_Override 0
       TAGE:
         0
         1
         2
         3
         4
         5
         6
   profile_IDX:
     0:
       00:00:00   1
     1:
       00:00:00   1
     2:
       00:00:00   1
     3:
       00:00:00   1
     4:
       00:00:00   1
     5:
       00:00:00   1
     6:
       00:00:00   1
   shortDays:
     de:
       so
       mo
       di
       mi
       do
       fr
       sa
       $we
       !$we
     en:
       su
       mo
       tu
       we
       th
       fr
       sa
       $we
       !$we
     fr:
       di
       lu
       ma
       me
       je
       ve
       sa
       $we
       !$we
     nl:
       zo
       ma
       di
       wo
       do
       vr
       za
       $we
       !$we
Attributes:
   DbLogExclude .*
   commandTemplate set $NAME  $EVENT
   disable    0
   group      EG.Ku.Heizung.uzsuicon
   room       9.6.5_UZSU
   switchInThePast 1

Beta-User

Moin,

kannst du mal bitte die Version im Anhang testen?

Das "en" scheint von dem Widget so übergeben zu werden, das du nutzt. Evtl. kannst du da was an den generellen Spracheinstellungen (des Widgets) drehen, wenn du das anders haben willst. Warum das Warning kommt (beim FHEM-Start, oder?), kann ich immer noch nicht so recht nachvollziehen, aber mit der Version im Anhang scheint es weg zu sein...

Interessehalber OT: Du hast viele WDT mit fast gleichem Namen. Ist es so, dass die jeweils in unterschiedlichen Fällen (alternativ) aktiv sind?
Was machen die? Temperaturlisten oder was anderes?
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

Nestor

I have the same errors on startup after update (rev. 20421 -> 20698)
2019.12.16 10:36:11 1: PERL WARNING: Use of uninitialized value $language in hash element at ./FHEM/98_WeekdayTimer.pm line 308.
2019.12.16 10:36:11 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/98_WeekdayTimer.pm line 308.
2019.12.16 10:36:11 3: [WDT_OTGW_0] no switches to send, due to possible errors.
2019.12.16 10:36:11 3: [WDT_OTGW_0] no switches to send, due to possible errors.
2019.12.16 10:36:11 3: [WDT_OTGW_2] no switches to send, due to possible errors.
2019.12.16 10:36:11 3: [WDT_OTGW_2] no switches to send, due to possible errors.
2019.12.16 10:36:11 3: [WDT_OTGW_2_DHW] no switches to send, due to possible errors.
2019.12.16 10:36:11 3: [WDT_OTGW_2_DHW] no switches to send, due to possible errors.
2019.12.16 10:36:11 3: [WDT_Vasco] no switches to send, due to possible errors.
2019.12.16 10:36:11 3: [WDT_Vasco] no switches to send, due to possible errors.



fhem> displayattr global language
EN

fhem> list TYPE=WeekdayTimer LANGUAGE
WDT_OTGW_0                         en
WDT_OTGW_2                         en
WDT_OTGW_2_DHW                     en
WDT_Vasco                          en

Beta-User

Hi, the first two are just warnings, so afaik see not too critical.

Please try the attached module version in my previous post, that should prevent the warning.

Note: WDT now will automatically obey the global language settings, so especially for english users, there's no more need to explicitly set the language in each of your WDT devices ;) .
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

Nestor

Thanks, I removed the language parameter from the definitions.

Is the warning: no switches to send, due to possible errors. also harmless?
I'm using the classic style in DEF like: OTGW_2 !$we|06:00|20.5 !$we|08:00|18 !$we|16:00|20 !$we|20:00|16 $we|06:00|20.5 $we|09:00|20 $we|21:00|16

Beta-User

Nevertheless having tested the changed code would have been helpful...

The other log entries are written by the module code at "info" level, so I'm a little irritated to see them here (if the DEF is the one from WDT_OTGW_2). At first, I had the idea, last timer has already passed when FHEM was restarted, but that seems not to be the case.

But most likely that's not critical, too. First check the list for possible problems (there should be entries in the "profil" HASH) and wait until 16:00 if the device is then set to "20". For deeper analyses, we would have to check all InternalTimer entries set by each of them. For helper code see https://forum.fhem.de/index.php/topic,104167.msg992793.html#msg992793.

(Beside that, I should review the code to prevent that kind of log entries, if there's no real cause for them).

(OT: For temperature settings, you might have a closer look at the weekprofile option, seems you already noticed that?)
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

Nestor

I'll test your attached version in a test setup.
The WeekdayTimer switched correctly at 16h so I guess the profiles are set correctly.

Attr verbose is is set to 2 for all devices.
Maybe the device verbose value is not applied during startup phase?

fhem> list TYPE=WeekdayTimer verbose
WDT_OTGW_0                         2
WDT_OTGW_2                         2
WDT_OTGW_2_DHW                     2
WDT_Vasco                          2

Beta-User

Miraculous...

So most important point (correkt functionality) is given. So far, so good.

For the rest: The log entry makes part of WeekdayTimer_SetTimer function. That is (indirectly) called after startup/$init_done (InternalTimer calls will first be executed after initialisation). So all attributes and last reading values should be set/known, including the WDT's own ones (so also verbose).

Just as a test: Could you please change Line 74 to
InternalTimer(time()+10, "WeekdayTimer_Start",$hash,0);
That should turn the WDT's some of the "latest" Devices to be initialized (increase 10 to e.g. 65 as additional test if that doesn't help)

Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

Nestor

#14
With the attached module version the "uninitialized value" warnings on startup are gone.  ;)

The "no switches to send" msg still remains after adding 10 seconds to the InternalTimer at L#74. I did some digging myself and discovered that this is caused by the attr switchInThePast (which is set to 1 in my case) which triggers WeekdayTimer_SetTimerOfDay() via WeekdayTimer_Attr() when the device is created.