Perl-Hilfe für Volkszaehler.pm erbeten

Begonnen von bgewehr, 23 Februar 2013, 23:07:12

Vorheriges Thema - Nächstes Thema

bgewehr

Die JSON.pm liegt bei mir in \\fritz.nas\FRITZ\fhem\lib\perl5\site_perl\5.12.2\mips-linux, wo auch die datetime.pm usw liegen.

Hilft das?
FritzBox 7590, Synology DS216+II mit Docker
Docker: FHEM mit hmlan, Homebridge, node-red, mosquitto, ems-collector für Buderus EMS mit AVR Net-IO
Gartenwasser über MQTT auf R/Pi A+
Volkszaehler.org auf R/Pi 2B mit Pi_Erweiterung
Raspberrymatic auf R/Pi 4B mit RPI-RF-MOD u. CUL868

Spiceweasel

hm.. hab FHEM 5.4
evtl. liegts daran?

bgewehr

Hab ich auch, allerdings per Update geholt auf eine 5.3 Installation. Ob das was anderes ist könnte mal ein Experte beantworten.(!)

Mich irritiert die JSON2.pm Anforderung.

Kannst Du mal die Suchergebnisse auf \\fritz.nas\...\fhem nach json aus dem Windows Explorer posten?
FritzBox 7590, Synology DS216+II mit Docker
Docker: FHEM mit hmlan, Homebridge, node-red, mosquitto, ems-collector für Buderus EMS mit AVR Net-IO
Gartenwasser über MQTT auf R/Pi A+
Volkszaehler.org auf R/Pi 2B mit Pi_Erweiterung
Raspberrymatic auf R/Pi 4B mit RPI-RF-MOD u. CUL868

Spiceweasel

Zitat von: bgewehr schrieb am So, 05 Mai 2013 22:41Mich irritiert die JSON2.pm Anforderung.

Kannst Du mal die Suchergebnisse auf \\fritz.nas\...\fhem nach json aus dem Windows Explorer posten?

da hab ich einfach im Code auf JSON2 umgestellt und die Datei auch umbenannt in JSON2.pm.

also die JSON.pm liegt in dem Pfad wo du geschrieben hast..

\\fritz.box\FRITZ.NAS\fhem\lib\perl5\site_perl\5.12.2\mips-linux

sonst nix mit JSON.pm

bgewehr

Setz bitte mal alles wieder zurück auf JSON und sag mir ob's geht! Evtl die Module nochmal neu herunterladen...
FritzBox 7590, Synology DS216+II mit Docker
Docker: FHEM mit hmlan, Homebridge, node-red, mosquitto, ems-collector für Buderus EMS mit AVR Net-IO
Gartenwasser über MQTT auf R/Pi A+
Volkszaehler.org auf R/Pi 2B mit Pi_Erweiterung
Raspberrymatic auf R/Pi 4B mit RPI-RF-MOD u. CUL868

bgewehr

Probiert doch bitte einmal die Version weiter oben in diesem post. Diese ist ohne jsom.PM erstellt worden und nutzt stattdessen einen regulären Ausdruck für die Interpretation der Antwort des Volkszählers.

Bitte lass mich wissen, ob das für dich funktioniert!
FritzBox 7590, Synology DS216+II mit Docker
Docker: FHEM mit hmlan, Homebridge, node-red, mosquitto, ems-collector für Buderus EMS mit AVR Net-IO
Gartenwasser über MQTT auf R/Pi A+
Volkszaehler.org auf R/Pi 2B mit Pi_Erweiterung
Raspberrymatic auf R/Pi 4B mit RPI-RF-MOD u. CUL868

Spiceweasel

sorry, hatte viel zu tun. Werde das hoffentlich bald testen können.

Irritiert hatte mich auch das ich bei dem define <name> VOLKSZAEHLER einen Parameterfehler bekommen habe.

Im Perl Script steht was von 7 .. wenn ich die Definition ohne z.B. average benutzt habe kam kein Fehler.
Muss das mit mal in Ruhe anschauen.

mfg
Spice

Dennis D.

Hallo,

ich bekomme mittlerweile mein Log zugemüllt mit folgenden, sich immer wiederholenden, Einträgen:


Use of uninitialized value $state in concatenation (.) or string at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 130.
Use of uninitialized value $state in concatenation (.) or string at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 133.
Use of uninitialized value $state in concatenation (.) or string at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 134.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 155.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 116.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 117.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 143.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 147.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 155.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 159.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 163.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 116.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 117.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 143.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 147.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 155.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 159.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 163.


Woran könnte das liegen?

Gruß,
Dennis
FHEM 5.5 auf RPi Rev. B 512 mit HMLAN (HM-CFG-LAN)

CUL_HM: HM-LC-Bl1PBU-FM,HM-LC-SW1-BA-PCB,HM-LC-SW4-SM,HM-LC-Sw1PBU-FM,HM-OU-LED16,HM-PB-2-WM55,HM-RC-KEY3-B,HM-SEC-KEY,HM-SEC-RHS,HM-SEC-SC,HM-SEC-SD,HM-WDS10-TH-O,HM-WDS40-TH-I

OWDevice: DS18B20,DS2438

bgewehr

Das liegt an der Verwendung einer uninitialisierten Variable, bedingt durch die im Moment nicht funktionierende Abfrage des letzten Wertes des jeweiligen Zaehlers.

Nervt, aber ist nicht schlimm. Irgendwann muss ich das mal korrigieren...
FritzBox 7590, Synology DS216+II mit Docker
Docker: FHEM mit hmlan, Homebridge, node-red, mosquitto, ems-collector für Buderus EMS mit AVR Net-IO
Gartenwasser über MQTT auf R/Pi A+
Volkszaehler.org auf R/Pi 2B mit Pi_Erweiterung
Raspberrymatic auf R/Pi 4B mit RPI-RF-MOD u. CUL868

bgewehr

OK, das war einfach...

Der Fehler mit der uninitialisierten Variable ist behoben UND last liefert wieder einen Wert.

Bitte um Rückmeldung!

Gruß, Bernd
FritzBox 7590, Synology DS216+II mit Docker
Docker: FHEM mit hmlan, Homebridge, node-red, mosquitto, ems-collector für Buderus EMS mit AVR Net-IO
Gartenwasser über MQTT auf R/Pi A+
Volkszaehler.org auf R/Pi 2B mit Pi_Erweiterung
Raspberrymatic auf R/Pi 4B mit RPI-RF-MOD u. CUL868

Dennis D.

WOW! Das ging ja flott. Habs gleich mal getestet. Meldungen sind weniger geworden, aber es kommt noch:


Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 119.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 120.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 146.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 150.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 158.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 162.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 166.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 119.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 120.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 146.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 150.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 158.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 162.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 166.


EDIT:

Nach einem Restart gibts doch mehr Error-Meldungen:


2013.05.07 20:20:39 1: Including /opt/fhem/config/40_Volkszaehler.cfg
2013.05.07 20:20:40 3: Verbrauch_Stand: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:20:40 3: Verbrauch_SML_Aktuell: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:20:40 3: Verbrauch_SML_24h: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:20:40 3: Verbrauch_S0_WZ: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:20:40 3: Verbrauch_S0_HAR: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:20:40 3: Verbrauch_S0_WM: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:20:40 3: Verbrauch_S0_TR: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:20:40 1: Including /opt/fhem/config/99_Grundriss.cfg
2013.05.07 20:20:41 1: configfile: Verbrauch_Stand: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_SML_Aktuell: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_SML_24h: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_S0_WZ: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_S0_HAR: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_S0_WM: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_S0_TR: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:20:41 1: Including /opt/fhem/logs/fhem.savestate
2013.05.07 20:20:44 0: Server started with 208 defined entities (version Fhem 5.4 (DEVELOPMENT), $Id: fhem.pl 3128 2013-04-28 12:40:28Z rudolfkoenig $, pid 16375)
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 119.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 120.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 146.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 150.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 158.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 162.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 166.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 119.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 120.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 146.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 150.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 158.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 162.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 166.
FHEM 5.5 auf RPi Rev. B 512 mit HMLAN (HM-CFG-LAN)

CUL_HM: HM-LC-Bl1PBU-FM,HM-LC-SW1-BA-PCB,HM-LC-SW4-SM,HM-LC-Sw1PBU-FM,HM-OU-LED16,HM-PB-2-WM55,HM-RC-KEY3-B,HM-SEC-KEY,HM-SEC-RHS,HM-SEC-SC,HM-SEC-SD,HM-WDS10-TH-O,HM-WDS40-TH-I

OWDevice: DS18B20,DS2438

bgewehr

Sehr interessant!

Kannst Du bitt mal die "Debug-Ausgabe" aktivieren:

Also
  #used for debugging
  #print $response->content."\n";

wechseln zu

  #used for debugging
  print $response->content."\n";

Und bitte poste mir die Ausgaben aus dem Log, bei Dir ist da was deutlich anders als bei mir.

Danach wieder zurücksetzen:
  #used for debugging
  #print $response->content."\n";

Bis gleich!
FritzBox 7590, Synology DS216+II mit Docker
Docker: FHEM mit hmlan, Homebridge, node-red, mosquitto, ems-collector für Buderus EMS mit AVR Net-IO
Gartenwasser über MQTT auf R/Pi A+
Volkszaehler.org auf R/Pi 2B mit Pi_Erweiterung
Raspberrymatic auf R/Pi 4B mit RPI-RF-MOD u. CUL868

Dennis D.

hmmm, also nach dem aktivieren vom debugging ändert sich nichts groß an der ausgabe. hier mal das komplette log vom start:


2013.05.07 20:34:57 0: Server shutdown
2013.05.07 20:35:01 1: Including /opt/fhem/fhem.cfg
2013.05.07 20:35:02 1: Including /opt/fhem/config/01_Web.cfg
2013.05.07 20:35:02 3: telnetPort: port xxxx opened
2013.05.07 20:35:03 3: WEB: port xxxx opened
2013.05.07 20:35:03 3: WEBphone: port xxxx opened
2013.05.07 20:35:03 1: Including /opt/fhem/config/02_Autocreate.cfg
2013.05.07 20:35:03 1: Including /opt/fhem/config/03_LanInterface.cfg
2013.05.07 20:35:03 3: Opening LANInterface device xxxxxxxxx:1000
2013.05.07 20:35:03 3: LANInterface device opened
2013.05.07 20:35:03 1: Including /opt/fhem/config/04_System.cfg
2013.05.07 20:35:07 1: Including /opt/fhem/config/05_Benachrichtigungen.cfg
2013.05.07 20:35:07 1: Including /opt/fhem/config/06_Fernbedienungen.cfg
2013.05.07 20:35:07 1: Including /opt/fhem/config/07_OneWire.cfg
2013.05.07 20:35:07 3: OWServer: Opening connection to OWServer localhost:4304...
2013.05.07 20:35:07 3: OWServer: Successfully connected to localhost:4304.
2013.05.07 20:35:07 1: Including /opt/fhem/config/10_Wohn_Esszimmer.cfg
2013.05.07 20:35:08 1: Including /opt/fhem/config/11_Kueche.cfg
2013.05.07 20:35:08 1: Including /opt/fhem/config/12_Hausanschlussraum.cfg
2013.05.07 20:35:08 1: Including /opt/fhem/config/13_Vorratsraum.cfg
2013.05.07 20:35:08 1: Including /opt/fhem/config/14_Flur.cfg
2013.05.07 20:35:09 1: Including /opt/fhem/config/15_Schlaf_Ankleidezimmer.cfg
2013.05.07 20:35:09 1: Including /opt/fhem/config/16_Badezimmer_WC.cfg
2013.05.07 20:35:09 1: Including /opt/fhem/config/20_Aussenanlage.cfg
2013.05.07 20:35:09 1: Including /opt/fhem/config/21_Garten.cfg
2013.05.07 20:35:09 1: Including /opt/fhem/config/22_Garage.cfg
2013.05.07 20:35:09 1: Including /opt/fhem/config/30_Jalousiesteuerung.cfg
2013.05.07 20:35:09 1: Including /opt/fhem/config/31_Lichtsteuerung_aussen.cfg
2013.05.07 20:35:09 1: Including /opt/fhem/config/33_Lueftungssteuerung.cfg
2013.05.07 20:35:09 1: Including /opt/fhem/config/39_InfoDisplay.cfg
2013.05.07 20:35:10 1: Including /opt/fhem/config/50_Alarmanlage.cfg
2013.05.07 20:35:10 1: Including /opt/fhem/config/51_Sicherheit.cfg
2013.05.07 20:35:10 1: Including /opt/fhem/config/40_Volkszaehler.cfg
2013.05.07 20:35:12 3: Verbrauch_Stand: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:35:12 3: Verbrauch_SML_Aktuell: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:35:12 3: Verbrauch_SML_24h: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:35:12 3: Verbrauch_S0_WZ: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:35:12 3: Verbrauch_S0_HAR: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:35:12 3: Verbrauch_S0_WM: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:35:12 3: Verbrauch_S0_TR: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:35:12 1: Including /opt/fhem/config/99_Grundriss.cfg
2013.05.07 20:35:12 1: configfile: Verbrauch_Stand: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_SML_Aktuell: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_SML_24h: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_S0_WZ: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_S0_HAR: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_S0_WM: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_S0_TR: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:35:12 1: Including /opt/fhem/logs/fhem.savestate
2013.05.07 20:35:14 0: Server started with 208 defined entities (version Fhem 5.4 (DEVELOPMENT), $Id: fhem.pl 3128 2013-04-28 12:40:28Z rudolfkoenig $, pid 16648)
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 119.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 120.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 146.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 150.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 158.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 162.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 166.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 119.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 120.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 146.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 150.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 158.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 162.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 166.
2013.05.07 20:35:30 3: Device AA_Briefkasten added to ActionDetector with 028:00 time
2013.05.07 20:35:30 3: Device AZ_FensterKontakt added to ActionDetector with 027:00 time
2013.05.07 20:35:31 3: Device EZ_Fensterdrehgriff added to ActionDetector with 027:00 time
2013.05.07 20:35:31 3: Device EZ_TuerKontakt added to ActionDetector with 027:00 time
2013.05.07 20:35:31 3: Device FL_DG_Rauchmelder added to ActionDetector with 099:00 time
2013.05.07 20:35:31 3: Device FL_EG_Rauchmelder added to ActionDetector with 099:00 time
2013.05.07 20:35:31 3: Device FL_TuerKontakt added to ActionDetector with 027:00 time
2013.05.07 20:35:32 3: Device HA_FensterKontakt added to ActionDetector with 028:00 time
2013.05.07 20:35:32 3: Device KU_TuerKontakt added to ActionDetector with 028:00 time
2013.05.07 20:35:32 3: Device SZ_FensterKontakt added to ActionDetector with 028:00 time
2013.05.07 20:35:33 3: Device VR_FensterKontakt added to ActionDetector with 028:00 time
2013.05.07 20:35:33 3: Device WC_FensterKontakt added to ActionDetector with 028:00 time
2013.05.07 20:35:33 3: Device WZ_Rauchmelder added to ActionDetector with 099:00 time
2013.05.07 20:35:33 3: Device WZ_TuerKontakt added to ActionDetector with 028:00 time
2013.05.07 20:35:34 1: 192.168.178.39:1000 disconnected, waiting to reappear
2013.05.07 20:35:39 1: 192.168.178.39:1000 reappeared (LANInterface)
FHEM 5.5 auf RPi Rev. B 512 mit HMLAN (HM-CFG-LAN)

CUL_HM: HM-LC-Bl1PBU-FM,HM-LC-SW1-BA-PCB,HM-LC-SW4-SM,HM-LC-Sw1PBU-FM,HM-OU-LED16,HM-PB-2-WM55,HM-RC-KEY3-B,HM-SEC-KEY,HM-SEC-RHS,HM-SEC-SC,HM-SEC-SD,HM-WDS10-TH-O,HM-WDS40-TH-I

OWDevice: DS18B20,DS2438

bgewehr

OK, anderer Versuch.

Bitte mal die nächste Version probieren, dort sind definitiv alle (relevanten) Variablen initialisiert.

Gruß, Bernd
FritzBox 7590, Synology DS216+II mit Docker
Docker: FHEM mit hmlan, Homebridge, node-red, mosquitto, ems-collector für Buderus EMS mit AVR Net-IO
Gartenwasser über MQTT auf R/Pi A+
Volkszaehler.org auf R/Pi 2B mit Pi_Erweiterung
Raspberrymatic auf R/Pi 4B mit RPI-RF-MOD u. CUL868

Dennis D.

hatte noch ein zeichen bei dem debug übersehen *g*. hier nun das richtige log:


2013.05.07 20:41:23 0: Server shutdown
{"version":"0.2","data":{"uuid":"2exxxxe2-b904-4190cbd2f3c3","from":1367949915498,"to":1367951717168,"min":[1367951715308,309550.544],"max":[1367951715308,309550.544],"average":319.572,"consumption":159.934,"rows":1077,"tuples":[[1367951715308,309550.544,1]]}}
{"version":"0.2","data":{"uuid":"44bxxxxxx2-a9f5-c1d92dd766e2","from":1367951654525,"to":1367951717168,"min":[1367951715308,565.056],"max":[1367951717168,566.9],"average":565.111,"consumption":9.833,"rows":32,"tuples":[[1367951715308,565.056,32],[1367951717168,566.9,1]]}}
{"version":"0.2","data":{"uuid":"44bxxxxxc1d92dd766e2","from":1367865315867,"to":1367951717168,"min":[1367951715308,368.268],"max":[1367951717168,566.9],"average":368.272,"consumption":8838.668,"rows":46865,"tuples":[[1367951715308,368.268,46865],[1367951717168,566.9,1]]}}
{"version":"0.2","data":{"uuid":"75fxxxxx11e2-af13-0d666d9bdff7","from":1367951416337,"to":1367951727043,"min":[1367951416337,312.78],"max":[1367951715589,314.301],"average":312.836,"consumption":27,"rows":26,"tuples":[[1367951416337,312.78,26],[1367951715589,314.301,1]]}}
{"version":"0.2","data":{"uuid":"a499exxxxx0-e90f85037218","from":1367951341663,"to":1367951720134,"min":[1367951666044,66.556],"max":[1367951341663,66.588],"average":66.584,"consumption":7,"rows":6,"tuples":[[1367951341663,66.588,6],[1367951666044,66.556,1]]}}
{"version":"0.2","data":{"uuid":"be7exxxxx11e2-9200-b78a24c1391e","average":0,"consumption":0,"rows":0}}
{"version":"0.2","data":{"uuid":"d143xxxxx0122c938c9","average":0,"consumption":0,"rows":0}}
{"version":"0.2","data":{"uuid":"44bxxxxxx1d92dd766e2","from":1367951715308,"to":1367951777583,"min":[1367951777583,536.2],"max":[1367951775588,563.553],"average":562.677,"consumption":9.734,"rows":32,"tuples":[[1367951775588,563.553,32],[1367951777583,536.2,1]]}}
{"version":"0.2","data":{"uuid":"44b92ac0-a2d6-11e2-a9f5-c1d92dd766e2","from":1367951775588,"to":1367951837064,"min":[1367951835122,546.639],"max":[1367951837064,553],"average":546.84,"consumption":9.338,"rows":31,"tuples":[[1367951835122,546.639,31],[1367951837064,553,1]]}}
{"version":"0.2","data":{"uuid":"44b9xxxxxxf5-c1d92dd766e2","from":1367951835122,"to":1367951897344,"min":[1367951895443,551.084],"max":[1367951897344,563.6],"average":551.466,"consumption":9.531,"rows":32,"tuples":[[1367951895443,551.084,32],[1367951897344,563.6,1]]}}
{"version":"0.2","data":{"uuid":"44bxxxxxxxxxxx6e2","from":1367951895443,"to":1367951956710,"min":[1367951954778,560.577],"max":[1367951956710,563.3],"average":560.663,"consumption":9.542,"rows":31,"tuples":[[1367951954778,560.577,31],[1367951956710,563.3,1]]}}
{"version":"0.2","data":{"uuid":"44b92ac0-a2d6-11e2-a9f5-c1d92dd766e2","from":1367951954778,"to":1367952017965,"min":[1367952017965,560.6],"max":[1367952016034,560.809],"average":560.803,"consumption":9.843,"rows":32,"tuples":[[1367952016034,560.809,32],[1367952017965,560.6,1]]}}
{"version":"0.2","data":{"uuid":"75f1b780-a2d6-11e2-af13-0d666d9bdff7","from":1367951715589,"to":1367952020307,"min":[1367951715589,306.94],"max":[1367952008806,313.016],"average":307.169,"consumption":26,"rows":25,"tuples":[[1367951715589,306.94,25],[1367952008806,313.016,1]]}}
{"version":"0.2","data":{"uuid":"a499xxxxxx0-e90f85037218","from":1367951666044,"to":1367951989519,"min":[1367951666044,66.751],"max":[1367951935701,66.892],"average":66.775,"consumption":6,"rows":5,"tuples":[[1367951666044,66.751,5],[1367951935701,66.892,1]]}}
{"version":"0.2","data":{"uuid":"be7xxxxx24c1391e","average":0,"consumption":0,"rows":0}}
{"version":"0.2","data":{"uuid":"d143dfxxxx-b266-f90122c938c9","average":0,"consumption":0,"rows":0}}
{"version":"0.2","data":{"uuid":"44b92xxxxxxxxxxxx2dd766e2","from":1367952016034,"to":1367952077509,"min":[1367952077509,556.8],"max":[1367952075578,558.616],"average":558.559,"consumption":9.538,"rows":31,"tuples":[[1367952075578,558.616,31],[1367952077509,556.8,1]]}}
2013.05.07 20:41:27 1: Including /opt/fhem/fhem.cfg
2013.05.07 20:41:28 1: Including /opt/fhem/config/01_Web.cfg
2013.05.07 20:41:28 3: telnetPort: port 7072 opened
2013.05.07 20:41:29 3: WEB: port 8083 opened
2013.05.07 20:41:29 3: WEBphone: port 8084 opened
2013.05.07 20:41:29 1: Including /opt/fhem/config/02_Autocreate.cfg
2013.05.07 20:41:29 1: Including /opt/fhem/config/03_LanInterface.cfg
2013.05.07 20:41:30 3: Opening LANInterface device 192.168.178.39:1000
2013.05.07 20:41:31 3: LANInterface device opened
2013.05.07 20:41:31 1: Including /opt/fhem/config/04_System.cfg
2013.05.07 20:41:33 1: Including /opt/fhem/config/05_Benachrichtigungen.cfg
2013.05.07 20:41:34 1: Including /opt/fhem/config/06_Fernbedienungen.cfg
2013.05.07 20:41:34 1: Including /opt/fhem/config/07_OneWire.cfg
2013.05.07 20:41:34 3: OWServer: Opening connection to OWServer localhost:4304...
2013.05.07 20:41:34 3: OWServer: Successfully connected to localhost:4304.
2013.05.07 20:41:34 1: Including /opt/fhem/config/10_Wohn_Esszimmer.cfg
2013.05.07 20:41:34 1: Including /opt/fhem/config/11_Kueche.cfg
2013.05.07 20:41:34 1: Including /opt/fhem/config/12_Hausanschlussraum.cfg
2013.05.07 20:41:35 1: Including /opt/fhem/config/13_Vorratsraum.cfg
2013.05.07 20:41:35 1: Including /opt/fhem/config/14_Flur.cfg
2013.05.07 20:41:35 1: Including /opt/fhem/config/15_Schlaf_Ankleidezimmer.cfg
2013.05.07 20:41:35 1: Including /opt/fhem/config/16_Badezimmer_WC.cfg
2013.05.07 20:41:36 1: Including /opt/fhem/config/20_Aussenanlage.cfg
2013.05.07 20:41:36 1: Including /opt/fhem/config/21_Garten.cfg
2013.05.07 20:41:36 1: Including /opt/fhem/config/22_Garage.cfg
2013.05.07 20:41:36 1: Including /opt/fhem/config/30_Jalousiesteuerung.cfg
2013.05.07 20:41:36 1: Including /opt/fhem/config/31_Lichtsteuerung_aussen.cfg
2013.05.07 20:41:36 1: Including /opt/fhem/config/33_Lueftungssteuerung.cfg
2013.05.07 20:41:36 1: Including /opt/fhem/config/39_InfoDisplay.cfg
2013.05.07 20:41:36 1: Including /opt/fhem/config/50_Alarmanlage.cfg
2013.05.07 20:41:37 1: Including /opt/fhem/config/51_Sicherheit.cfg
2013.05.07 20:41:37 1: Including /opt/fhem/config/40_Volkszaehler.cfg
2013.05.07 20:41:39 3: Verbrauch_Stand: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:41:39 3: Verbrauch_SML_Aktuell: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:41:39 3: Verbrauch_SML_24h: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:41:39 3: Verbrauch_S0_WZ: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:41:39 3: Verbrauch_S0_HAR: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:41:39 3: Verbrauch_S0_WM: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:41:39 3: Verbrauch_S0_TR: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:41:39 1: Including /opt/fhem/config/99_Grundriss.cfg
2013.05.07 20:41:40 1: configfile: Verbrauch_Stand: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_SML_Aktuell: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_SML_24h: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_S0_WZ: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_S0_HAR: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_S0_WM: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
Verbrauch_S0_TR: unknown attribute delay, choose one of room group comment alias eventMap userReadings loglevel:0,1,2,3,4,5,6 devStateIcon fp_Erdgeschoss fp_Obergeschoss icon sortby webCmd or use attr global userattr delay
2013.05.07 20:41:40 1: Including /opt/fhem/logs/fhem.savestate
2013.05.07 20:41:42 0: Server started with 208 defined entities (version Fhem 5.4 (DEVELOPMENT), $Id: fhem.pl 3128 2013-04-28 12:40:28Z rudolfkoenig $, pid 16771)
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 119.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 120.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 146.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 150.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 158.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 162.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 166.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 119.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 120.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 146.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 150.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 158.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 162.
Use of uninitialized value in division (/) at /opt/fhem/FHEM/23_VOLKSZAEHLER.pm line 166.
2013.05.07 20:41:57 3: Device AA_Briefkasten added to ActionDetector with 028:00 time
2013.05.07 20:41:57 3: Device AZ_FensterKontakt added to ActionDetector with 027:00 time
2013.05.07 20:41:57 3: Device EZ_Fensterdrehgriff added to ActionDetector with 027:00 time
2013.05.07 20:41:57 3: Device EZ_TuerKontakt added to ActionDetector with 027:00 time
2013.05.07 20:41:58 3: Device FL_DG_Rauchmelder added to ActionDetector with 099:00 time
2013.05.07 20:41:58 3: Device FL_EG_Rauchmelder added to ActionDetector with 099:00 time
2013.05.07 20:41:58 3: Device FL_TuerKontakt added to ActionDetector with 027:00 time
2013.05.07 20:41:58 3: Device HA_FensterKontakt added to ActionDetector with 028:00 time
2013.05.07 20:41:59 3: Device KU_TuerKontakt added to ActionDetector with 028:00 time
2013.05.07 20:41:59 3: Device SZ_FensterKontakt added to ActionDetector with 028:00 time
2013.05.07 20:41:59 3: Device VR_FensterKontakt added to ActionDetector with 028:00 time
2013.05.07 20:42:00 3: Device WC_FensterKontakt added to ActionDetector with 028:00 time
2013.05.07 20:42:00 3: Device WZ_Rauchmelder added to ActionDetector with 099:00 time
2013.05.07 20:42:00 3: Device WZ_TuerKontakt added to ActionDetector with 028:00 time


probiere aber dein update gerade mal schnell aus.
FHEM 5.5 auf RPi Rev. B 512 mit HMLAN (HM-CFG-LAN)

CUL_HM: HM-LC-Bl1PBU-FM,HM-LC-SW1-BA-PCB,HM-LC-SW4-SM,HM-LC-Sw1PBU-FM,HM-OU-LED16,HM-PB-2-WM55,HM-RC-KEY3-B,HM-SEC-KEY,HM-SEC-RHS,HM-SEC-SC,HM-SEC-SD,HM-WDS10-TH-O,HM-WDS40-TH-I

OWDevice: DS18B20,DS2438