FHEM Forum

FHEM => Frontends => SVG / Plots / logProxy => Thema gestartet von: Heatseeker am 01 April 2024, 10:18:57

Titel: SVG Plot Problem in 24Std Darstellung
Beitrag von: Heatseeker am 01 April 2024, 10:18:57
Moin,

ich habe am 28.03. mein FHEM geupdatet und habe seit dem 29.03 ein Problem mit der SVG Plot Darstellung. Der PLot oder das filelog dazu wurde nicht geändert.
Und zwar wird mir für drei Plots welche das selbe filelog nutzen die Tagesdarstellungen nicht dargestellt. Also 0-24 Uhr. Wenn ich auf "+" gehe und dadurch nur 6 Std darstelle, werden alle Daten angezeigt. Es mag sein, dass ich noch "libdatetime-format-strptime-perl" für solarforecast nachinstalliert habe, aber alle anderen Plots funktionieren ja, jemand eine idee?

Grüße
Heatseeker
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: betateilchen am 01 April 2024, 10:46:25
Zu wenige Informationen, um Dir helfen zu können.

Zumindest ein Screenshot, auf dem man das "Problem" sieht, wäre schonmal hilfreich.
Und/oder vielleicht ein list des SVG devices nebst gplot-file.
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: Heatseeker am 01 April 2024, 11:03:10
Moin,
alles klar. Anbei die Ansicht in der 24Std standart Ansicht:
Screenshot 2024-04-01 105514.png
und in 6 Std Ansicht:
Screenshot 2024-04-01 105715.png

heißt für mich: Daten sind vorhanden und der Plot ist richtig aufgesetzt. (Hatte auch nichts daran verändert)
Und das List:
Internals:
   DEF        FileLog_Stromverbrauch:SVG_FileLog_Stromverbrauch_1:CURRENT
   FUUID      6027f9e8-f33f-5529-e202-a6cf70eb3b4bf319
   GPLOTFILE  SVG_FileLog_Stromverbrauch_1
   LOGDEVICE  FileLog_Stromverbrauch
   LOGFILE    CURRENT
   NAME       SVG_FileLog_Stromverbrauch_1
   NR         103
   STATE      initialized
   TYPE       SVG
Attributes:
   alias      SVG_FileLog_Stromverbrauch_1
   room       Technik

und das gplot File im Anhang, ebenso die Quelldatei von heute.
 
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: betateilchen am 01 April 2024, 11:07:14
Im gplot Editor gibt es einen Link "Show preprocessed input" - werden darin Daten angezeigt, wenn Du in der 24-Stunden Sicht bist?
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: Nobbynews am 01 April 2024, 11:18:07
Ich hatte so einen Effekt mal im Zusammenhang mit der Zeitumstellung.
Da fehlt halt am 31.3. eine Stunde in der Zeitleiste.
Dein Filelog ist ja so definiert, dass es nicht für jeden Tag oder jeden Monat ein eigenes File gibt.
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: Heatseeker am 01 April 2024, 11:20:02
Ja werden:
Screenshot 2024-04-01 111556.png
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: Heatseeker am 01 April 2024, 11:21:01
Zitat von: Nobbynews am 01 April 2024, 11:18:07Ich hatte so einen Effekt mal im Zusammenhang mit der Zeitumstellung.
Da fehlt halt am 31.31. eine Stunde in der Zeitleiste.
Dein Filelog ist ja so definiert, dass es nicht für jeden Tag oder jeden Monat ein eigenes File gibt.
Mein Problem fing jedoch schon am 29.03. an was vor der Zeitumstellung war, weshalb ich das erstmal ausschließen würde.
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: Heatseeker am 01 April 2024, 11:23:26
Ich seh aber, dass das "show processed data" in der 6Std Übersicht mehr Daten anzeigt:
get FileLog_PV CURRENT INT 2024-04-01_06:00:00 2024-04-01_11:59:59 4:Sun2000.WR_Eingangsleistung_Solar_W\x3a:: 4:Sun2000.PM_Momentanleistung_W\x3a:: 4:Sun2000.WR_Internal_temperature\x3a::

2024-04-01_06:01:56 0
2024-04-01_06:03:57 0
2024-04-01_06:05:58 0
2024-04-01_06:07:58 0
2024-04-01_06:09:59 0
2024-04-01_06:12:00 0
2024-04-01_06:14:02 0
2024-04-01_06:16:16 0
2024-04-01_06:18:17 0
2024-04-01_06:20:20 0
2024-04-01_06:22:21 0
2024-04-01_06:24:24 0
2024-04-01_06:26:26 1
2024-04-01_06:28:27 1
2024-04-01_06:30:28 1
2024-04-01_06:32:29 1
2024-04-01_06:34:30 1
2024-04-01_06:36:32 2
2024-04-01_06:38:34 2
2024-04-01_06:40:37 2
2024-04-01_06:42:42 3
2024-04-01_06:44:43 3
2024-04-01_06:46:44 4
2024-04-01_06:48:45 4
2024-04-01_06:50:46 6
2024-04-01_06:52:47 7
2024-04-01_06:54:50 7
2024-04-01_06:56:52 8
2024-04-01_06:58:53 8
2024-04-01_07:01:12 7
2024-04-01_07:03:14 8
2024-04-01_07:05:17 8
2024-04-01_07:07:17 9
2024-04-01_07:09:19 11
2024-04-01_07:11:20 10
2024-04-01_07:13:22 11
2024-04-01_07:15:23 14
2024-04-01_07:17:25 16
2024-04-01_07:19:25 18
2024-04-01_07:21:26 22
2024-04-01_07:23:29 25
2024-04-01_07:25:32 28
2024-04-01_07:27:33 30
2024-04-01_07:29:36 33
2024-04-01_07:31:38 32
2024-04-01_07:33:40 37
2024-04-01_07:35:41 51
2024-04-01_07:37:45 58
2024-04-01_07:39:52 61
2024-04-01_07:41:53 58
2024-04-01_07:43:53 56
2024-04-01_07:45:55 56
2024-04-01_07:47:56 57
2024-04-01_07:49:58 59
2024-04-01_07:52:12 54
2024-04-01_07:54:15 54
2024-04-01_07:56:18 50
2024-04-01_07:58:39 44
2024-04-01_08:00:43 40
2024-04-01_08:02:44 33
2024-04-01_08:05:18 31
2024-04-01_08:07:20 31
2024-04-01_08:09:22 34
2024-04-01_08:11:27 45
2024-04-01_08:13:28 58
2024-04-01_08:15:32 71
2024-04-01_08:17:38 80
2024-04-01_08:19:56 99
2024-04-01_08:21:57 104
2024-04-01_08:24:00 105
2024-04-01_08:26:18 97
2024-04-01_08:28:19 87
2024-04-01_08:30:24 77
2024-04-01_08:32:40 81
2024-04-01_08:34:41 79
2024-04-01_08:36:43 87
2024-04-01_08:38:45 88
2024-04-01_08:40:48 89
2024-04-01_08:42:49 92
2024-04-01_08:44:50 99
2024-04-01_08:46:51 100
2024-04-01_08:48:56 96
2024-04-01_08:50:57 90
2024-04-01_08:52:58 88
2024-04-01_08:55:04 133
2024-04-01_08:57:18 117
2024-04-01_08:59:19 122
2024-04-01_09:01:21 143
2024-04-01_09:03:22 118
2024-04-01_09:05:40 145
2024-04-01_09:07:41 143
2024-04-01_09:09:46 129
2024-04-01_09:12:01 101
2024-04-01_09:14:01 101
2024-04-01_09:16:06 128
2024-04-01_09:18:08 121
2024-04-01_09:20:12 92
2024-04-01_09:22:14 90
2024-04-01_09:24:14 88
2024-04-01_09:26:16 81
2024-04-01_09:28:16 81
2024-04-01_09:30:20 87
2024-04-01_09:32:21 86
2024-04-01_09:34:22 79
2024-04-01_09:36:22 83
2024-04-01_09:38:24 84
2024-04-01_09:40:29 84
2024-04-01_09:42:31 82
2024-04-01_09:44:34 76
2024-04-01_09:46:35 73
2024-04-01_09:48:36 11
2024-04-01_09:50:40 14
2024-04-01_09:52:44 14
2024-04-01_09:54:44 12
2024-04-01_09:57:02 5
2024-04-01_09:59:02 8
2024-04-01_10:01:05 7
2024-04-01_10:03:12 4
2024-04-01_10:05:14 1
2024-04-01_10:07:16 9
2024-04-01_10:09:23 7
2024-04-01_10:11:38 7
2024-04-01_10:13:38 21
2024-04-01_10:15:40 26
2024-04-01_10:17:44 31
2024-04-01_10:19:46 37
2024-04-01_10:21:49 20
2024-04-01_10:23:57 14
2024-04-01_10:25:59 12
2024-04-01_10:28:00 12
2024-04-01_10:30:02 21
2024-04-01_10:32:03 30
2024-04-01_10:34:03 36
2024-04-01_10:36:06 38
2024-04-01_10:38:08 42
2024-04-01_10:40:09 62
2024-04-01_10:42:09 78
2024-04-01_10:44:11 73
2024-04-01_10:46:13 59
2024-04-01_10:48:13 50
2024-04-01_10:50:15 75
2024-04-01_10:52:16 132
2024-04-01_10:54:18 0
2024-04-01_10:56:20 134
2024-04-01_10:58:25 107
2024-04-01_11:00:29 115
2024-04-01_11:02:34 204
2024-04-01_11:04:34 282
2024-04-01_11:06:37 291
2024-04-01_11:08:51 270
2024-04-01_11:10:54 239
2024-04-01_11:12:54 206
2024-04-01_11:14:55 191
2024-04-01_11:16:55 178
2024-04-01_11:19:12 167
2024-04-01_11:21:13 147
#4:Sun2000.WR_Eingangsleistung_Solar_W\x3a::
2024-04-01_06:01:41 -3
2024-04-01_06:03:45 -7
2024-04-01_06:05:48 -4
2024-04-01_06:07:48 4
2024-04-01_06:10:16 -4
2024-04-01_06:12:17 -1
2024-04-01_06:14:18 4
2024-04-01_06:16:20 -10
2024-04-01_06:18:37 0
2024-04-01_06:20:51 0
2024-04-01_06:22:57 -3
2024-04-01_06:24:59 0
2024-04-01_06:27:00 1
2024-04-01_06:29:17 5
2024-04-01_06:31:18 0
2024-04-01_06:33:35 -1
2024-04-01_06:35:35 -3
2024-04-01_06:37:38 3
2024-04-01_06:39:57 0
2024-04-01_06:42:03 0
2024-04-01_06:44:18 -1
2024-04-01_06:46:18 1
2024-04-01_06:48:33 0
2024-04-01_06:50:35 -9
2024-04-01_06:52:37 0
2024-04-01_06:54:55 -3
2024-04-01_06:56:55 2
2024-04-01_06:58:56 3
2024-04-01_07:01:16 0
2024-04-01_07:03:17 -12
2024-04-01_07:05:34 -6
2024-04-01_07:07:35 -2
2024-04-01_07:09:37 -5
2024-04-01_07:11:54 0
2024-04-01_07:13:57 0
2024-04-01_07:15:58 -1
2024-04-01_07:17:58 -5
2024-04-01_07:19:58 -9
2024-04-01_07:22:01 -1
2024-04-01_07:24:03 0
2024-04-01_07:26:04 -5
2024-04-01_07:28:06 0
2024-04-01_07:30:12 0
2024-04-01_07:32:28 5
2024-04-01_07:34:29 2
2024-04-01_07:36:35 -1
2024-04-01_07:38:42 0
2024-04-01_07:40:57 -9
2024-04-01_07:43:12 1
2024-04-01_07:45:14 7
2024-04-01_07:47:29 0
2024-04-01_07:49:29 1
2024-04-01_07:51:30 -1
2024-04-01_07:53:35 1
2024-04-01_07:55:52 2
2024-04-01_07:57:57 2
2024-04-01_08:00:15 2
2024-04-01_08:02:19 -2
2024-04-01_08:04:34 -10
2024-04-01_08:06:35 1
2024-04-01_08:08:39 0
2024-04-01_08:10:40 -4
2024-04-01_08:12:45 -1
2024-04-01_08:14:48 -2
2024-04-01_08:16:52 0
2024-04-01_08:18:57 -1
2024-04-01_08:20:58 -1
2024-04-01_08:23:02 -15
2024-04-01_08:25:18 -6
2024-04-01_08:27:22 1
2024-04-01_08:29:23 2
2024-04-01_08:31:27 1
2024-04-01_08:33:44 -11
2024-04-01_08:35:47 3
2024-04-01_08:37:50 -3
2024-04-01_08:40:07 1
2024-04-01_08:42:09 7
2024-04-01_08:44:23 2
2024-04-01_08:46:25 2
2024-04-01_08:48:31 -2
2024-04-01_08:50:47 0
2024-04-01_08:52:48 1
2024-04-01_08:54:53 0
2024-04-01_08:57:07 -2
2024-04-01_08:59:10 1
2024-04-01_09:01:26 3
2024-04-01_09:03:26 -11
2024-04-01_09:05:45 -828
2024-04-01_09:08:00 -4
2024-04-01_09:10:00 87
2024-04-01_09:12:06 1
2024-04-01_09:14:25 0
2024-04-01_09:16:25 -19
2024-04-01_09:18:33 0
2024-04-01_09:20:34 4
2024-04-01_09:22:47 -5
2024-04-01_09:24:50 0
2024-04-01_09:26:50 -1
2024-04-01_09:28:52 1
2024-04-01_09:30:56 3
2024-04-01_09:33:10 0
2024-04-01_09:35:11 0
2024-04-01_09:37:14 8
2024-04-01_09:39:15 4
2024-04-01_09:41:19 1
2024-04-01_09:43:23 -1
2024-04-01_09:45:23 -4
2024-04-01_09:47:24 -54
2024-04-01_09:49:28 -243
2024-04-01_09:51:34 -189
2024-04-01_09:53:48 -224
2024-04-01_09:55:50 -292
2024-04-01_09:58:05 -392
2024-04-01_10:00:08 -2586
2024-04-01_10:02:24 -2474
2024-04-01_10:04:46 -2490
2024-04-01_10:06:50 -376
2024-04-01_10:08:51 -359
2024-04-01_10:10:56 -555
2024-04-01_10:13:11 -406
2024-04-01_10:15:14 -348
2024-04-01_10:17:34 -320
2024-04-01_10:19:35 -268
2024-04-01_10:21:39 -302
2024-04-01_10:23:45 -444
2024-04-01_10:26:04 -301
2024-04-01_10:28:04 -303
2024-04-01_10:30:20 -302
2024-04-01_10:32:21 -273
2024-04-01_10:34:23 -303
2024-04-01_10:36:42 -500
2024-04-01_10:38:56 -535
2024-04-01_10:40:56 -451
2024-04-01_10:42:59 -467
2024-04-01_10:45:14 -337
2024-04-01_10:47:15 -361
2024-04-01_10:49:15 -337
2024-04-01_10:51:20 -450
2024-04-01_10:53:38 -438
2024-04-01_10:55:50 -427
2024-04-01_10:57:54 -518
2024-04-01_10:59:58 -310
2024-04-01_11:02:03 -236
2024-04-01_11:04:08 -278
2024-04-01_11:06:22 -147
2024-04-01_11:08:27 -161
2024-04-01_11:10:44 -177
2024-04-01_11:12:45 -141
2024-04-01_11:15:00 -262
2024-04-01_11:17:15 -204
2024-04-01_11:19:30 -346
2024-04-01_11:21:31 -228
#4:Sun2000.PM_Momentanleistung_W\x3a::
2024-04-01_06:03:30 41.3
2024-04-01_06:10:15 41.3
2024-04-01_06:17:02 41.3
2024-04-01_06:23:58 41.3
2024-04-01_06:30:44 41.3
2024-04-01_06:37:37 41.4
2024-04-01_06:44:17 41.3
2024-04-01_06:51:04 41.3
2024-04-01_06:58:08 41.3
2024-04-01_07:04:33 41.2
2024-04-01_07:11:22 41.2
2024-04-01_07:17:55 41.3
2024-04-01_07:24:33 41.3
2024-04-01_07:31:12 41.4
2024-04-01_07:37:32 41.3
2024-04-01_07:43:55 41.4
2024-04-01_07:50:44 41.5
2024-04-01_07:57:11 41.6
2024-04-01_08:03:46 41.4
2024-04-01_08:10:25 41.4
2024-04-01_08:16:50 41.5
2024-04-01_08:23:13 41.6
2024-04-01_08:29:56 41.5
2024-04-01_08:36:44 41.6
2024-04-01_08:43:22 41.5
2024-04-01_08:50:16 41.6
2024-04-01_08:56:51 41.7
2024-04-01_09:03:38 41.8
2024-04-01_09:10:17 42.3
2024-04-01_09:16:55 42.3
2024-04-01_09:23:46 42.2
2024-04-01_09:30:22 42.3
2024-04-01_09:37:11 42.1
2024-04-01_09:43:36 42.2
2024-04-01_09:50:11 42.2
2024-04-01_09:57:04 42.1
2024-04-01_10:03:27 42
2024-04-01_10:10:07 42
2024-04-01_10:16:58 41.9
2024-04-01_10:23:21 41.8
2024-04-01_10:29:49 41.6
2024-04-01_10:36:39 41.8
2024-04-01_10:43:26 41.6
2024-04-01_10:50:18 41.6
2024-04-01_10:57:07 40.5
2024-04-01_11:03:36 40.4
2024-04-01_11:10:25 40.9
2024-04-01_11:17:12 41.3
#4:Sun2000.WR_Internal_temperature\x3a::

und bei 24 Std:
get FileLog_PV CURRENT INT 2024-04-01_00:00:00 2024-04-01_23:59:59 4:Sun2000.WR_Eingangsleistung_Solar_W\x3a:: 4:Sun2000.PM_Momentanleistung_W\x3a:: 4:Sun2000.WR_Internal_temperature\x3a::

2024-04-01_00:00:14 0
2024-04-01_00:02:15 0
2024-04-01_00:04:22 0
#4:Sun2000.WR_Eingangsleistung_Solar_W\x3a::
2024-04-01_00:00:17 1
2024-04-01_00:02:20 2
2024-04-01_00:04:27 0
#4:Sun2000.PM_Momentanleistung_W\x3a::
2024-04-01_00:00:30 41.7
#4:Sun2000.WR_Internal_temperature\x3a::
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: Nobbynews am 01 April 2024, 11:31:56
Zitat von: Heatseeker am 01 April 2024, 11:21:01Mein Problem fing jedoch schon am 29.03. an was vor der Zeitumstellung war, weshalb ich das erstmal ausschließen würde.
Ok, das hatte ich überlesen.
Unabhängig vom Inhalt über 'show processed data' würde mir mal den Inhalt der Logdatei direkt ansehen.
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: Heatseeker am 01 April 2024, 11:59:08
processed Data, siehe oben. Was mir auffällt, ist das die Daten vom 24-Std log gar nicht in der Form im logfile stehen... Das fängt mit:
2024-04-01_00:04:35 Strom Verbrauch_kWh: 1096.9798
2024-04-01_00:04:35 Strom Einspeisung_kWh: 2143.4663
2024-04-01_00:04:35 Strom statVerbrauch_kWhDay: 0.0004
2024-04-01_00:04:35 Strom statEinspeisung_kWhDay: 0.0003
2024-04-01_00:09:41 Strom Verbrauch_kWh: 1096.98
2024-04-01_00:09:41 Strom Einspeisung_kWh: 2143.4664
2024-04-01_00:09:41 Strom statEinspeisung_kWhDay: 0.0004
2024-04-01_00:09:41 Strom statVerbrauch_kWhDay: 0.0006
2024-04-01_00:14:45 Strom Verbrauch_kWh: 1096.9801

Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: Heatseeker am 01 April 2024, 12:04:49
gelöscht....
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: betateilchen am 01 April 2024, 12:08:10
weil Du mit unterschiedlichen Logfiles rumwurschtelst.

im SVG verwendest Du: FileLog_PV

die Daten präsentierst Du aber aus: FileLog_Stromverbrauch

Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: betateilchen am 01 April 2024, 12:09:08
Zitat von: Heatseeker am 01 April 2024, 12:04:49gelöscht....

Das ist kontraproduktiv, wenn man versucht, Dir helfen zu wollen.
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: Heatseeker am 01 April 2024, 12:15:02
Moin,

ich bin da auch etwas verwirrt mit den Namen, aber das Filelog_PV ist das korrekte:
Internals:
   DEF        ./log/PV-%Y-%m.log Sun2000:ESS_Maximum_Ladepower_W:.*|Sun2000:ESS_Momentanleistung_W:.*|Sun2000:ESS_SoC:.*|Sun2000:Gesamtertrag2_corr_kWh:.*|Sun2000:Gesamtertrag2_kWh:.*|Sun2000:Hausverbrauch_W:.*|Sun2000:PM_Momentanleistung_W:.*|Sun2000:WR_Eingangsleistung_Solar_W:.*|Sun2000:WR_Energie_Tag_kWh:.*|Sun2000:WR_Internal_temperature:.*|Sun2000:WR_Momentanleistung_W:.*|forecast:AllPVforecastsToEvent:.*|forecast:LastHourPVforecast:.*|forecast:LastHourPVreal:.*
   FD         82
   FUUID      64a13ded-f33f-14ab-a3fb-da96368e8df57af6
   NAME       FileLog_PV
   NOTIFYDEV  forecast,Sun2000
   NR         1300
   NTFY_ORDER 50-FileLog_PV
   REGEXP     Sun2000:ESS_Maximum_Ladepower_W:.*|Sun2000:ESS_Momentanleistung_W:.*|Sun2000:ESS_SoC:.*|Sun2000:Gesamtertrag2_corr_kWh:.*|Sun2000:Gesamtertrag2_kWh:.*|Sun2000:Hausverbrauch_W:.*|Sun2000:PM_Momentanleistung_W:.*|Sun2000:WR_Eingangsleistung_Solar_W:.*|Sun2000:WR_Energie_Tag_kWh:.*|Sun2000:WR_Internal_temperature:.*|Sun2000:WR_Momentanleistung_W:.*|forecast:AllPVforecastsToEvent:.*|forecast:LastHourPVforecast:.*|forecast:LastHourPVreal:.*
   STATE      active
   TYPE       FileLog
   currentlogfile ./log/PV-2024-04.log
   logfile    ./log/PV-%Y-%m.log
   READINGS:
     2024-04-01 12:12:50   linesInTheFile  2909
   pos:
Attributes:
   filelog-event-min-interval Sun2000:ESS_Maximum_Ladepower_W:120,Sun2000:WR_Momentanleistung:120,Sun2000:ESS_SoC:240,Sun2000:WR_Internal_temperature:300,Sun2000:PM_Momentanleistung_W:120,Sun2000:WR_Eingangsleistung_Solar_W:120,Sun2000:ESS_Momentanleistung_W:120,Sun2000:Hausverbrauch_W:120,Sun2000:WR_Energie_Tag_kWh:600,Sun2000:Gesamtertrag2_corr_kWh:180,Sun2000:Gesamtertrag2_kWh:180
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: Heatseeker am 01 April 2024, 12:17:27
Zitat von: betateilchen am 01 April 2024, 12:08:10weil Du mit unterschiedlichen Logfiles rumwurschtelst.

im SVG verwendest Du: FileLog_PV

die Daten präsentierst Du aber aus: FileLog_Stromverbrauch


das stimmt ich bin nur auch über die falsche Verlinkung in FHEM gestolpert. Warum macht der das?

Screenshot 2024-04-01 121645.png
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: betateilchen am 01 April 2024, 12:26:38
Zitat von: Heatseeker am 01 April 2024, 12:17:27das stimmt ich bin nur auch über die falsche Verlinkung in FHEM gestolpert. Warum macht der das?

Weil Du das im gplot Editor so angegeben hast:

bild.png

Im define des SVG gibst Du aber ein anderes Logfile (FileLog_Stromverbrauch) an:

Bildschirmfoto 2024-04-01 um 12.27.25.png

Das kann man so machen, man sollte sich aber darüber bewusst sein, welche Auswirkungen das hat.






Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: Heatseeker am 01 April 2024, 12:49:13
Okay, ich vermute, dass ich später die Datenquelle geändert habe. Kann ich inzwischen nicht mehr nachvollziehen.
Aber ich glaube ich könnte die Ursache gefunden haben. Ein Modul hat ein reading nicht mehr erzeugt (bzw wurde entfernt), welches ich im Log aufgezeichnet habe. Ich habe nun das logging des Readings entfernt und das Log nochmal gelöscht. Im Moment werden die Daten wieder richtig angezeigt. Ich vermute, dass das Reading (welches immer kurz nach Mitternacht neue Daten lieferte) die Datenstrucktur durcheinander gebracht hat weshlab nichts mehr verarbeitet wurde. Wenn ich jedoch einen anderen Zeitbereich ausgewählt habe, klappte es wieder...
Mal morgen sehen, ob alles wieder läuft.
Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: Heatseeker am 01 April 2024, 13:45:00
Noch ein kleines Update, das Reading wurde zwar erzeugt, aber das ist so ein "spezial reading" aus solarforecast welches mir für den folgetag die prognostizierten Tageerzeugungen ins log schrieb. Mit dem Update wurde nun zwei Tage ins log geschrieben anstatt einen (immer kurz nach Mitternacht), weshalb die Tage im Log nicht mehr stetig waren. Statt also 28,29,30... dann 28,29,28,...

Heißt die Tage im Logfile müssen stetig sein...

So vorher:
2024-03-27_23:59:59 forecast AllPVforecastsToEvent: 0 Wh
2024-03-28_06:59:59 forecast AllPVforecastsToEvent: 19 Wh
2024-03-28_07:59:59 forecast AllPVforecastsToEvent: 150 Wh
2024-03-28_08:59:59 forecast AllPVforecastsToEvent: 520 Wh
2024-03-28_09:59:59 forecast AllPVforecastsToEvent: 1120 Wh
2024-03-28_10:59:59 forecast AllPVforecastsToEvent: 1888 Wh
2024-03-28_11:59:59 forecast AllPVforecastsToEvent: 2422 Wh
2024-03-28_12:59:59 forecast AllPVforecastsToEvent: 2674 Wh
2024-03-28_13:59:59 forecast AllPVforecastsToEvent: 2113 Wh
2024-03-28_14:59:59 forecast AllPVforecastsToEvent: 2051 Wh
2024-03-28_15:59:59 forecast AllPVforecastsToEvent: 1330 Wh
2024-03-28_16:59:59 forecast AllPVforecastsToEvent: 640 Wh
2024-03-28_17:59:59 forecast AllPVforecastsToEvent: 220 Wh
2024-03-28_18:59:59 forecast AllPVforecastsToEvent: 176 Wh
2024-03-28_19:59:59 forecast AllPVforecastsToEvent: 0 Wh
2024-03-28_00:00:38 Sun2000 PM_Momentanleistung_W: -219


2024-03-29_00:59:59 forecast AllPVforecastsToEvent: 0 Wh
2024-03-29_06:59:59 forecast AllPVforecastsToEvent: 75 Wh
2024-03-29_07:59:59 forecast AllPVforecastsToEvent: 269 Wh
2024-03-29_08:59:59 forecast AllPVforecastsToEvent: 646 Wh
2024-03-29_09:59:59 forecast AllPVforecastsToEvent: 787 Wh
2024-03-29_10:59:59 forecast AllPVforecastsToEvent: 1634 Wh
2024-03-29_11:59:59 forecast AllPVforecastsToEvent: 2668 Wh
2024-03-29_12:59:59 forecast AllPVforecastsToEvent: 2561 Wh
2024-03-29_13:59:59 forecast AllPVforecastsToEvent: 2361 Wh
2024-03-29_14:59:59 forecast AllPVforecastsToEvent: 1343 Wh
2024-03-29_15:59:59 forecast AllPVforecastsToEvent: 1210 Wh
2024-03-29_16:59:59 forecast AllPVforecastsToEvent: 2588 Wh
2024-03-29_17:59:59 forecast AllPVforecastsToEvent: 808 Wh
2024-03-29_18:59:59 forecast AllPVforecastsToEvent: 0 Wh
2024-03-30_06:59:59 forecast AllPVforecastsToEvent: 139 Wh
2024-03-30_07:59:59 forecast AllPVforecastsToEvent: 693 Wh
2024-03-30_08:59:59 forecast AllPVforecastsToEvent: 921 Wh
2024-03-30_09:59:59 forecast AllPVforecastsToEvent: 1417 Wh
2024-03-30_10:59:59 forecast AllPVforecastsToEvent: 2839 Wh
2024-03-30_11:59:59 forecast AllPVforecastsToEvent: 3201 Wh
2024-03-30_12:59:59 forecast AllPVforecastsToEvent: 4888 Wh
2024-03-30_13:59:59 forecast AllPVforecastsToEvent: 5234 Wh
2024-03-30_14:59:59 forecast AllPVforecastsToEvent: 4937 Wh
2024-03-30_15:59:59 forecast AllPVforecastsToEvent: 2499 Wh
2024-03-30_16:59:59 forecast AllPVforecastsToEvent: 2132 Wh
2024-03-30_17:59:59 forecast AllPVforecastsToEvent: 436 Wh
2024-03-30_18:59:59 forecast AllPVforecastsToEvent: 0 Wh
2024-03-29_00:05:29 Sun2000 PM_Momentanleistung_W: -280

Titel: Aw: SVG Plot Problem in 24Std Darstellung
Beitrag von: betateilchen am 01 April 2024, 14:53:38
Mit DbLog anstatt FileLog müsstest Du Dir über solche Dinge keine Gedanken machen.
Das wäre nur eine einzige Datenquelle und auf dem Timestamp gäbe es eine Index...