Aktuelles Update und nachfolgende Fehler im Log

Begonnen von Matthias76, 04 November 2014, 22:18:38

Vorheriges Thema - Nächstes Thema

Matthias76

Ich habe es eben mal gewagt, nach einigen Wochen wieder ein FHEM-Update (per Webfrontend "update") durchzuführen.

Beim letzten Mal hatte ich keine besonderen Logeinträge, diesmal jedoch hagelt es sehr viele.
Zunächst einmal der Updateprozess selbst:

2014.11.04 21:18:29 1: UPD ./CHANGED
2014.11.04 21:18:29 1: UPD ./configDB.pm
2014.11.04 21:18:29 1: UPD ./fhem.pl
2014.11.04 21:18:29 1: UPD FHEM/00_CUL.pm
2014.11.04 21:18:30 1: UPD FHEM/00_FBAHA.pm
2014.11.04 21:18:30 1: UPD FHEM/00_KM271.pm
2014.11.04 21:18:30 1: UPD FHEM/00_LIRC.pm
2014.11.04 21:18:30 1: UPD FHEM/00_MQTT.pm
2014.11.04 21:18:30 1: UPD FHEM/00_MYSENSORS.pm
2014.11.04 21:18:30 1: UPD FHEM/00_TCM.pm
2014.11.04 21:18:30 1: UPD FHEM/00_THZ.pm
2014.11.04 21:18:30 1: UPD FHEM/00_ZWDongle.pm
2014.11.04 21:18:30 1: UPD FHEM/01_FHEMWEB.pm
2014.11.04 21:18:31 1: UPD FHEM/02_RSS.pm
2014.11.04 21:18:31 1: UPD FHEM/09_CUL_FHTTK.pm
2014.11.04 21:18:31 1: UPD FHEM/10_CUL_HM.pm
2014.11.04 21:18:31 1: UPD FHEM/10_EnOcean.pm
2014.11.04 21:18:32 1: UPD FHEM/10_FBDECT.pm
2014.11.04 21:18:32 1: UPD FHEM/10_IT.pm
2014.11.04 21:18:32 1: UPD FHEM/10_MAX.pm
2014.11.04 21:18:32 1: UPD FHEM/10_MQTT_BRIDGE.pm
2014.11.04 21:18:32 1: UPD FHEM/10_MQTT_DEVICE.pm
2014.11.04 21:18:32 1: UPD FHEM/10_MYSENSORS_DEVICE.pm
2014.11.04 21:18:33 1: UPD FHEM/10_OWServer.pm
2014.11.04 21:18:33 1: UPD FHEM/10_SOMFY.pm
2014.11.04 21:18:33 1: UPD FHEM/10_ZWave.pm
2014.11.04 21:18:33 1: UPD FHEM/14_CUL_TX.pm
2014.11.04 21:18:33 1: UPD FHEM/15_CUL_EM.pm
2014.11.04 21:18:33 1: UPD FHEM/21_OWMULTI.pm
2014.11.04 21:18:33 1: UPD FHEM/21_OWSWITCH.pm
2014.11.04 21:18:33 1: UPD FHEM/21_OWTHERM.pm
2014.11.04 21:18:33 1: UPD FHEM/23_KOSTALPIKO.pm
2014.11.04 21:18:34 1: UPD FHEM/23_LUXTRONIK2.pm
2014.11.04 21:18:34 1: UPD FHEM/31_HUEDevice.pm
2014.11.04 21:18:34 1: UPD FHEM/31_LightScene.pm
2014.11.04 21:18:34 1: UPD FHEM/32_speedtest.pm
2014.11.04 21:18:34 1: UPD FHEM/32_withings.pm
2014.11.04 21:18:34 1: UPD FHEM/33_readingsHistory.pm
2014.11.04 21:18:34 1: UPD FHEM/34_NUT.pm
2014.11.04 21:18:34 1: UPD FHEM/35_SWAP_0000002200000003.pm
2014.11.04 21:18:35 1: UPD FHEM/36_EC3000.pm
2014.11.04 21:18:35 1: UPD FHEM/36_JeeLink.pm
2014.11.04 21:18:35 1: UPD FHEM/36_LaCrosse.pm
2014.11.04 21:18:35 1: UPD FHEM/36_PCA301.pm
2014.11.04 21:18:35 1: UPD FHEM/36_WMBUS.pm
2014.11.04 21:18:35 1: UPD FHEM/37_SHCdev.pm
2014.11.04 21:18:35 1: UPD FHEM/37_harmony.pm
2014.11.04 21:18:35 1: UPD FHEM/38_netatmo.pm
2014.11.04 21:18:35 1: UPD FHEM/42_SYSMON.pm
2014.11.04 21:18:36 1: UPD FHEM/44_TEK603.pm
2014.11.04 21:18:36 1: UPD FHEM/52_I2C_LCD.pm
2014.11.04 21:18:36 1: UPD FHEM/55_GDS.pm
2014.11.04 21:18:36 1: UPD FHEM/57_Calendar.pm
2014.11.04 21:18:36 1: UPD FHEM/59_PROPLANTA.pm
2014.11.04 21:18:36 1: UPD FHEM/59_Weather.pm
2014.11.04 21:18:36 1: UPD FHEM/66_ECMD.pm
2014.11.04 21:18:36 1: UPD FHEM/67_ECMDDevice.pm
2014.11.04 21:18:37 1: UPD FHEM/70_JSONMETER.pm
2014.11.04 21:18:37 1: UPD FHEM/70_Pushover.pm
2014.11.04 21:18:37 1: UPD FHEM/70_STV.pm
2014.11.04 21:18:37 1: UPD FHEM/71_YAMAHA_AVR.pm
2014.11.04 21:18:37 1: UPD FHEM/72_FB_CALLMONITOR.pm
2014.11.04 21:18:37 1: UPD FHEM/73_PRESENCE.pm
2014.11.04 21:18:37 1: UPD FHEM/90_at.pm
2014.11.04 21:18:37 1: UPD FHEM/91_eventTypes.pm
2014.11.04 21:18:38 1: UPD FHEM/91_sequence.pm
2014.11.04 21:18:38 1: UPD FHEM/92_FileLog.pm
2014.11.04 21:18:38 1: UPD FHEM/93_DbLog.pm
2014.11.04 21:18:38 1: UPD FHEM/95_Alarm.pm
2014.11.04 21:18:38 1: UPD FHEM/98_CULflash.pm
2014.11.04 21:18:38 1: UPD FHEM/98_CustomReadings.pm
2014.11.04 21:18:38 1: UPD FHEM/98_DOIF.pm
2014.11.04 21:18:38 1: UPD FHEM/98_HMinfo.pm
2014.11.04 21:18:39 1: UPD FHEM/98_HourCounter.pm
2014.11.04 21:18:39 1: UPD FHEM/98_IF.pm
2014.11.04 21:18:39 1: UPD FHEM/98_PID20.pm
2014.11.04 21:18:39 1: UPD FHEM/98_RandomTimer.pm
2014.11.04 21:18:39 1: UPD FHEM/98_SVG.pm
2014.11.04 21:18:39 1: UPD FHEM/98_THRESHOLD.pm
2014.11.04 21:18:39 1: UPD FHEM/98_dewpoint.pm
2014.11.04 21:18:40 1: UPD FHEM/98_statistics.pm
2014.11.04 21:18:40 1: UPD FHEM/98_structure.pm
2014.11.04 21:18:40 1: UPD FHEM/98_telnet.pm
2014.11.04 21:18:40 1: UPD FHEM/98_update.pm
2014.11.04 21:18:40 1: UPD FHEM/99_SUNRISE_EL.pm
2014.11.04 21:18:40 1: UPD FHEM/99_Utils.pm
2014.11.04 21:18:40 1: UPD FHEM/Blocking.pm
2014.11.04 21:18:40 1: UPD FHEM/FritzBoxUtils.pm
2014.11.04 21:18:40 1: UPD FHEM/GPUtils.pm
2014.11.04 21:18:41 1: UPD FHEM/HMConfig.pm
2014.11.04 21:18:41 1: UPD FHEM/HttpUtils.pm
2014.11.04 21:18:41 1: UPD FHEM/SHC_datafields.pm
2014.11.04 21:18:41 1: UPD FHEM/SHC_parser.pm
2014.11.04 21:18:41 1: UPD FHEM/SetExtensions.pm
2014.11.04 21:18:41 1: UPD FHEM/TcpServerUtils.pm
2014.11.04 21:18:41 1: UPD FHEM/WMBus.pm
2014.11.04 21:18:41 1: UPD FHEM/firmware/JeeLink_PCA301.hex
2014.11.04 21:18:41 1: UPD FHEM/lib/SHC_packet_layout.xml
2014.11.04 21:18:42 1: UPD FHEM/lib/openzwave_deviceconfig.xml.gz
2014.11.04 21:18:42 1: UPD FHEM/lib/openzwave_manufacturer_specific.xml
2014.11.04 21:18:42 1: UPD docs/commandref.html
2014.11.04 21:18:43 1: UPD docs/commandref_DE.html
2014.11.04 21:18:44 1: UPD www/images/fhemSVG/light_exclamation.svg
2014.11.04 21:18:44 1: UPD www/pgm2/alarm.js
2014.11.04 21:18:44 1: UPD www/pgm2/console.js
2014.11.04 21:18:44 1: UPD www/pgm2/fhemweb.js
2014.11.04 21:18:44 1: UPD www/pgm2/fhemweb_multiple.js
2014.11.04 21:18:44 1: UPD www/pgm2/fhemweb_slider.js
2014.11.04 21:18:44 1: UPD www/pgm2/fhemweb_time.js
2014.11.04 21:18:44 1:
2014.11.04 21:18:44 1: update finished, "shutdown restart" is needed to activate the changes.
2014.11.04 21:18:44 1:
2014.11.04 21:18:46 1: Fhem info:
  Release  : 5.5
  Branch   : DEVELOPMENT
  OS       : linux
  Arch     : arm-linux-gnueabihf-thread-multi-64int
  Perl     : v5.18.2
  uniqueID : a18df76c44001975001c5b9aee79152b
  upTime   : 3 days, 10:37:58

Defined modules:
  CUL        : 1
  CUL_HM     : 46
  DOIF       : 2
  FHEMWEB    : 8
  FileLog    : 42
  SOMFY      : 6
  STV        : 2
  SVG        : 5
  at         : 15
  autocreate : 1
  dummy      : 4
  notify     : 21
  telnet     : 1

Defined models per module:
  CUL_HM     : ActionDetector,HM-CC-TC,HM-CC-VD,HM-LC-SW1-BA-PCB,HM-LC-SW1-FM,HM-LC-SW2-FM,HM-LC-SW4-DR,HM-PB-2-WM55,HM-RC-4,HM-RC-4-B,HM-SCI-3-FM,HM-SEC-RHS,HM-WDS10-TH-O

Transmitting this information during an update:
  onUpdate (Note: You can change this via the global attribute sendStatistics)

server response: ==> ok

2014.11.04 21:20:23 0: Server shutdown


Und nun zu den nachfolgenden Fehlern:

2014.11.04 21:20:45 3: CUL_HM set CUL_HM_HM_CC_TC_187A48 statusRequest
2014.11.04 21:21:00 3: CUL_HM set CUL_HM_HM_CC_TC_1CE481 statusRequest
2014.11.04 21:21:05 3: CUL_HM set CUL_HM_HM_CC_VD_18773D getConfig
2014.11.04 21:21:20 3: CUL_HM set CUL_HM_HM_CC_VD_1CF0B4 getConfig
2014.11.04 21:22:06 1: PERL WARNING: Argument "ok"?0" isn't numeric in subtraction (-) at ./FHEM/92_FileLog.pm line 610, <GEN73> line 13.
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 21) line 1, <GEN73> line 14.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 24) line 1, <GEN74> line 25.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 27) line 1, <GEN74> line 28.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 30) line 1, <GEN74> line 31.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 33) line 1, <GEN74> line 34.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 36) line 1, <GEN74> line 37.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 39) line 1, <GEN74> line 40.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 42) line 1, <GEN74> line 43.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 45) line 1, <GEN74> line 46.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 48) line 1, <GEN74> line 49.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 51) line 1, <GEN74> line 52.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 54) line 1, <GEN74> line 55.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 57) line 1, <GEN74> line 58.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 60) line 1, <GEN74> line 61.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 63) line 1, <GEN74> line 64.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 66) line 1, <GEN74> line 67.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 69) line 1, <GEN74> line 70.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 72) line 1, <GEN74> line 73.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 75) line 1, <GEN74> line 76.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 78) line 1, <GEN74> line 79.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:22:06 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 81) line 1, <GEN74> line 82.
2014.11.04 21:22:06 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:23:00 0: Server shutdown
2014.11.04 21:23:46 1: Including fhem.cfg
2014.11.04 21:23:47 3: WEB: port 8083 opened
2014.11.04 21:23:47 3: WEBphone: port 8084 opened
2014.11.04 21:23:47 3: WEBtablet: port 8085 opened
2014.11.04 21:23:47 3: Opening CUL_0 device /dev/ttyACM0
2014.11.04 21:23:47 3: Setting CUL_0 baudrate to 9600
2014.11.04 21:23:47 3: CUL_0 device opened
2014.11.04 21:23:47 3: CUL_0: Possible commands: BbCFiAZEGMKUYRTVWXefmltux
2014.11.04 21:23:47 2: Switched CUL_0 rfmode to HomeMatic
2014.11.04 21:23:49 3: telnetPort: port 7072 opened
2014.11.04 21:23:49 3: [STV] defined with host: 192.168.185.34 port: 55000 MAC: a2:9e:18:cb:fa:b6
2014.11.04 21:23:49 1: Including ./log/fhem.save
2014.11.04 21:23:49 3: No I/O device found for RolloKueche
2014.11.04 21:23:49 3: No I/O device found for RolloWohnS
2014.11.04 21:23:49 3: No I/O device found for RolloWohnG
2014.11.04 21:23:49 3: No I/O device found for Markise
2014.11.04 21:23:49 3: No I/O device found for RolloEingang
2014.11.04 21:23:49 3: No I/O device found for Terrassentuer
2014.11.04 21:23:49 1: usb create starting
2014.11.04 21:23:50 1: usb create end
2014.11.04 21:23:50 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2014.11.04 21:23:50 0: Server started with 150 defined entities (version $Id: fhem.pl 6880 2014-11-03 22:25:33Z rudolfkoenig $, os linux, user fhem, pid 766)
2014.11.04 21:23:56 3: Device CUL_HM_HM_SCI_3_FM_1E4E75 added to ActionDetector with 028:00 time
2014.11.04 21:23:56 3: Device CUL_HM_HM_SCI_3_FM_23F8F2 added to ActionDetector with 028:00 time
2014.11.04 21:24:13 3: CUL_HM set CUL_HM_HM_CC_VD_1CF0B4 getConfig
2014.11.04 21:25:02 3: CUL_HM set CUL_HM_HM_CC_TC_187A48 statusRequest
2014.11.04 21:25:08 1: PERL WARNING: Argument "ok"?0" isn't numeric in subtraction (-) at ./FHEM/92_FileLog.pm line 610, <GEN70> line 13.
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 21) line 1, <GEN70> line 14.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 24) line 1, <GEN71> line 25.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 27) line 1, <GEN71> line 28.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 30) line 1, <GEN71> line 31.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 33) line 1, <GEN71> line 34.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 36) line 1, <GEN71> line 37.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 39) line 1, <GEN71> line 40.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 42) line 1, <GEN71> line 43.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 45) line 1, <GEN71> line 46.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 48) line 1, <GEN71> line 49.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 51) line 1, <GEN71> line 52.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 54) line 1, <GEN71> line 55.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 57) line 1, <GEN71> line 58.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 60) line 1, <GEN71> line 61.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 63) line 1, <GEN71> line 64.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 66) line 1, <GEN71> line 67.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 69) line 1, <GEN71> line 70.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 72) line 1, <GEN71> line 73.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 75) line 1, <GEN71> line 76.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 78) line 1, <GEN71> line 79.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:08 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 81) line 1, <GEN71> line 82.
2014.11.04 21:25:08 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:25:22 3: CUL_HM set CUL_HM_HM_CC_VD_18773D getConfig
2014.11.04 21:26:33 3: CUL_HM set CUL_HM_HM_CC_TC_1CE481 statusRequest
2014.11.04 21:30:00 2: SOMFY set RolloEingang on: sA4400094ABC666
2014.11.04 21:30:00 3: CUL_0: Unknown code YsA4E8E87C1ADC77, help me!
2014.11.04 21:33:12 1: PERL WARNING: Argument "ok"?0" isn't numeric in subtraction (-) at ./FHEM/92_FileLog.pm line 610.
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 93) line 1, <GEN99> line 1.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 96) line 1, <GEN100> line 3.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 99) line 1, <GEN100> line 6.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 102) line 1, <GEN100> line 9.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 105) line 1, <GEN100> line 12.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 108) line 1, <GEN100> line 15.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 111) line 1, <GEN100> line 18.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 114) line 1, <GEN100> line 21.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 117) line 1, <GEN100> line 24.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 120) line 1, <GEN100> line 27.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 123) line 1, <GEN100> line 30.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 126) line 1, <GEN100> line 33.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 129) line 1, <GEN100> line 36.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 132) line 1, <GEN100> line 39.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 135) line 1, <GEN100> line 42.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 138) line 1, <GEN100> line 45.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 141) line 1, <GEN100> line 48.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 144) line 1, <GEN100> line 51.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 147) line 1, <GEN100> line 54.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 150) line 1, <GEN100> line 57.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:12 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 153) line 1, <GEN100> line 60.
2014.11.04 21:33:12 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Argument "ok"?0" isn't numeric in subtraction (-) at ./FHEM/92_FileLog.pm line 610.
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 161) line 1, <GEN112> line 1.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 164) line 1, <GEN113> line 3.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 167) line 1, <GEN113> line 6.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 170) line 1, <GEN113> line 9.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 173) line 1, <GEN113> line 12.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 176) line 1, <GEN113> line 15.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 179) line 1, <GEN113> line 18.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 182) line 1, <GEN113> line 21.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 185) line 1, <GEN113> line 24.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 188) line 1, <GEN113> line 27.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 191) line 1, <GEN113> line 30.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 194) line 1, <GEN113> line 33.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 197) line 1, <GEN113> line 36.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 200) line 1, <GEN113> line 39.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 203) line 1, <GEN113> line 42.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 206) line 1, <GEN113> line 45.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 209) line 1, <GEN113> line 48.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 212) line 1, <GEN113> line 51.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 215) line 1, <GEN113> line 54.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 218) line 1, <GEN113> line 57.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:33:25 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 221) line 1, <GEN113> line 60.
2014.11.04 21:33:25 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:35:00 3: CUL_HM set CUL_HM_HM_LC_SW1_BA_PCB_291A4C off
2014.11.04 21:42:59 2: SOMFY set RolloWohnG on: sAC4000AC000007
2014.11.04 21:42:59 2: SOMFY set RolloWohnS on: sAE4000DE000005
2014.11.04 21:42:59 2: SOMFY set RolloKueche on: sAB4000CB1A1A1A
2014.11.04 21:42:59 2: SOMFY set Terrassentuer on: sA64000E6000008
2014.11.04 21:42:59 2: SOMFY set RolloEingang on: sA5400095ABC666
2014.11.04 21:43:00 3: CUL_0: Unknown code YsACEFEF43444444, help me!
2014.11.04 21:43:01 3: CUL_0: Unknown code YsAEE8E836333333, help me!
2014.11.04 21:43:02 3: CUL_0: Unknown code YsABE2E229332933, help me!
2014.11.04 21:43:03 3: CUL_0: Unknown code YsA6EEEE08000000, help me!
2014.11.04 21:43:04 3: CUL_0: Unknown code YsA5E9E97C1ADC77, help me!
2014.11.04 21:43:26 2: SOMFY set RolloEingang on: sA6400096ABC666
2014.11.04 21:43:27 3: CUL_0: Unknown code YsA6EAEA7C1ADC77, help me!
2014.11.04 21:44:01 1: PERL WARNING: Argument "ok"?0" isn't numeric in subtraction (-) at ./FHEM/92_FileLog.pm line 610.
2014.11.04 21:44:01 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 237) line 1, <GEN165> line 1.
2014.11.04 21:44:01 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:01 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 240) line 1, <GEN166> line 3.
2014.11.04 21:44:01 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:01 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 243) line 1, <GEN166> line 6.
2014.11.04 21:44:01 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:01 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 246) line 1, <GEN166> line 9.
2014.11.04 21:44:01 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:01 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 249) line 1, <GEN166> line 12.
2014.11.04 21:44:01 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:01 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 252) line 1, <GEN166> line 15.
2014.11.04 21:44:01 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:01 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 255) line 1, <GEN166> line 18.
2014.11.04 21:44:01 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:01 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 258) line 1, <GEN166> line 21.
2014.11.04 21:44:01 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:01 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 261) line 1, <GEN166> line 24.
2014.11.04 21:44:02 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:02 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 264) line 1, <GEN166> line 27.
2014.11.04 21:44:02 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:02 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 267) line 1, <GEN166> line 30.
2014.11.04 21:44:02 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:02 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 270) line 1, <GEN166> line 33.
2014.11.04 21:44:02 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:02 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 273) line 1, <GEN166> line 36.
2014.11.04 21:44:02 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:02 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 276) line 1, <GEN166> line 39.
2014.11.04 21:44:02 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:02 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 279) line 1, <GEN166> line 42.
2014.11.04 21:44:02 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:02 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 282) line 1, <GEN166> line 45.
2014.11.04 21:44:02 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:02 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 285) line 1, <GEN166> line 48.
2014.11.04 21:44:02 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:02 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 288) line 1, <GEN166> line 51.
2014.11.04 21:44:02 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:02 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 291) line 1, <GEN166> line 54.
2014.11.04 21:44:02 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:02 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 294) line 1, <GEN166> line 57.
2014.11.04 21:44:02 3: eval: $fld[3]=~"closed"?1:0
2014.11.04 21:44:02 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 297) line 1, <GEN166> line 60.
2014.11.04 21:44:02 3: eval: $fld[3]=~"closed"?1:0

betateilchen


  • Warnings sind keine Fehler, sonst würde da ERROR stehen
  • Das Forum ist voll von vergleichbaren Meldungen (und Lösungen dazu)
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

Matthias76

#2
Ich habe jetzt mal nach "Use of uninitialized value $fld[3]" gesucht. Es stimmt, es gibt viele Fundorte.
Ab der 5. bekommt man auch mal eine Antwort. Wobei es hier in die Richtung geht, dass jemand einen neuen Plot angelegt hat und dabei einen Fehler gemacht hat. Ab dem Lesen von [..."closed"?1:0] dachte ich mir schon, dass es in Richtung SVG-Plot geht.

Ich hatte jedoch keinen Fehler vor dem Update. Liege ich also richtig, dass sich mit dem FHEM-Update etwas an irgendeinen Logfile verändert hat, so dass das bisher funktionierende Plot jetzt nicht mehr 100% korrekt ist? Muss ja...

OK, dann muss ich einen Fehler in einem Log/Plot bezüglich der neuen Struktur suchen oder den Plot neu anlegen. Nur welcher ist das?
Wie komme ich denn von "(eval 24) line 1, <GEN74> line 25" auf die richtige Datei.
Wer oder was ist "eval 24" und "gen74", ohne jetzt alle Handbücher zu FHEM und PERL zu studieren?

Vielleicht eine Anregung für die Zukunft: "Warning... ...in filename1.cfg line 56"

---
Nachtrag:
Ich habe die Datei auch so gefunden, worin das fld[3] vorkommt:

# Created by FHEM/98_SVG.pm, 2014-10-19 00:08:49
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set title 'SolarPower'
set ytics ("Open" 0, "Closed" 1)
set y2tics ("Open" 0, "Closed" 1)
set grid
set ylabel ""
set y2label "SolarPower"
set yrange [-0.1:1.1]
set y2range [-0.1:1.1]

#FileLog 3:CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01.*:0:$fld[3]=~"closed"?1:0

plot "<IN>" using 1:2 axes x1y2 title 'PowerDa' ls l0 lw 1 with steps


Log dazu:
2014-11-04_13:31:39 CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01 contact: closed (to CUL_0)
2014-11-04_13:48:12 CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01 battery: ok
2014-11-04_13:48:12 CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01 open
2014-11-04_13:48:12 CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01 contact: open (to CUL_0)
2014-11-04_13:57:23 CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01 battery: ok
2014-11-04_13:57:23 CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01 closed


---
Nachtrag 2:
Ich hatte noch eine Kopie davon, ein Relikt, welches vorher wohl nicht störte.
Dieses habe ich gelöscht, dann den Server neu gestartet und jetzt sind diese speziellen Perl-Warnungen weg.

Matthias76

#3
Nein, gestern erschienen die Perl-Meldungen nicht mehr.
Heute sind sie wieder da.

Oben seht ihr mein SVG-Plot.
Bis zu dem FHEM-Update hat es die Meldungen nicht gegeben, nie.
Der Plot funktioniert übrigens auch noch.

Was könnte darin falsch sein.
Der Inhalt steht oben noch.

2014.11.05 17:27:29 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 20) line 1, <GEN66> line 23.
2014.11.05 17:27:29 3: eval: $fld[3]=~"closed"?1:0
2014.11.05 17:27:29 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 23) line 1, <GEN66> line 26.
2014.11.05 17:27:29 3: eval: $fld[3]=~"closed"?1:0
2014.11.05 17:27:29 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 26) line 1, <GEN66> line 29.
2014.11.05 17:27:29 3: eval: $fld[3]=~"closed"?1:0
2014.11.05 17:27:29 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 29) line 1, <GEN66> line 32.
2014.11.05 17:27:29 3: eval: $fld[3]=~"closed"?1:0
2014.11.05 17:27:48 3: CUL_HM set CUL_HM_HM_CC_VD_1CF0B4 getConfig
2014.11.05 17:28:51 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 38) line 1, <GEN74> line 3.
2014.11.05 17:28:51 3: eval: $fld[3]=~"closed"?1:0
2014.11.05 17:28:51 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 41) line 1, <GEN74> line 6.
2014.11.05 17:28:51 3: eval: $fld[3]=~"closed"?1:0
2014.11.05 17:28:51 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 44) line 1, <GEN74> line 9.
2014.11.05 17:28:51 3: eval: $fld[3]=~"closed"?1:0
2014.11.05 17:28:51 1: PERL WARNING: Use of uninitialized value $fld[3] in pattern match (m//) at (eval 47) line 1, <GEN74> line 12.
2014.11.05 17:28:51 3: eval: $fld[3]=~"closed"?1:0


Ach, ist es möglich das heute die eine Plot-Datei (frühere Experimentierkopie) wieder da war, obwohl ich sie gestern gelöscht hatte?
Jedenfalls war wieder eine da, die ich nicht brauche, die nach der aussah, die ich gestern löschte.
Jetzt wieder gelöscht.

Matthias76

#4
Thread wieder offen.
Die Meldungen erschienen erneut, die vielleicht schadhafte Datei blieb jedoch diesmal weg:
-rw-r--r-- 1 fhem dialout  823 Sep  6 11:35 SVG_FileLog_CUL_HM_HM_CC_TC_187A48_3.gplot
-rw-r--r-- 1 fhem dialout  808 Sep  6 12:18 SVG_FileLog_CUL_HM_HM_CC_TC_1CE481_1.gplot
-rw-r--r-- 1 fhem dialout  504 Oct 19 00:08 SVG_FileLog_CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01_1.gplot
-rw-r--r-- 1 fhem dialout  470 Sep  6 09:19 SVG_FileLog_CUL_HM_THSensor_1B5AE5_1.gplot


Es sind nur die 4, die ich auch habe und nutze.
Wahrscheinlich ist in der ...3_FM_23F8F2_Sw_01_1.gplot tatsächlich ein Fehler, obwohl das Ergebnis brauchbar aussieht.

Also muss ich wohl doch die Frage an einen SVG-gPlot-Erfahrenen richten.
Die Datei entstand auf Basis von Beispielen aus dem Netz, ohne dass ich im Detail nachvollziehe, wie der Aufbau der Logs und dessen Abfrage beim SVG sein muss.

Im Anhang ist der Plot unten zu sehen.

Ich habe jetzt mal das fld[3] rausgelöscht, um zu sehen, wie sich der Plot dann verändert.
#FileLog 3:CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01.*:0:$fld[3]=~"closed"?1:0
Dann habe ich keine Linie mehr, die mal auf 0, mal auf 1 und sonst zwischen 1 und 0 springt, sondern nur noch Punkte, die eine Linie bilden auf der 1.

Irgendwie fehlt mir bei den Plots noch der Durchblick, wenn man mehr als nur 1-2 gebene Werte direkt darstellen, sondern ein "an" oder "closed" bzw. ein "aus" oder "open" zu einer Anzeige wie eine Rechteckspannung bringen will, bzw. wie man ein "open" zu einer 0 und ein "closed" zu einer 1 übersetzt und im Nachgang oder gleichen Schritt dann so als 0%, 100% oder als Wert 1 oder 0 auf einer Skala von 0.0 bis 1.0 o.ä. abbildet.

Das mit dem fld[3] stammt aus einem Forenthread mit Fenstersensor.
Auch eine andere Variante verstehe ich nicht so wirklich.
http://forum.fhem.de/index.php?topic=16939.0


Matthias76

#5
Ich habe mir gestern und eben noch viel den Kopf zermartert, was darin falsch sein könnte, ja, den Aufbau überhaupt erstmal zu verstehen.
Ich finde die FHEM-Dokus an dieser Stelle nicht gut, zumindest wenn man mit Perl quasi keine Erfahrung hat.

So habe ich mir erstmal angeschaut, was es überhaupt mit den Perl "Regular Expressions" auf sich hat und was man damit machen kann.
Dann dachte ich, baue ich das nach meinen neuen Verständnis nochmal neu auf:
#FileLog 3:CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01.*:0:=~/s/closed$/1
Funktion: Vergleiche diese Stelle (den String an der dritten Stelle) - schaue ob am Ende "closed" steht und ersetze es dann mit "1".
So dachte ich, wäre dann der Wert 1 und damit auch der Graph auf der 1, andernfalls defaultmäßig 0.
Das funktionierte überhaupt nicht, wobei ich auch nicht weiß, ob als Funktion an der Stelle eine solche Perl RegEx auftauchen darf.

Dann schaute ich in die FHEM reference und laß dieses:
ZitatAnd then there is this: the string is evaluated as a perl expression. @fld is the current line splitted by spaces (0-based). So you can do something like $fld[3]=~"on"?0.9:0.8 to map the 4th field which contains an on/off information into numerical values to be plotted in a graph. Be warned though: this string/perl expression cannot (!) contain any spaces.

Wenn man sich genau daran hält, dann sieht der Aufruf am Ende wieder so aus:
#FileLog 3:CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01.*:0:$fld[3]=~"closed"?1:0
Also wie ich es zuvor hatte. Oder meint fld[3] die vierte Spalte? (Irritiert durch die Referenz), aber auch in der 4. kommt closed vor, ok.
2014-10-17_15:41:11 CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01 contact: closed (to CUL_0)

Demnach hätte ich mit diesem Thread doch nichts anderes getan, als einen neuen Bug (durch das FHEM Update) aufgezeigt.
Der Plot funktioniert damit wieder und die Perl-Warnungen im FHEM-Log nerven wieder gelegentlich rum, was sie halt vor dem Update nicht taten.

Es gibt auch andere die Leute, die so einen Fehler haben bzw. hatten, jedoch bereits vor Monaten, also vor diesem Update:
http://forum.fhem.de/index.php?topic=13985.5
Die Lösung von rudolfkoenig funktioniert hier nicht, weil dann der erste Anstieg von 0 auf 1 nicht grafisch vorhanden ist - sieht doof aus.
fld[2] oder [4] würde andere Darstellungsfehler verursachen. Also nur .*  nicht .contact und nur fld[3] führt zur ordentlichen Darstellung.

Für alles Andere: Wenn ich gewusst hätte, dass es in diese Richtung geht, hätte ich es gleich in "Anfängerfragen" gepackt, sorry.

Jedenfalls wird mir die Logik in manch einem Detail auch nicht ganz klar und da sie jedem FHEM- oder Perl-Crack vollkommen klar ist, wird es dann auch in der ein oder anderen Doku nicht oder nicht hinreichend erwähnt/erläutert.

Ich lass mich gerne korrigieren...
Das hier ist der Vergleichsoperator: =~
$fld[3] bedeutet nichts anderes, als das #FileLog 3 am Anfang, also dass wir hier die dritte Spalte betrachten wollen.
"closed"?1:0 bildet eine Art IF-Abfrage. Wenn "closed", dann "1", korrekt. Bedeutet :0 hier ein ELSE?
Klar, die Logzeile setzt den Graphen dann auf 1: 2014-11-06_10:21:22 CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01 closed
Eine Batteriemeldung müsste ihn dann aber auch auf 0 setzen: 2014-11-06_13:58:21 CUL_HM_HM_SCI_3_FM_23F8F2_Sw_01 battery: ok (nehmen wir an, es wäre nicht ok).
Oder kommt das gar nicht vor, so lange open/close sich nicht ändert.