Update bringt Fehler

Begonnen von RatisBow, 25 Oktober 2021, 09:11:04

Vorheriges Thema - Nächstes Thema

RatisBow

Servus,

das heutige Update pringt bei mir Fehler:


2021.10.25 08:58:11 1 : saving fhem.cfg
2021.10.25 08:58:11 1 :
2021.10.25 08:58:11 1 : New entries in the CHANGED file:
2021.10.25 08:58:11 1 :  - bugfix:  73_AutoShuttersControl: fix regex to detect position
2021.10.25 08:58:11 1 :                                     event with dot's
2021.10.25 08:58:11 1 :  - change:  10_EIB: Move to deprecated
2021.10.25 08:58:11 1 :  - bugfix:  73_AutoShuttersControl: fix ExternalTrigger,
2021.10.25 08:58:11 1 :                                     fix set rainstate by night
2021.10.25 08:58:11 1 :  - bugfix:  73_DoorBird: incrementalTim[e]out misspelling corrected
2021.10.25 08:58:11 1 :  - feature: 48_MieleAtHome: support set targetTemperature and mode
2021.10.25 08:58:11 1 : Calling /usr/bin/perl ./contrib/commandref_join.pl -noWarnings, this may take a while
2021.10.25 08:58:14 1 : *** EN attrT_ZWave_Utils: nonempty line after =begin html ignored
2021.10.25 08:58:14 1 :
2021.10.25 08:58:14 1 : update finished, "shutdown restart" is needed to activate the changes.
2021.10.25 08:58:14 1 :
2021.10.25 08:58:15 1 : fheminfo Statistics data sent to server. See Logfile (level 4) for details.
2021-10-25 08:58:15 Global global UPDATE
2021.10.25 08:58:18 1 : PERL WARNING: Argument "100 %" isn't numeric in numeric lt (<) at (eval 3544306) line 3.
2021.10.25 08:58:18 1 : stacktrace:
2021.10.25 08:58:18 1 :     main::__ANON__                      called by (eval 3544306) (3)
2021.10.25 08:58:18 1 :     (eval)                              called by ./FHEM/33_readingsGroup.pm (357)
2021.10.25 08:58:18 1 :     main::lookup2                       called by ./FHEM/33_readingsGroup.pm (1445)
2021.10.25 08:58:18 1 :     main::readingsGroup_Notify          called by fhem.pl (3895)
2021.10.25 08:58:18 1 :     main::CallFn                        called by fhem.pl (3812)
2021.10.25 08:58:18 1 :     main::DoTrigger                     called by fhem.pl (4192)
2021.10.25 08:58:18 1 :     main::Dispatch                      called by ./FHEM/00_ZWDongle.pm (983)
2021.10.25 08:58:18 1 :     main::ZWDongle_Parse                called by ./FHEM/00_ZWDongle.pm (878)
2021.10.25 08:58:18 1 :     main::ZWDongle_Read                 called by fhem.pl (3895)
2021.10.25 08:58:18 1 :     main::CallFn                        called by fhem.pl (773)
2021.10.25 09:04:07 1 : PERL WARNING: Argument "100 %" isn't numeric in numeric lt (<) at (eval 3548589) line 3.
2021.10.25 09:04:07 1 : stacktrace:
2021.10.25 09:04:07 1 :     main::__ANON__                      called by (eval 3548589) (3)
2021.10.25 09:04:07 1 :     (eval)                              called by ./FHEM/33_readingsGroup.pm (357)
2021.10.25 09:04:07 1 :     main::lookup2                       called by ./FHEM/33_readingsGroup.pm (1445)
2021.10.25 09:04:07 1 :     main::readingsGroup_Notify          called by fhem.pl (3895)
2021.10.25 09:04:07 1 :     main::CallFn                        called by fhem.pl (3812)
2021.10.25 09:04:07 1 :     main::DoTrigger                     called by fhem.pl (4192)
2021.10.25 09:04:07 1 :     main::Dispatch                      called by ./FHEM/00_ZWDongle.pm (983)
2021.10.25 09:04:07 1 :     main::ZWDongle_Parse                called by ./FHEM/00_ZWDongle.pm (878)
2021.10.25 09:04:07 1 :     main::ZWDongle_Read                 called by fhem.pl (3895)
2021.10.25 09:04:07 1 :     main::CallFn                        called by fhem.pl (773)


Ist da ein Bug oder liegt das an meinem PEARL?

Gruß
Ratisbow

Habe dafür keine andere Rubrik gefunden. Wenn nicht richtig, bitte Mitteilen oder in die richtige Verschieben.

CoolTux

Zitat von: RatisBow am 25 Oktober 2021, 09:11:04
Servus,

das heutige Update pringt bei mir Fehler:


2021.10.25 08:58:11 1 : saving fhem.cfg
2021.10.25 08:58:11 1 :
2021.10.25 08:58:11 1 : New entries in the CHANGED file:
2021.10.25 08:58:11 1 :  - bugfix:  73_AutoShuttersControl: fix regex to detect position
2021.10.25 08:58:11 1 :                                     event with dot's
2021.10.25 08:58:11 1 :  - change:  10_EIB: Move to deprecated
2021.10.25 08:58:11 1 :  - bugfix:  73_AutoShuttersControl: fix ExternalTrigger,
2021.10.25 08:58:11 1 :                                     fix set rainstate by night
2021.10.25 08:58:11 1 :  - bugfix:  73_DoorBird: incrementalTim[e]out misspelling corrected
2021.10.25 08:58:11 1 :  - feature: 48_MieleAtHome: support set targetTemperature and mode
2021.10.25 08:58:11 1 : Calling /usr/bin/perl ./contrib/commandref_join.pl -noWarnings, this may take a while
2021.10.25 08:58:14 1 : *** EN attrT_ZWave_Utils: nonempty line after =begin html ignored
2021.10.25 08:58:14 1 :
2021.10.25 08:58:14 1 : update finished, "shutdown restart" is needed to activate the changes.
2021.10.25 08:58:14 1 :
2021.10.25 08:58:15 1 : fheminfo Statistics data sent to server. See Logfile (level 4) for details.
2021-10-25 08:58:15 Global global UPDATE
2021.10.25 08:58:18 1 : PERL WARNING: Argument "100 %" isn't numeric in numeric lt (<) at (eval 3544306) line 3.
2021.10.25 08:58:18 1 : stacktrace:
2021.10.25 08:58:18 1 :     main::__ANON__                      called by (eval 3544306) (3)
2021.10.25 08:58:18 1 :     (eval)                              called by ./FHEM/33_readingsGroup.pm (357)
2021.10.25 08:58:18 1 :     main::lookup2                       called by ./FHEM/33_readingsGroup.pm (1445)
2021.10.25 08:58:18 1 :     main::readingsGroup_Notify          called by fhem.pl (3895)
2021.10.25 08:58:18 1 :     main::CallFn                        called by fhem.pl (3812)
2021.10.25 08:58:18 1 :     main::DoTrigger                     called by fhem.pl (4192)
2021.10.25 08:58:18 1 :     main::Dispatch                      called by ./FHEM/00_ZWDongle.pm (983)
2021.10.25 08:58:18 1 :     main::ZWDongle_Parse                called by ./FHEM/00_ZWDongle.pm (878)
2021.10.25 08:58:18 1 :     main::ZWDongle_Read                 called by fhem.pl (3895)
2021.10.25 08:58:18 1 :     main::CallFn                        called by fhem.pl (773)
2021.10.25 09:04:07 1 : PERL WARNING: Argument "100 %" isn't numeric in numeric lt (<) at (eval 3548589) line 3.
2021.10.25 09:04:07 1 : stacktrace:
2021.10.25 09:04:07 1 :     main::__ANON__                      called by (eval 3548589) (3)
2021.10.25 09:04:07 1 :     (eval)                              called by ./FHEM/33_readingsGroup.pm (357)
2021.10.25 09:04:07 1 :     main::lookup2                       called by ./FHEM/33_readingsGroup.pm (1445)
2021.10.25 09:04:07 1 :     main::readingsGroup_Notify          called by fhem.pl (3895)
2021.10.25 09:04:07 1 :     main::CallFn                        called by fhem.pl (3812)
2021.10.25 09:04:07 1 :     main::DoTrigger                     called by fhem.pl (4192)
2021.10.25 09:04:07 1 :     main::Dispatch                      called by ./FHEM/00_ZWDongle.pm (983)
2021.10.25 09:04:07 1 :     main::ZWDongle_Parse                called by ./FHEM/00_ZWDongle.pm (878)
2021.10.25 09:04:07 1 :     main::ZWDongle_Read                 called by fhem.pl (3895)
2021.10.25 09:04:07 1 :     main::CallFn                        called by fhem.pl (773)


Ist da ein Bug oder liegt das an meinem PEARL?

Gruß
Ratisbow

Habe dafür keine andere Rubrik gefunden. Wenn nicht richtig, bitte Mitteilen oder in die richtige Verschieben.


Das dürfte nichts mit Update zu tun haben, wahrscheinlich hast Du auf Grund des Updates zum ersten mal in das Log geschaut.
Und bitte!!! Es heißt Perl!!!

Dein eigentliches Problem ist das eine ReadingsGroup keine korrekte Auswertung machen kann da der auszuwertende Wert nicht rein nummerisch ist. Zeige mal ein list Deiner readingsGroups
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

RatisBow

Servus,

vielen Dank und Perl natürlich.
Ich habe gar keine readingsGroup in meiner Config, deshalb habe ich ja nachgefragt.

RatisBow

rudolfkoenig

ZitatIch habe gar keine readingsGroup in meiner Config  [...]
Das ist, wenn man die Log-Ausgaben sieht, schwer zu glauben.
Tut mir leid, ich finde es auch merkwuerdig, dass ich einem Computer mehr glauben schenke, als einem Menschen.

MadMax-FHEM

Zitat von: rudolfkoenig am 25 Oktober 2021, 10:03:44
Das ist, wenn man die Log-Ausgaben sieht, schwer zu glauben.
Tut mir leid, ich finde es auch merkwuerdig, dass ich einem Computer mehr glauben schenke, als einem Menschen.


list TYPE=readingsGroup


Sollte doch Klarheit bringen? ;)

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

Benni

Zitat von: RatisBow am 25 Oktober 2021, 09:44:44
Ich habe gar keine readingsGroup in meiner Config, deshalb habe ich ja nachgefragt.

Manche Module legen selbst readingsGroups an (bspw. Sonos).

Mach mal ein


list TYPE=readingsGroup


das sollte die Wahrheit ans Licht bringen ;)

gb#

RatisBow

Servus,

hatte nur nach readingGroups gesucht, da nichts gefunden. Mit dem Befehl : list TYPE=readingsGroup kam dann folgendes raus:

Activity
SpritpreiseDiesel
SpritpreiseSuperE10
SpritpreiseSuperE5
UnparsedStatus
alarmStatus
anyViews_workaround
battStatus
battVoltage
battZustand
errStatus
kalenderTermine
rgTemperatur

Also doch ein paar.

Wo soll ich jetzt schauen?

RatisBow

RatisBow

Das einzige, was ich jetzt festgestellt habe ist, wenn ich den Batteriestatus der Geräte abfrage. Dort erhalte ich Rückmeldungen mit 100 %. Dies ging scheinbar eine Zeit lang und dann wieder nicht.


Internals:
   DEF        .*:[Bb]attery
.*:[Bb]atteryLevel
   FUUID      5d89ac53-f33f-7b43-61ec-a11609d955a13ccf
   NAME       battZustand
   NR         326
   NTFY_ORDER 50-battZustand
   STATE      Initialized
   TYPE       readingsGroup
   changed    0
   mayBeVisible 1
   CONTENT:
     Activity   1

...

READINGS:
   fhem:
     lastDefChange 1
     last_update 1635147966.19306
   helper:
     DEF       
     mapping    %ALIAS
     valueFormat {return "0" if( $VALUE eq "low" );;
return "100" if( $VALUE eq "ok" );;
return "25" if( $VALUE < 2.1 );;
return "50" if( $VALUE < 2.3 );;
return "75" if( $VALUE < 2.5 );;
return "0" if( $VALUE < 25 );;
return "25" if( $VALUE < 50 );;
return "50" if( $VALUE < 75 );;
return "75" if( $VALUE < 100 );;
return "100"}
     commands:
       battery.low set %DEVICE replaceBatteryForSec 600
     positions:
       KFM_100_Sensor.battery 116:1
       ZWave_SENSOR_NOTIFICATION_09.battery 207:1
       ZWave_SENSOR_NOTIFICATION_14.battery 208:1
       ZWave_SENSOR_NOTIFICATION_15.battery 209:1
       ZWave_SENSOR_NOTIFICATION_16.battery 210:1
       ZWave_SENSOR_NOTIFICATION_19.battery 212:1
       ZWave_SENSOR_NOTIFICATION_20.battery 213:1
       ZWave_SENSOR_NOTIFICATION_21.battery 214:1
       ZWave_SENSOR_NOTIFICATION_22.battery 215:1
       ZWave_SENSOR_NOTIFICATION_23.battery 216:1
       ZWave_SENSOR_NOTIFICATION_24.battery 217:1
       ZWave_SENSOR_NOTIFICATION_25.battery 218:1
       ZWave_SENSOR_NOTIFICATION_27.battery 219:1
       ZWave_SENSOR_NOTIFICATION_28.battery 220:1
       ZWave_SENSOR_NOTIFICATION_35.battery 221:1
       ZWave_THERMOSTAT_12.battery 240:1
       ZWave_THERMOSTAT_2.battery 241:1
       ZWave_THERMOSTAT_31.battery 242:1
       ZWave_THERMOSTAT_34.battery 243:1
       ZWave_THERMOSTAT_4.battery 244:1
       ZWave_THERMOSTAT_5.battery 245:1
       ZWave_THERMOSTAT_6.battery 246:1
       ZWave_THERMOSTAT_7.battery 247:1
       ZWave_THERMOSTAT_8.battery 248:1
     valueIcon:
       battery.0  measure_battery_0@red
       battery.100 measure_battery_100@green
       battery.25 measure_battery_25@red
       battery.50 measure_battery_50@orange
       battery.75 measure_battery_75@green
       batteryLevel.0 measure_battery_0@red
       batteryLevel.100 measure_battery_100@green
       batteryLevel.25 measure_battery_25@red
       batteryLevel.50 measure_battery_50@orange
       batteryLevel.75 measure_battery_75@green
     values:
       formated:
         undef
         ARRAY(0x7aa2a50)
       orig:
         undef
         ARRAY(0x7a7c2f8)
       prefixsuffix:
         undef
         ARRAY(0x7abba48)
Attributes:
   alias      Batteriezustand
   commands   { "battery.low" => "set %DEVICE replaceBatteryForSec 600" }
   group      I.Batterie
   icon       measure_battery_100
   mapping    %ALIAS
   room       Batterie
   valueFormat {return "0" if( $VALUE eq "low" );;
return "100" if( $VALUE eq "ok" );;
return "25" if( $VALUE < 2.1 );;
return "50" if( $VALUE < 2.3 );;
return "75" if( $VALUE < 2.5 );;
return "0" if( $VALUE < 25 );;
return "25" if( $VALUE < 50 );;
return "50" if( $VALUE < 75 );;
return "75" if( $VALUE < 100 );;
return "100"}
   valueIcon  {'battery.0' => 'measure_battery_0@red'
,'battery.25' => 'measure_battery_25@red'
,'battery.50' => 'measure_battery_50@orange'
,'battery.75' => 'measure_battery_75@green'
,'battery.100' => 'measure_battery_100@green'
,'batteryLevel.0' => 'measure_battery_0@red'
,'batteryLevel.25' => 'measure_battery_25@red'
,'batteryLevel.50' => 'measure_battery_50@orange'
,'batteryLevel.75' => 'measure_battery_75@green'
,'batteryLevel.100' => 'measure_battery_100@green'}