[GELÖST] global:(INITIALIZED|REREADCFG) wird nicht ausgeführt beim FHEM Start

Begonnen von Burny4600, 03 Mai 2018, 15:16:37

Vorheriges Thema - Nächstes Thema

Burny4600

Ich habe Aufgrund von Parametern die beim Neustart initialisiert werden sollten mich dem initNotify beschäftigt.
Leider wird das initNotify nicht ausgeführt obwohl alles benötigte vorhanden ist.
list  initNotify
Internals:
   CFGFN      /media/hdd/fhem/myprogram/reset_rasp02.pm
   DEF        global:(INITIALIZED|REREADCFG).* sleep 5;
if ($init_done) {
set AB_P_ST_PPPA2.PID desired 35;
set OG2_HZR_ST_HVPA3.PID desired 5;
set OG2_HZR_ST_KVPA5.PID desired 10;
set AB_P_ST_PPPFA2D GESPERRT;
set OG2_HZR_ST_HVPFA3D GESPERRT;
set OG2_HZR_ST_KVPFA5D GESPERRT;
}
   NAME       initNotify
   NR         3651
   NTFY_ORDER 50-initNotify
   REGEXP     global:(INITIALIZED|REREADCFG).*
   STATE      active
   TYPE       notify
   READINGS:
     2018-05-03 15:05:28   state           active
Attributes:
   alias      Globale Initialisierung bei FHEM START
   group      Notify
   icon       control_reboot
   room       _System


Um dies auf Funktion zu testen habe ich das fhem.save vor dem Neustrat oder Reboot gelöscht.
Nur es wird ledier nichts davon ausgeführt und Fehler ist im LOG auch keiner zu sehen.

Eine manuelle Überprüfung von zb. set AB_P_ST_PPPA2.PID desired 35 wird ausgeführt und der Sollwert wird eingetragen.
Warum funktioniert das beim initNotify nicht?
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

nils_

steht denn was dazu im logfile ?
   CFGFN      /media/hdd/fhem/myprogram/reset_rasp02.pm


genauer: zu der datei reset_rasp02.pm ?
viele Wege in FHEM es gibt!

frank

ändere in der regex den doppelpunkt hinter global in einen normalen punkt.
FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

rudolfkoenig

global:(INITIALIZED|REREADCFG).* sleep 5; if ($init_done) { ...

.* ist ueberfluessig, und : ist in Ordnung, siehe commandref Eintrag fuer notify.
Aber: if... wird als FHEM Befehl interpretiert da es nicht in {} eingeschlossen ist (ja, es gibt ein FHEM IF):
Es muesste eine Fehlermeldung in FHEM-Log stehen, sowas wie
ZitatAfter sleep: IF: no left bracket:....
Der Rest ist auch kein perl, und entspricht mW auch nicht dem IF Syntax.

Burny4600

.* habe ich entfernt

JA: Es ist eine Fehlermeldung vorhanden
2018.05.03 17:19:12.600 2: After sleep: IF: no left bracket:  {set AB_P_ZP_S1D AUS
Unknown command }, try help.

Wie ist dann die Klammerdefinition zu setzten?
Was mir dabei aufgefallen ist das nur der erste set Befehl nicht ausgeführt wurde. Die restlichen wurden ausgeführt.

@nils_
Zitatsteht denn was dazu im logfile ?
Ja ist im LOG ersichtlich.
2018.05.03 17:23:56.212 5: Cmd: >include /media/hdd/fhem/myprogram/reset_rasp02.pm<
2018.05.03 17:23:56.215 1: Including /media/hdd/fhem/myprogram/reset_rasp02.pm
2018.05.03 17:23:56.217 5: Cmd: >define initNotify notify global:(INITIALIZED|REREADCFG) sleep 10;
if ($init_done) {
set AB_P_ZP_S1D AUS;
set AB_P_SSSSD DUNKEL;
set AB_SSP_ST_V1ST ÖFFNEN;
set AB_P_ST_V2ST SCHLIESEN;
set AB_P_ST_PPPA2.PID desired 35;
set OG2_HZR_ST_HVPA3_PID desired 5;
set OG2_HZR_ST_KVPA5_PID desired 10;
set AB_GAO_FS1_SSPPWTD TROCKEN;
set AB_P_ST_PPPFA2D,OG2_HZR_ST_HVPFA3D,OG2_HZR_ST_KVPFA5D GESPERRT;
}<
2018.05.03 17:23:56.218 5: Cmd: >attr initNotify alias Globale Initialisierung bei FHEM START<
2018.05.03 17:23:56.219 5: Cmd: >attr initNotify group Notify<
2018.05.03 17:23:56.219 5: Cmd: >attr initNotify icon control_reboot<
2018.05.03 17:23:56.220 5: Cmd: >attr initNotify room _System<

Auszug aus der fhem.cfg

........
# -----------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------

# Vordefinierte Schnittstellen
include /media/hdd/fhem/mycfg/schnittstellen_rasp02.cfg
include /media/hdd/fhem/mycfg/FHEM2FHEM/f2f_rasp02.cfg

# -----------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------

# Vordefinierte Anlagenteile
include /media/hdd/fhem/mycfg/AD_Controller/I2C_MCP23017_rasp02.cfg
include /media/hdd/fhem/mycfg/Fronius/PV_Anlagen_rasp02.cfg
include /media/hdd/fhem/mycfg/Modbus/smd630_rasp02.cfg
include /media/hdd/fhem/mycfg/Resol/resol_dl2_rasp02.cfg
include /media/hdd/fhem/mycfg/USV/usv_rasp02.cfg
include /media/hdd/fhem/mycfg/YouLess/Stromzaehler_rasp02.cfg

# -----------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------

# Vordefinierte Floorpläne
include /media/hdd/fhem/floorplan/solarthermie/SolarThermie.cfg

# -----------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------

# Vordefinierte Statistiken

# -----------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------

# Vordefinierte Programme
include /media/hdd/fhem/myprogram/energiemanagement_rasp02.pm
include /media/hdd/fhem/myprogram/fitnessraum_rasp02.pm
include /media/hdd/fhem/myprogram/heizung_rasp02.pm
include /media/hdd/fhem/myprogram/pool_rasp02.pm
include /media/hdd/fhem/myprogram/solarthermie_rasp02.pm

# -----------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------

# RESET für Programmstart
include /media/hdd/fhem/myprogram/reset_rasp02.pm

# -----------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------

# Vordefinierte Zeitpläne
include /media/hdd/fhem/zeitplaene/zeitplaene_rasp02.pm

# -----------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------
........
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

Burny4600

Ich habe den Fehler
After sleep: IF: no left bracket:....
nun beseitigt.

list initNotify
Internals:
   CFGFN      /media/hdd/fhem/myprogram/reset_rasp02.pm
   DEF        global:(INITIALIZED|REREADCFG) (sleep 2;
if ($init_done);
set AB_GAO_FS1_SSPPWTD TROCKEN;
set AB_P_SSSSD DUNKEL;
set AB_P_ST_PPPA2_PID desired 35;
set AB_P_ST_V2ST SCHLIESEN;
set AB_P_ZP_S1D AUS;
set AB_SSP_ST_V1ST ÖFFNEN;
set OG2_HZR_ST_HVPA3_PID desired 5;
set OG2_HZR_ST_KVPA5_PID desired 10;
set AB_P_ST_PPPFA2D,OG2_HZR_ST_HVPFA3D,OG2_HZR_ST_KVPFA5D GESPERRT;)
   NAME       initNotify
   NR         3651
   NTFY_ORDER 50-initNotify
   REGEXP     global:(INITIALIZED|REREADCFG)
   STATE      2018-05-03 19:36:48
   TYPE       notify
   READINGS:
     2018-05-03 19:36:48   state           active
Attributes:
   alias      Globale Initialisierung bei FHEM START
   group      Notify
   icon       control_reboot
   room       _System


Dennoch habe ich noch einen unerklärlichen Fehler warum die erste Definition nicht ausgeführt wird.
Ich kann das sleep erhöhen was ich will, aber das erste set AB_GAO_FS1_SSPPWTD TROCKEN; nach dem init wird nicht ausgeführt.


Ich habe jetzt die Lösung dazu gefunden.
Vor dem sleep und am Ende ist eine Klammer zu setzten ().
Nach dem if ($init_done) und dem letzten Eintrag ist ein ; setzten.
Jetzt funktionieren alle inits und es ist auch kein Fehler im LOG ersichtlich.

Danke für die Unterstützung.
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

amenomade

ZitatDEF        global:(INITIALIZED|REREADCFG) (sleep 10;
if ($init_done)
set AB_GAO_FS1_SSPPWTD TROCKEN;
set AB_P_SSSSD DUNKEL;
set AB_P_ST_PPPA2_PID desired 35;
set AB_P_ST_V2ST SCHLIESEN;
set AB_P_ZP_S1D AUS;
set AB_SSP_ST_V1ST ÖFFNEN;
set OG2_HZR_ST_HVPA3_PID desired 5;
set OG2_HZR_ST_KVPA5_PID desired 10;
set AB_P_ST_PPPFA2D,OG2_HZR_ST_HVPFA3D,OG2_HZR_ST_KVPFA5D GESPERRT)

Das ist immer noch auf Perl falsch. Der ganze Perl-Code muss in {} sein. Nach der Bedingung vom if müssen auch {} da sein.

EDIT: und das hat nach deinem EDIT noch weniger Sinn. Es würde mich wundern, wenn es wie gewünscht funktionieren würde...
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Burny4600

Das habe ich schon probiert. Wenn du die () vor sleep und am Schluß weglässt und die {} nach dem if ($init_done) und am Schluss definierst und unter FHEM speichern möchtest bekommst die diese Meldeung
Unrecognized character \xC3; marked by <-- HERE after P_ST_V1ST <-- HERE near column 158 at (eval 4590) line 7.
Warum er gerade diese Meldung mit einem unvollständigem Name ausspuckt ist mir zudem ein Rätsel.
Der Vollständige Name des DOIF ist AB_SSP_ST_V1ST.

Wenn ich wie vorher im List der initNotify Konfiguration beschrieben es definiere funktioniert die Initialisierung.
Ich habe das mehrfach getestet in dem ich vorher das fhem.save immer gelöscht hatte und anschließend FHEM wieder gestartet habe.
Wenn das so wie du sagst nicht funktionieren kann dann muss hier unter initNotify etwas falsch sein was ich mir aber nicht vorstellen kann.
Ich bin kein Profi aber die Lösung funktioniert bei mir ohne Fehler im LOG und mit vollständiger Initialisierung.
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

amenomade

Du musst dich aber entscheiden, ob Du bei FHEM-Befehle bleibst, oder ob Du auf Perl-Ebene wechselst.

Syntax vom FHEM-IF ist:
IF (<Bedingung>) (<FHEM-Kommandos1>) ELSE (<FHEM-Kommandos2>)
Ein FHEM-IF wird aber die Perl Variable $init_done nicht verstehen. Nach einem Event "global: INITIALIZED" oder "global: REREADCFG", ist es aber unnötig das zu testen.

Syntax vom Perl-if ist:
if (<Bedingung>) {Perl-Code} else {Perl-Code} und auf Perl muss das ganze nach dem Trigger des notify in {Klammern} sein. Da wird aber ein "sleep" auf Perl Ebene FHEM blockieren.

Beide mischen hat keinen Sinn. Empfehlung: bleib auf FHEM Ebene, ohne if.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

rudolfkoenig

Da die Behauptung "aber die Lösung funktioniert bei mir ohne Fehler im LOG" mich nicht in Ruhe gelassen hat: ein
define n notify global:INITIALIZED (sleep 2;; if ($init_done) set x y)
fuehrt nach FHEM-Start zu folgenden Fehlermeldungen im Log:
Zitatn return value: Unknown command (sleep, try help.
IF: no left bracket:  set x y)

Burny4600

@amenomade & rudolfkoenig
Ich habe heute nochmals das fhem.save gelöscht und mit verbose 5 den Start von FHEM ausgeführt und kein
Zitatno left bracket:
finden können was eigentlich nicht sein dürfte laut.
Auszug init bis FHEM vollständig gestartet wurde.
2018.05.04 08:44:41.576 5: Cmd: >include /media/hdd/fhem/myprogram/reset_rasp02.pm<
2018.05.04 08:44:41.579 1: Including /media/hdd/fhem/myprogram/reset_rasp02.pm
2018.05.04 08:44:41.582 5: Cmd: >define initNotify notify global:(INITIALIZED|REREADCFG) (sleep 2;
if ($init_done);
set AB_GAO_FS1_SSPPWTD TROCKEN;
set AB_P_SSSSD DUNKEL;
set AB_P_ST_PPPA2_PID desired 35;
set AB_P_ST_V2ST SCHLIESEN;
set AB_P_ZP_S1D AUS;
set AB_SSP_ST_V1ST ÖFFNEN;
set OG2_HZR_ST_HVPA3_PID desired 5;
set OG2_HZR_ST_KVPA5_PID desired 10;
set AB_P_ST_PPPFA2D,OG2_HZR_ST_HVPFA3D,OG2_HZR_ST_KVPFA5D GESPERRT;)<
2018.05.04 08:44:41.583 5: Cmd: >attr initNotify alias Globale Initialisierung bei FHEM START<
2018.05.04 08:44:41.584 5: Cmd: >attr initNotify group Notify<
2018.05.04 08:44:41.584 5: Cmd: >attr initNotify icon control_reboot<
2018.05.04 08:44:41.585 5: Cmd: >attr initNotify room _System<
2018.05.04 08:44:41.586 5: Cmd: >include /media/hdd/fhem/zeitplaene/zeitplaene_rasp02.pm<
2018.05.04 08:44:41.592 1: Including /media/hdd/fhem/zeitplaene/zeitplaene_rasp02.pm
2018.05.04 08:44:41.594 5: Cmd: >define NTFY_BackupRun at *23:30:00 set SYS_Backup Ausfuehren<
2018.05.04 08:44:41.594 5: Loading ./FHEM/90_at.pm
2018.05.04 08:44:41.618 5: Cmd: >attr NTFY_BackupRun alias FHEM Backup<
2018.05.04 08:44:41.619 5: Cmd: >attr NTFY_BackupRun group Timer<
2018.05.04 08:44:41.619 5: Cmd: >attr NTFY_BackupRun icon system_backup<
2018.05.04 08:44:41.620 5: Cmd: >attr NTFY_BackupRun room _Timer<
2018.05.04 08:44:41.621 5: Cmd: >define shutdown_restart at *24:00 shutdown restart<
2018.05.04 08:44:41.622 5: Cmd: >attr shutdown_restart alias FHEM Automatischer Neustart<
2018.05.04 08:44:41.623 5: Cmd: >attr shutdown_restart group Timer<
2018.05.04 08:44:41.623 5: Cmd: >attr shutdown_restart icon system_backup<
2018.05.04 08:44:41.624 5: Cmd: >attr shutdown_restart room _Timer<
2018.05.04 08:44:41.633 5: Starting notify loop for global, 1 event(s), first is INITIALIZED
2018.05.04 08:44:41.633 5: createNotifyHash
2018.05.04 08:44:41.637 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 429) line 1.
2018.05.04 08:44:41.639 5: Starting notify loop for AB_FR_HZG_PFA2H, 1 event(s), first is GESPERRT
2018.05.04 08:44:41.650 5: End notify loop for AB_FR_HZG_PFA2H
2018.05.04 08:44:41.654 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 430) line 1.
2018.05.04 08:44:41.655 5: Starting notify loop for AB_P_DS, 1 event(s), first is AUS
2018.05.04 08:44:41.666 5: End notify loop for AB_P_DS
2018.05.04 08:44:41.666 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 431) line 1.
2018.05.04 08:44:41.668 5: Starting notify loop for AB_P_PP_STS, 1 event(s), first is AUS
2018.05.04 08:44:41.669 5: Triggering AB_P_PP_STSN
2018.05.04 08:44:41.669 4: AB_P_PP_STSN exec set AB_P_PP_STSD $EVENT
2018.05.04 08:44:41.669 5: Cmd: >set AB_P_PP_STSD $EVENT<
2018.05.04 08:44:41.670 4: dummy set AB_P_PP_STSD off
2018.05.04 08:44:41.671 5: Starting notify loop for AB_P_PP_STSD, 1 event(s), first is AUS
2018.05.04 08:44:41.682 5: End notify loop for AB_P_PP_STSD
2018.05.04 08:44:41.692 5: End notify loop for AB_P_PP_STS
2018.05.04 08:44:41.694 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 432) line 1.
2018.05.04 08:44:41.695 5: Starting notify loop for AB_P_ST_PPPA2, 1 event(s), first is AUS
2018.05.04 08:44:41.706 5: End notify loop for AB_P_ST_PPPA2
2018.05.04 08:44:41.709 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 433) line 1.
2018.05.04 08:44:41.710 5: Starting notify loop for AB_P_ST_V2, 1 event(s), first is SCHLIESEN
2018.05.04 08:44:41.717 5: Cmd: >set AB_P_ST_PPPA2 AUS<
2018.05.04 08:44:41.718 4: AB_P_ST_PPPA2: set hash->{DEVICE} PortB5 on
2018.05.04 08:44:41.719 5: Starting notify loop for mcp23017_B2_HZR, 1 event(s), first is PortB5 on
2018.05.04 08:44:41.728 5: End notify loop for mcp23017_B2_HZR
2018.05.04 08:44:41.734 5: Starting notify loop for AB_P_ST_PPPA2_PID.PWMST, 4 event(s), first is cmd_nr: 1
2018.05.04 08:44:41.791 5: End notify loop for AB_P_ST_PPPA2_PID.PWMST
2018.05.04 08:44:41.800 5: End notify loop for AB_P_ST_V2
2018.05.04 08:44:41.803 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 437) line 1.
2018.05.04 08:44:41.804 5: Starting notify loop for AB_P_ZP, 1 event(s), first is AUS
2018.05.04 08:44:41.815 5: End notify loop for AB_P_ZP
2018.05.04 08:44:41.830 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 438) line 1.
2018.05.04 08:44:41.831 5: Starting notify loop for AB_SSP_ST_V1, 1 event(s), first is SCHLIESEN
2018.05.04 08:44:41.842 5: End notify loop for AB_SSP_ST_V1
2018.05.04 08:44:41.854 1: PERL WARNING: Argument "" isn't numeric in sprintf at ./FHEM/33_readingsGroup.pm line 543.
2018.05.04 08:44:41.864 1: PERL WARNING: Use of uninitialized value $VALUE in sprintf at (eval 453) line 1.
2018.05.04 08:44:41.865 5: Starting notify loop for DL2_WMZ1W, 1 event(s), first is 0.0
2018.05.04 08:44:41.874 5: End notify loop for DL2_WMZ1W
2018.05.04 08:44:41.876 1: PERL WARNING: Use of uninitialized value $VALUE in sprintf at (eval 456) line 1.
2018.05.04 08:44:41.877 5: Starting notify loop for DL2_WMZ2W, 1 event(s), first is 0.0
2018.05.04 08:44:41.886 5: End notify loop for DL2_WMZ2W
2018.05.04 08:44:41.887 3: HTZ_SDM630M_1: Notify / Init: using ModbusRS485 for communication
2018.05.04 08:44:41.888 4: HTZ_SDM630M_1: update timer modified: will call GetUpdate in 1.0 seconds at 2018-05-04 08:44:42 - Interval 60
2018.05.04 08:44:41.889 3: MBA: Notify / Init: opening connection
2018.05.04 08:44:41.890 4: MBA: trying to open connection to 192.168.17.245:502
2018.05.04 08:44:41.890 3: Opening MBA device 192.168.17.245:502
2018.05.04 08:44:41.890 5: HttpUtils url=http://192.168.17.245:502/
2018.05.04 08:44:41.890 5: IP: 192.168.17.245 -> 192.168.17.245
2018.05.04 08:44:41.892 4: MBA: update timer modified: will call GetUpdate in 1.0 seconds at 2018-05-04 08:44:42 - Interval 60
2018.05.04 08:44:41.892 3: ModbusRS485: Notify / Init: opening connection
2018.05.04 08:44:41.893 4: ModbusRS485: trying to open connection to /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A600UJJ0-if00-port0@9600,8,N,1
2018.05.04 08:44:41.893 3: Opening ModbusRS485 device /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A600UJJ0-if00-port0
2018.05.04 08:44:41.940 3: Setting ModbusRS485 serial parameters to 9600,8,N,1
2018.05.04 08:44:41.946 3: ModbusRS485 device opened
2018.05.04 08:44:41.947 3: NGZ_SDM630M_2: Notify / Init: using ModbusRS485 for communication
2018.05.04 08:44:41.948 4: NGZ_SDM630M_2: update timer modified: will call GetUpdate in 1.0 seconds at 2018-05-04 08:44:42 - Interval 60
2018.05.04 08:44:41.949 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 457) line 1.
2018.05.04 08:44:41.950 5: Starting notify loop for OG2_HZR_HZG_PSSP, 1 event(s), first is AUS
2018.05.04 08:44:41.961 5: End notify loop for OG2_HZR_HZG_PSSP
2018.05.04 08:44:41.962 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 458) line 1.
2018.05.04 08:44:41.963 5: Starting notify loop for OG2_HZR_H_HS, 1 event(s), first is AUS
2018.05.04 08:44:41.970 5: Triggering OG2_HZR_H_HSN
2018.05.04 08:44:41.971 4: OG2_HZR_H_HSN exec set OG2_HZR_H_HSD $EVENT
2018.05.04 08:44:41.971 5: Cmd: >set OG2_HZR_H_HSD $EVENT<
2018.05.04 08:44:41.972 4: dummy set OG2_HZR_H_HSD off
2018.05.04 08:44:41.973 5: Starting notify loop for OG2_HZR_H_HSD, 1 event(s), first is AUS
2018.05.04 08:44:41.976 5: Cmd: >set AB_FR_HZG_PFA2HD GESPERRT<
2018.05.04 08:44:41.977 4: dummy set AB_FR_HZG_PFA2HD off
2018.05.04 08:44:41.978 5: Starting notify loop for AB_FR_HZG_PFA2HD, 1 event(s), first is GESPERRT
2018.05.04 08:44:41.978 5: Triggering AB_FR_HZG_PFA2HN
2018.05.04 08:44:41.978 4: AB_FR_HZG_PFA2HN exec set AB_FR_HZG_PFA2H $EVENT
2018.05.04 08:44:41.979 5: Cmd: >set AB_FR_HZG_PFA2H $EVENT<
2018.05.04 08:44:41.980 4: AB_FR_HZG_PFA2H: set hash->{DEVICE} PortA2 on
2018.05.04 08:44:41.981 5: Starting notify loop for mcp23017_B2_HZR, 1 event(s), first is PortA2 on
2018.05.04 08:44:41.990 5: End notify loop for mcp23017_B2_HZR
2018.05.04 08:44:42.002 5: End notify loop for AB_FR_HZG_PFA2HD
2018.05.04 08:44:42.003 5: Starting notify loop for AB_FR_HZG_PFA2HST, 4 event(s), first is cmd_nr: 2
2018.05.04 08:44:42.023 5: End notify loop for AB_FR_HZG_PFA2HST
2018.05.04 08:44:42.034 5: End notify loop for OG2_HZR_H_HSD
2018.05.04 08:44:42.039 5: End notify loop for OG2_HZR_H_HS
2018.05.04 08:44:42.039 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 463) line 1.
2018.05.04 08:44:42.041 5: Starting notify loop for OG2_HZR_NS_APC, 1 event(s), first is AUS
2018.05.04 08:44:42.052 5: End notify loop for OG2_HZR_NS_APC
2018.05.04 08:44:42.053 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 464) line 1.
2018.05.04 08:44:42.054 5: Starting notify loop for OG2_HZR_NS_APCUEW, 1 event(s), first is BATTERIEBETRIEB
2018.05.04 08:44:42.065 5: End notify loop for OG2_HZR_NS_APCUEW
2018.05.04 08:44:42.066 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 465) line 1.
2018.05.04 08:44:42.067 5: Starting notify loop for OG2_HZR_P_APS, 1 event(s), first is AUS
2018.05.04 08:44:42.075 5: Triggering OG2_HZR_P_APSN
2018.05.04 08:44:42.075 4: OG2_HZR_P_APSN exec set OG2_HZR_P_APSD $EVENT
2018.05.04 08:44:42.075 5: Cmd: >set OG2_HZR_P_APSD $EVENT<
2018.05.04 08:44:42.076 4: dummy set OG2_HZR_P_APSD off
2018.05.04 08:44:42.077 5: Starting notify loop for OG2_HZR_P_APSD, 1 event(s), first is AUS
2018.05.04 08:44:42.093 1: PERL WARNING: Argument "" isn't numeric in numeric ge (>=) at (eval 478) line 1.
2018.05.04 08:44:42.093 3: eval: AB_P_ZPHZST: warning in condition c03
2018.05.04 08:44:42.095 5: Cmd: >set AB_P_DSFRD AUS<
2018.05.04 08:44:42.096 4: dummy set AB_P_DSFRD off
2018.05.04 08:44:42.097 5: Starting notify loop for AB_P_DSFRD, 1 event(s), first is AUS
2018.05.04 08:44:42.098 5: Triggering AB_P_DSFRN
2018.05.04 08:44:42.098 4: AB_P_DSFRN exec set AB_P_DS $EVENT
2018.05.04 08:44:42.099 5: Cmd: >set AB_P_DS $EVENT<
2018.05.04 08:44:42.100 4: AB_P_DS: set hash->{DEVICE} PortA4 on
2018.05.04 08:44:42.101 5: Starting notify loop for mcp23017_B2_HZR, 1 event(s), first is PortA4 on
2018.05.04 08:44:42.110 5: End notify loop for mcp23017_B2_HZR
2018.05.04 08:44:42.121 5: End notify loop for AB_P_DSFRD
2018.05.04 08:44:42.124 5: Starting notify loop for AB_P_ZPHZST, 5 event(s), first is cmd_nr: 3
2018.05.04 08:44:42.157 5: End notify loop for AB_P_ZPHZST
2018.05.04 08:44:42.160 5: Starting notify loop for AB_P_ZPHZST, 1 event(s), first is wait_timer: 04.05.2018 08:45:42 ABKÜHLEN OG2_HZR_P_APSD
2018.05.04 08:44:42.174 5: End notify loop for AB_P_ZPHZST
2018.05.04 08:44:42.177 5: Cmd: >set AB_P_ZPPSD AUS<
2018.05.04 08:44:42.178 4: dummy set AB_P_ZPPSD off
2018.05.04 08:44:42.179 5: Starting notify loop for AB_P_ZPPSD, 1 event(s), first is AUS
2018.05.04 08:44:42.182 5: Triggering AB_P_ZPPSN
2018.05.04 08:44:42.183 4: AB_P_ZPPSN exec set AB_P_ZP $EVENT
2018.05.04 08:44:42.183 5: Cmd: >set AB_P_ZP $EVENT<
2018.05.04 08:44:42.184 4: AB_P_ZP: set hash->{DEVICE} PortA7 on
2018.05.04 08:44:42.185 5: Starting notify loop for mcp23017_B2_HZR, 1 event(s), first is PortA7 on
2018.05.04 08:44:42.194 5: End notify loop for mcp23017_B2_HZR
2018.05.04 08:44:42.203 5: End notify loop for AB_P_ZPPSD
2018.05.04 08:44:42.205 5: Starting notify loop for AB_P_ZPPSST, 4 event(s), first is cmd_nr: 2
2018.05.04 08:44:42.228 5: End notify loop for AB_P_ZPPSST
2018.05.04 08:44:42.237 5: End notify loop for OG2_HZR_P_APSD
2018.05.04 08:44:42.241 5: End notify loop for OG2_HZR_P_APS
2018.05.04 08:44:42.242 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 486) line 1.
2018.05.04 08:44:42.243 5: Starting notify loop for OG2_HZR_STSP_HTE, 1 event(s), first is AUS
2018.05.04 08:44:42.254 5: End notify loop for OG2_HZR_STSP_HTE
2018.05.04 08:44:42.255 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 487) line 1.
2018.05.04 08:44:42.256 5: Starting notify loop for OG2_HZR_STSP_HTI, 1 event(s), first is AUS
2018.05.04 08:44:42.267 5: End notify loop for OG2_HZR_STSP_HTI
2018.05.04 08:44:42.268 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 488) line 1.
2018.05.04 08:44:42.269 5: Starting notify loop for OG2_HZR_ST_HVPA3, 1 event(s), first is AUS
2018.05.04 08:44:42.280 5: End notify loop for OG2_HZR_ST_HVPA3
2018.05.04 08:44:42.282 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 489) line 1.
2018.05.04 08:44:42.283 5: Starting notify loop for OG2_HZR_ST_HVVV3, 1 event(s), first is SCHLIESEN
2018.05.04 08:44:42.295 5: Cmd: >set OG2_HZR_ST_HVPA3 EIN<
2018.05.04 08:44:42.296 4: OG2_HZR_ST_HVPA3: set hash->{DEVICE} PortB1 off
2018.05.04 08:44:42.297 5: Starting notify loop for mcp23017_B2_HZR, 1 event(s), first is PortB1 off
2018.05.04 08:44:42.307 5: End notify loop for mcp23017_B2_HZR
2018.05.04 08:44:42.313 5: Starting notify loop for OG2_HZR_ST_HVPA3_PID.PWMST, 4 event(s), first is cmd_nr: 1
2018.05.04 08:44:42.371 5: End notify loop for OG2_HZR_ST_HVPA3_PID.PWMST
2018.05.04 08:44:42.375 5: End notify loop for OG2_HZR_ST_HVVV3
2018.05.04 08:44:42.376 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 493) line 1.
2018.05.04 08:44:42.377 5: Starting notify loop for OG2_HZR_ST_KVPA5, 1 event(s), first is AUS
2018.05.04 08:44:42.388 5: End notify loop for OG2_HZR_ST_KVPA5
2018.05.04 08:44:42.394 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 494) line 1.
2018.05.04 08:44:42.395 5: Starting notify loop for OG2_HZR_ST_PSSSPPA1, 1 event(s), first is AUS
2018.05.04 08:44:42.406 5: End notify loop for OG2_HZR_ST_PSSSPPA1
2018.05.04 08:44:42.408 1: PERL WARNING: Use of uninitialized value $VALUE in string eq at (eval 495) line 1.
2018.05.04 08:44:42.409 5: Starting notify loop for OG2_HZR_ST_WWZPA4, 1 event(s), first is AUS
2018.05.04 08:44:42.420 5: End notify loop for OG2_HZR_ST_WWZPA4
2018.05.04 08:44:42.423 5: im init client fuer SUSV
2018.05.04 08:44:42.423 5: im init client fuer mcp23017_B1_HZR
2018.05.04 08:44:42.424 5: RpiI2C_1: vom client empfangen|reg: 2|data: 255|direction: i2cwrite|i2caddress: 32
2018.05.04 08:44:42.424 5: RpiI2C_1: HWaccess I2CAddr: 0x20
2018.05.04 08:44:42.424 5: RpiI2C_1: vom client empfangen|reg: 2|data: 255|direction: i2cwrite|i2caddress: 32
2018.05.04 08:44:42.425 5: RpiI2C_1: HWaccess block schreiben, Reg: 0x02 Inh(dec):|255|, laenge: |2|
2018.05.04 08:44:42.426 5: RpiI2C_1 ->Client gefunden: mcp23017_B1_HZR, I2Caddress: 32 Data: 255
2018.05.04 08:44:42.427 5: Starting notify loop for mcp23017_B1_HZR, 1 event(s), first is Ok
2018.05.04 08:44:42.436 5: End notify loop for mcp23017_B1_HZR
2018.05.04 08:44:42.437 5: RpiI2C_1: vom client empfangen|i2caddress: 32|direction: i2cwrite|data: 255|reg: 3
2018.05.04 08:44:42.437 5: RpiI2C_1: HWaccess I2CAddr: 0x20
2018.05.04 08:44:42.437 5: RpiI2C_1: vom client empfangen|i2caddress: 32|direction: i2cwrite|data: 255|reg: 3
2018.05.04 08:44:42.438 5: RpiI2C_1: HWaccess block schreiben, Reg: 0x03 Inh(dec):|255|, laenge: |2|
2018.05.04 08:44:42.439 5: RpiI2C_1 ->Client gefunden: mcp23017_B1_HZR, I2Caddress: 32 Data: 255
2018.05.04 08:44:42.440 5: RpiI2C_1: vom client empfangen|reg: 12|data: 255|direction: i2cwrite|i2caddress: 32
2018.05.04 08:44:42.440 5: RpiI2C_1: HWaccess I2CAddr: 0x20
2018.05.04 08:44:42.440 5: RpiI2C_1: vom client empfangen|reg: 12|data: 255|direction: i2cwrite|i2caddress: 32
2018.05.04 08:44:42.441 5: RpiI2C_1: HWaccess block schreiben, Reg: 0x0c Inh(dec):|255|, laenge: |2|
2018.05.04 08:44:42.441 5: RpiI2C_1 ->Client gefunden: mcp23017_B1_HZR, I2Caddress: 32 Data: 255
2018.05.04 08:44:42.442 5: RpiI2C_1: vom client empfangen|data: 255|direction: i2cwrite|i2caddress: 32|reg: 13
2018.05.04 08:44:42.442 5: RpiI2C_1: HWaccess I2CAddr: 0x20
2018.05.04 08:44:42.442 5: RpiI2C_1: vom client empfangen|data: 255|direction: i2cwrite|i2caddress: 32|reg: 13
2018.05.04 08:44:42.443 5: RpiI2C_1: HWaccess block schreiben, Reg: 0x0d Inh(dec):|255|, laenge: |2|
2018.05.04 08:44:42.444 5: RpiI2C_1 ->Client gefunden: mcp23017_B1_HZR, I2Caddress: 32 Data: 255
2018.05.04 08:44:42.445 5: RpiI2C_1: vom client empfangen|reg: 5|i2caddress: 32|direction: i2cwrite|data: 255
2018.05.04 08:44:42.445 5: RpiI2C_1: HWaccess I2CAddr: 0x20
2018.05.04 08:44:42.445 5: RpiI2C_1: vom client empfangen|reg: 5|i2caddress: 32|direction: i2cwrite|data: 255
2018.05.04 08:44:42.446 5: RpiI2C_1: HWaccess block schreiben, Reg: 0x05 Inh(dec):|255|, laenge: |2|
2018.05.04 08:44:42.447 5: RpiI2C_1 ->Client gefunden: mcp23017_B1_HZR, I2Caddress: 32 Data: 255
2018.05.04 08:44:42.447 5: RpiI2C_1: vom client empfangen|reg: 4|data: 255|i2caddress: 32|direction: i2cwrite
2018.05.04 08:44:42.447 5: RpiI2C_1: HWaccess I2CAddr: 0x20
2018.05.04 08:44:42.447 5: RpiI2C_1: vom client empfangen|reg: 4|data: 255|i2caddress: 32|direction: i2cwrite
2018.05.04 08:44:42.448 5: RpiI2C_1: HWaccess block schreiben, Reg: 0x04 Inh(dec):|255|, laenge: |2|
2018.05.04 08:44:42.449 5: RpiI2C_1 ->Client gefunden: mcp23017_B1_HZR, I2Caddress: 32 Data: 255
2018.05.04 08:44:42.450 5: RpiI2C_1: vom client empfangen|data: 64|direction: i2cwrite|i2caddress: 32|reg: 10
2018.05.04 08:44:42.450 5: RpiI2C_1: HWaccess I2CAddr: 0x20
2018.05.04 08:44:42.450 5: RpiI2C_1: vom client empfangen|data: 64|direction: i2cwrite|i2caddress: 32|reg: 10
2018.05.04 08:44:42.451 5: RpiI2C_1: HWaccess block schreiben, Reg: 0x0a Inh(dec):|64|, laenge: |2|
2018.05.04 08:44:42.451 5: RpiI2C_1 ->Client gefunden: mcp23017_B1_HZR, I2Caddress: 32 Data: 64
2018.05.04 08:44:42.452 5: RpiI2C_1: vom client empfangen|nbyte: 2|i2caddress: 32|direction: i2cread|reg: 18
2018.05.04 08:44:42.452 5: RpiI2C_1: HWaccess I2CAddr: 0x20
2018.05.04 08:44:42.452 5: RpiI2C_1: vom client empfangen|nbyte: 2|i2caddress: 32|direction: i2cread|reg: 18
2018.05.04 08:44:42.453 4: RpiI2C_1: HWaccess blockweise lesen setze Registerpointer auf 18
2018.05.04 08:44:42.454 5: RpiI2C_1 ->Client gefunden: mcp23017_B1_HZR, I2Caddress: 32 Gelesen: 10 192
2018.05.04 08:44:42.454 5: mcp23017_B1_HZR UpdReadings Register: 19, Inhalt: 192
2018.05.04 08:44:42.456 5: Starting notify loop for mcp23017_B1_HZR, 8 event(s), first is PortB0: off
2018.05.04 08:44:42.468 5: Starting notify loop for OG2_HZR_STSP_HTE, 1 event(s), first is EIN
2018.05.04 08:44:42.479 5: End notify loop for OG2_HZR_STSP_HTE
2018.05.04 08:44:42.481 5: Starting notify loop for OG2_HZR_STSP_HTI, 1 event(s), first is EIN
2018.05.04 08:44:42.492 5: End notify loop for OG2_HZR_STSP_HTI
2018.05.04 08:44:42.498 5: End notify loop for mcp23017_B1_HZR
2018.05.04 08:44:42.498 5: mcp23017_B1_HZR UpdReadings Register: 18, Inhalt: 10
2018.05.04 08:44:42.499 5: Starting notify loop for mcp23017_B1_HZR, 8 event(s), first is PortA0: off
2018.05.04 08:44:42.501 5: Starting notify loop for AB_P_PP_STS, 1 event(s), first is AUS
2018.05.04 08:44:42.503 5: Triggering AB_P_PP_STSN
2018.05.04 08:44:42.503 4: AB_P_PP_STSN exec set AB_P_PP_STSD $EVENT
2018.05.04 08:44:42.503 5: Cmd: >set AB_P_PP_STSD $EVENT<
2018.05.04 08:44:42.504 4: dummy set AB_P_PP_STSD off
2018.05.04 08:44:42.505 5: Starting notify loop for AB_P_PP_STSD, 1 event(s), first is AUS
2018.05.04 08:44:42.513 1: PERL WARNING: Argument "" isn't numeric in numeric ge (>=) at (eval 502) line 1.
2018.05.04 08:44:42.513 3: eval: AB_P_ZPHZST: warning in condition c03
2018.05.04 08:44:42.523 5: End notify loop for AB_P_PP_STSD
2018.05.04 08:44:42.533 5: End notify loop for AB_P_PP_STS
2018.05.04 08:44:42.544 5: Starting notify loop for OG2_HZR_H_HS, 1 event(s), first is AUS
2018.05.04 08:44:42.551 5: Triggering OG2_HZR_H_HSN
2018.05.04 08:44:42.551 4: OG2_HZR_H_HSN exec set OG2_HZR_H_HSD $EVENT
2018.05.04 08:44:42.551 5: Cmd: >set OG2_HZR_H_HSD $EVENT<
2018.05.04 08:44:42.552 4: dummy set OG2_HZR_H_HSD off
2018.05.04 08:44:42.553 5: Starting notify loop for OG2_HZR_H_HSD, 1 event(s), first is AUS
2018.05.04 08:44:42.573 5: Starting notify loop for OG2_HZR_ST_PSSPST, 5 event(s), first is cmd_nr: 1
2018.05.04 08:44:42.599 5: End notify loop for OG2_HZR_ST_PSSPST
2018.05.04 08:44:42.601 5: Starting notify loop for OG2_HZR_ST_PSSPST, 1 event(s), first is wait_timer: 07.05.2018 08:44:42 EIN OG2_HZR_H_HSD
2018.05.04 08:44:42.614 5: End notify loop for OG2_HZR_ST_PSSPST
2018.05.04 08:44:42.617 5: End notify loop for OG2_HZR_H_HSD
2018.05.04 08:44:42.622 5: End notify loop for OG2_HZR_H_HS
2018.05.04 08:44:42.623 5: Starting notify loop for OG2_HZR_NS_APCUEW, 1 event(s), first is NETZBETRIEB
2018.05.04 08:44:42.635 5: End notify loop for OG2_HZR_NS_APCUEW
2018.05.04 08:44:42.636 5: Starting notify loop for OG2_HZR_P_APS, 1 event(s), first is EIN
2018.05.04 08:44:42.644 5: Triggering OG2_HZR_P_APSN
2018.05.04 08:44:42.644 4: OG2_HZR_P_APSN exec set OG2_HZR_P_APSD $EVENT
2018.05.04 08:44:42.644 5: Cmd: >set OG2_HZR_P_APSD $EVENT<
2018.05.04 08:44:42.645 4: dummy set OG2_HZR_P_APSD on
2018.05.04 08:44:42.646 5: Starting notify loop for OG2_HZR_P_APSD, 1 event(s), first is EIN
2018.05.04 08:44:42.662 1: PERL WARNING: Argument "" isn't numeric in numeric ge (>=) at (eval 527) line 1.
2018.05.04 08:44:42.662 3: eval: AB_P_ZPHZST: warning in condition c03
2018.05.04 08:44:42.674 5: End notify loop for OG2_HZR_P_APSD
2018.05.04 08:44:42.678 5: End notify loop for OG2_HZR_P_APS
2018.05.04 08:44:42.684 5: End notify loop for mcp23017_B1_HZR
2018.05.04 08:44:42.685 5: im init client fuer mcp23017_B2_HZR
2018.05.04 08:44:42.686 5: RpiI2C_1: vom client empfangen|data: 0|direction: i2cwrite|i2caddress: 33|reg: 0
2018.05.04 08:44:42.686 5: RpiI2C_1: HWaccess I2CAddr: 0x21
2018.05.04 08:44:42.686 5: RpiI2C_1: vom client empfangen|data: 0|direction: i2cwrite|i2caddress: 33|reg: 0
2018.05.04 08:44:42.687 5: RpiI2C_1: HWaccess block schreiben, Reg: 0x00 Inh(dec):|0|, laenge: |2|
2018.05.04 08:44:42.688 5: RpiI2C_1 ->Client gefunden: mcp23017_B2_HZR, I2Caddress: 33
2018.05.04 08:44:42.688 5: Starting notify loop for mcp23017_B2_HZR, 1 event(s), first is Ok
2018.05.04 08:44:42.698 5: End notify loop for mcp23017_B2_HZR
2018.05.04 08:44:42.699 5: RpiI2C_1: vom client empfangen|reg: 1|data: 0|i2caddress: 33|direction: i2cwrite
2018.05.04 08:44:42.699 5: RpiI2C_1: HWaccess I2CAddr: 0x21
2018.05.04 08:44:42.699 5: RpiI2C_1: vom client empfangen|reg: 1|data: 0|i2caddress: 33|direction: i2cwrite
2018.05.04 08:44:42.700 5: RpiI2C_1: HWaccess block schreiben, Reg: 0x01 Inh(dec):|0|, laenge: |2|
2018.05.04 08:44:42.701 5: RpiI2C_1 ->Client gefunden: mcp23017_B2_HZR, I2Caddress: 33
2018.05.04 08:44:42.702 5: RpiI2C_1: vom client empfangen|reg: 18|nbyte: 2|direction: i2cread|i2caddress: 33
2018.05.04 08:44:42.702 5: RpiI2C_1: HWaccess I2CAddr: 0x21
2018.05.04 08:44:42.702 5: RpiI2C_1: vom client empfangen|reg: 18|nbyte: 2|direction: i2cread|i2caddress: 33
2018.05.04 08:44:42.702 4: RpiI2C_1: HWaccess blockweise lesen setze Registerpointer auf 18
2018.05.04 08:44:42.704 5: RpiI2C_1 ->Client gefunden: mcp23017_B2_HZR, I2Caddress: 33 Gelesen: 255 253
2018.05.04 08:44:42.704 5: mcp23017_B2_HZR UpdReadings Register: 19, Inhalt: 253
2018.05.04 08:44:42.705 5: Starting notify loop for mcp23017_B2_HZR, 8 event(s), first is PortB0: on
2018.05.04 08:44:42.708 5: Starting notify loop for AB_P_ST_PPPA2, 1 event(s), first is AUS
2018.05.04 08:44:42.720 5: End notify loop for AB_P_ST_PPPA2
2018.05.04 08:44:42.730 5: Starting notify loop for OG2_HZR_NS_APC, 1 event(s), first is AUS
2018.05.04 08:44:42.742 5: End notify loop for OG2_HZR_NS_APC
2018.05.04 08:44:42.744 5: Starting notify loop for OG2_HZR_ST_HVPA3, 1 event(s), first is EIN
2018.05.04 08:44:42.755 5: End notify loop for OG2_HZR_ST_HVPA3
2018.05.04 08:44:42.757 5: Starting notify loop for OG2_HZR_ST_HVVV3, 1 event(s), first is SCHLIESEN
2018.05.04 08:44:42.769 5: Cmd: >set OG2_HZR_ST_HVPA3 EIN<
2018.05.04 08:44:42.770 4: OG2_HZR_ST_HVPA3: set hash->{DEVICE} PortB1 off
2018.05.04 08:44:42.771 5: RpiI2C_1: vom client empfangen|direction: i2cwrite|i2caddress: 33|data: 253|reg: 19
2018.05.04 08:44:42.771 5: RpiI2C_1: HWaccess I2CAddr: 0x21
2018.05.04 08:44:42.771 5: RpiI2C_1: vom client empfangen|direction: i2cwrite|i2caddress: 33|data: 253|reg: 19
2018.05.04 08:44:42.772 5: RpiI2C_1: HWaccess block schreiben, Reg: 0x13 Inh(dec):|253|, laenge: |2|
2018.05.04 08:44:42.773 5: RpiI2C_1 ->Client gefunden: mcp23017_B2_HZR, I2Caddress: 33 Data: 253
2018.05.04 08:44:42.773 5: mcp23017_B2_HZR UpdReadings Register: 19, Inhalt: 253
2018.05.04 08:44:42.774 5: RpiI2C_1: vom client empfangen|data: 0|direction: i2cwrite|i2caddress: 33|reg: 18
2018.05.04 08:44:42.774 5: RpiI2C_1: HWaccess I2CAddr: 0x21
2018.05.04 08:44:42.774 5: RpiI2C_1: vom client empfangen|data: 0|direction: i2cwrite|i2caddress: 33|reg: 18
2018.05.04 08:44:42.775 5: RpiI2C_1: HWaccess block schreiben, Reg: 0x12 Inh(dec):|0|, laenge: |2|
2018.05.04 08:44:42.776 5: RpiI2C_1 ->Client gefunden: mcp23017_B2_HZR, I2Caddress: 33
2018.05.04 08:44:42.776 5: mcp23017_B2_HZR UpdReadings Register: 18, Inhalt: 0
2018.05.04 08:44:42.783 5: Starting notify loop for OG2_HZR_ST_HVPA3_PID.PWMST, 4 event(s), first is cmd_nr: 1
2018.05.04 08:44:42.840 5: End notify loop for OG2_HZR_ST_HVPA3_PID.PWMST
2018.05.04 08:44:42.844 5: End notify loop for OG2_HZR_ST_HVVV3
2018.05.04 08:44:42.846 5: Starting notify loop for OG2_HZR_ST_KVPA5, 1 event(s), first is AUS
2018.05.04 08:44:42.858 5: Starting notify loop for OG2_HZR_ST_KVPFA5ST, 1 event(s), first is wait_timer: 04.05.2018 08:44:47 STANDBY OG2_HZR_ST_KVPA5
2018.05.04 08:44:42.872 5: End notify loop for OG2_HZR_ST_KVPFA5ST
2018.05.04 08:44:42.875 5: End notify loop for OG2_HZR_ST_KVPA5
2018.05.04 08:44:42.877 5: Starting notify loop for OG2_HZR_ST_PSSSPPA1, 1 event(s), first is AUS
2018.05.04 08:44:42.888 1: PERL WARNING: Argument "" isn't numeric in numeric lt (<) at (eval 541) line 1.
2018.05.04 08:44:42.888 3: eval: OG2_HZR_ST_PSSSPPA1ST: warning in condition c01
2018.05.04 08:44:42.892 5: Starting notify loop for OG2_HZR_ST_PSSSPPA1ST, 5 event(s), first is cmd_nr: 1
2018.05.04 08:44:42.918 5: End notify loop for OG2_HZR_ST_PSSSPPA1ST
2018.05.04 08:44:42.920 5: Starting notify loop for OG2_HZR_ST_PSSSPPA1ST, 1 event(s), first is wait_timer: 07.05.2018 08:44:42 EIN OG2_HZR_ST_PSSSPPA1
2018.05.04 08:44:42.934 5: End notify loop for OG2_HZR_ST_PSSSPPA1ST
2018.05.04 08:44:42.936 5: End notify loop for OG2_HZR_ST_PSSSPPA1
2018.05.04 08:44:42.938 5: Starting notify loop for OG2_HZR_ST_WWZPA4, 1 event(s), first is EIN
2018.05.04 08:44:42.951 5: End notify loop for OG2_HZR_ST_WWZPA4
2018.05.04 08:44:42.957 5: End notify loop for mcp23017_B2_HZR
2018.05.04 08:44:42.957 5: mcp23017_B2_HZR UpdReadings Register: 18, Inhalt: 255
2018.05.04 08:44:42.958 5: Starting notify loop for mcp23017_B2_HZR, 8 event(s), first is PortA0: on
2018.05.04 08:44:42.959 5: Starting notify loop for AB_FR_HZG_PFA2H, 1 event(s), first is GESPERRT
2018.05.04 08:44:42.971 5: End notify loop for AB_FR_HZG_PFA2H
2018.05.04 08:44:42.973 5: Starting notify loop for AB_P_DS, 1 event(s), first is AUS
2018.05.04 08:44:42.985 5: End notify loop for AB_P_DS
2018.05.04 08:44:42.988 5: Starting notify loop for AB_P_ST_V2, 1 event(s), first is SCHLIESEN
2018.05.04 08:44:42.993 5: Cmd: >set AB_P_ST_PPPA2 AUS<
2018.05.04 08:44:42.994 4: AB_P_ST_PPPA2: set hash->{DEVICE} PortB5 on
2018.05.04 08:44:42.995 5: RpiI2C_1: vom client empfangen|reg: 19|i2caddress: 33|direction: i2cwrite|data: 253
2018.05.04 08:44:42.995 5: RpiI2C_1: HWaccess I2CAddr: 0x21
2018.05.04 08:44:42.995 5: RpiI2C_1: vom client empfangen|reg: 19|i2caddress: 33|direction: i2cwrite|data: 253
2018.05.04 08:44:42.996 5: RpiI2C_1: HWaccess block schreiben, Reg: 0x13 Inh(dec):|253|, laenge: |2|
2018.05.04 08:44:42.997 5: RpiI2C_1 ->Client gefunden: mcp23017_B2_HZR, I2Caddress: 33 Data: 253
2018.05.04 08:44:42.997 5: mcp23017_B2_HZR UpdReadings Register: 19, Inhalt: 253
2018.05.04 08:44:42.998 5: RpiI2C_1: vom client empfangen|reg: 18|data: 255|direction: i2cwrite|i2caddress: 33
2018.05.04 08:44:42.998 5: RpiI2C_1: HWaccess I2CAddr: 0x21
2018.05.04 08:44:42.998 5: RpiI2C_1: vom client empfangen|reg: 18|data: 255|direction: i2cwrite|i2caddress: 33
2018.05.04 08:44:42.999 5: RpiI2C_1: HWaccess block schreiben, Reg: 0x12 Inh(dec):|255|, laenge: |2|
2018.05.04 08:44:43.000 5: RpiI2C_1 ->Client gefunden: mcp23017_B2_HZR, I2Caddress: 33 Data: 255
2018.05.04 08:44:43.000 5: mcp23017_B2_HZR UpdReadings Register: 18, Inhalt: 255
2018.05.04 08:44:43.012 5: End notify loop for AB_P_ST_V2
2018.05.04 08:44:43.014 5: Starting notify loop for AB_P_ZP, 1 event(s), first is AUS
2018.05.04 08:44:43.025 5: End notify loop for AB_P_ZP
2018.05.04 08:44:43.028 5: Starting notify loop for AB_SSP_ST_V1, 1 event(s), first is SCHLIESEN
2018.05.04 08:44:43.034 1: PERL WARNING: Argument "" isn't numeric in numeric gt (>) at (eval 554) line 1.
2018.05.04 08:44:43.034 3: eval: AB_SSP_ST_V1ST: warning in condition c01
2018.05.04 08:44:43.035 1: PERL WARNING: Argument "" isn't numeric in numeric lt (<) at (eval 555) line 1.
2018.05.04 08:44:43.036 3: eval: AB_SSP_ST_V1ST: warning in condition c02
2018.05.04 08:44:43.037 1: PERL WARNING: Argument "" isn't numeric in numeric lt (<) at (eval 556) line 1.
2018.05.04 08:44:43.037 3: eval: AB_SSP_ST_V1ST: warning in condition c03
2018.05.04 08:44:43.047 5: End notify loop for AB_SSP_ST_V1
2018.05.04 08:44:43.054 5: Starting notify loop for OG2_HZR_HZG_PSSP, 1 event(s), first is AUS
2018.05.04 08:44:43.067 5: End notify loop for OG2_HZR_HZG_PSSP
2018.05.04 08:44:43.072 5: Starting notify loop for OG2_HZR_ST_WWZPA4, 1 event(s), first is AUS
2018.05.04 08:44:43.087 5: Starting notify loop for OG2_HZR_ST_WWZPA4ST, 5 event(s), first is cmd_nr: 3
2018.05.04 08:44:43.117 5: End notify loop for OG2_HZR_ST_WWZPA4ST
2018.05.04 08:44:43.119 5: Starting notify loop for OG2_HZR_ST_WWZPA4ST, 1 event(s), first is wait_timer: 07.05.2018 08:44:43 EIN OG2_HZR_ST_WWZPA4
2018.05.04 08:44:43.131 5: End notify loop for OG2_HZR_ST_WWZPA4ST
2018.05.04 08:44:43.133 5: End notify loop for OG2_HZR_ST_WWZPA4
2018.05.04 08:44:43.137 5: End notify loop for mcp23017_B2_HZR
2018.05.04 08:44:43.140 5: Starting notify loop for mcp23017_B1_HZR_A4, 1 event(s), first is AUS
2018.05.04 08:44:43.151 5: End notify loop for mcp23017_B1_HZR_A4
2018.05.04 08:44:43.153 5: Starting notify loop for mcp23017_B1_HZR_A5, 1 event(s), first is AUS
2018.05.04 08:44:43.164 5: End notify loop for mcp23017_B1_HZR_A5
2018.05.04 08:44:43.166 5: Starting notify loop for mcp23017_B1_HZR_A6, 1 event(s), first is AUS
2018.05.04 08:44:43.177 5: End notify loop for mcp23017_B1_HZR_A6
2018.05.04 08:44:43.179 5: Starting notify loop for mcp23017_B1_HZR_A7, 1 event(s), first is AUS
2018.05.04 08:44:43.191 5: End notify loop for mcp23017_B1_HZR_A7
2018.05.04 08:44:43.192 5: Starting notify loop for mcp23017_B1_HZR_B0, 1 event(s), first is AUS
2018.05.04 08:44:43.204 5: End notify loop for mcp23017_B1_HZR_B0
2018.05.04 08:44:43.205 5: Starting notify loop for mcp23017_B1_HZR_B1, 1 event(s), first is AUS
2018.05.04 08:44:43.217 5: End notify loop for mcp23017_B1_HZR_B1
2018.05.04 08:44:43.218 5: Starting notify loop for mcp23017_B1_HZR_B2, 1 event(s), first is AUS
2018.05.04 08:44:43.230 5: End notify loop for mcp23017_B1_HZR_B2
2018.05.04 08:44:43.232 5: Starting notify loop for mcp23017_B1_HZR_B3, 1 event(s), first is AUS
2018.05.04 08:44:43.243 5: End notify loop for mcp23017_B1_HZR_B3
2018.05.04 08:44:43.245 5: Starting notify loop for mcp23017_B1_HZR_B4, 1 event(s), first is AUS
2018.05.04 08:44:43.256 5: End notify loop for mcp23017_B1_HZR_B4
2018.05.04 08:44:43.258 5: Starting notify loop for mcp23017_B1_HZR_B5, 1 event(s), first is AUS
2018.05.04 08:44:43.270 5: End notify loop for mcp23017_B1_HZR_B5
2018.05.04 08:44:43.271 5: Starting notify loop for mcp23017_B2_HZR_A3, 1 event(s), first is AUS
2018.05.04 08:44:43.283 5: End notify loop for mcp23017_B2_HZR_A3
2018.05.04 08:44:43.284 5: Starting notify loop for mcp23017_B2_HZR_B0, 1 event(s), first is AUS
2018.05.04 08:44:43.296 5: End notify loop for mcp23017_B2_HZR_B0
2018.05.04 08:44:43.298 5: Starting notify loop for mcp23017_B2_HZR_B6, 1 event(s), first is AUS
2018.05.04 08:44:43.309 5: End notify loop for mcp23017_B2_HZR_B6
2018.05.04 08:44:43.376 5: End notify loop for global
2018.05.04 08:44:43.376 0: Featurelevel: 5.8
2018.05.04 08:44:43.376 0: Server started with 216 defined entities (fhem.pl:16675/2018-04-29 perl:5.024001 os:linux user:fhem pid:21957)


Ich verstehe momentan nur Bahnhof.
Falsch definiert funktioniert es ohne Fehler.
Richtig definiert bekomme ich Fehlermeldungen.
Nur wie definiere ich es richtig das es weiterhin funktioniert und auch keine Fehler im LOG vorhanden sind?
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

nils_

also los geht schonmal damit:
Zitat von: Burny4600 am 04 Mai 2018, 08:57:38
if ($init_done);
die Zeile kannst du dir so wie sie da steht auch sparen! es wird was abgefragt und danach eine leere Anweisung -> ; ausgeführt
bitte mit perl und syntax usw. beschäftigen...!


zu den ganzen includes in der fhem.cfg sag ich mal nix!
deswegen aber auch meine ursprüngliche frage ob da was im log steht, wenn die datei nicht eingebunden wäre, kann das notify logischerweise nie ausgeführt werden.
soviel nur dazu, scheint ja zu klappen bei dir.


define initNotify notify global:(INITIALIZED|REREADCFG) {
  if ($init_done)
  {
    fhem("set AB_GAO_FS1_SSPPWTD TROCKEN");
    fhem("set AB_P_SSSSD DUNKEL");
    fhem("set AB_P_ST_PPPA2_PID desired 35");
    fhem("set AB_P_ST_V2ST SCHLIESEN");
    fhem("set AB_P_ZP_S1D AUS");
    fhem("set AB_SSP_ST_V1ST ÖFFNEN");
    fhem("set OG2_HZR_ST_HVPA3_PID desired 5");
    fhem("set OG2_HZR_ST_KVPA5_PID desired 10");
    fhem("set AB_P_ST_PPPFA2D,OG2_HZR_ST_HVPFA3D,OG2_HZR_ST_KVPFA5D GESPERRT");
  }
}


so in der art würde ich es versuchen. nicht sicher ob die syntax so passt.
und die vielen fhem(...) kann man - glaube ich - auch noch sparen.
viele Wege in FHEM es gibt!

Burny4600

@nils_
Diese Ausführung des fhem und Perl Codes funktioniert genauso ohne Fehler wie in meiner Variante.
Eigenartig das meine Variante ohne Fehler im Log funktioniert hat.
Jedenfalls hat mir dein Beispiel zu Perl ein bischen mehr Verständnis für das Perl unter FHEM gebracht.
Ich habe es jetzt noch zusammengefasst mit nur einem fhem was ausreichend ist.
global:(INITIALIZED|REREADCFG)
{
if ($init_done)
  { fhem
     "set AB_GAO_FS1_SSPPWTD TROCKEN;
      set AB_P_SSSSD DUNKEL;
      set AB_P_ST_PPPA2_PID desired 35;
      set AB_P_ST_V2ST SCHLIESEN;
      set AB_P_ZP_S1D AUS;
      set AB_SSP_ST_V1ST ÖFFNEN;
      set OG2_HZR_ST_HVPA3_PID desired 5;
      set OG2_HZR_ST_KVPA5_PID desired 10;
      set AB_P_ST_PPPFA2D,OG2_HZR_ST_HVPFA3D,OG2_HZR_ST_KVPFA5D GESPERRT"
  }
}


Ich denke das ich es betreffend FHEM- und PERL-Code jetzt verstanden habe.

LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess