Die neue Lebensabfrage für den SONOS-Sub kommt mit der Zeitumschaltung nicht kla

Begonnen von Nobby1805, 29 Oktober 2017, 09:18:34

Vorheriges Thema - Nächstes Thema

Nobby1805

Hallo Reiner,

ich hatte einige Probleme bis wieder alles lief weil ich erst spät gemerkt habe, dass ein Subprocess noch lief und damit einiges gestört wurde :(

Gruß Nobby

2017.10.29 02:00:44.969 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:00:14)... try to restart the process and connection...
2017.10.29 02:01:16.062 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:01:17.319 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:00:45)... try to restart the process and connection...
2017.10.29 02:01:33.447 1: Perfmon: possible freeze starting at 02:01:29, delay is 4.447
2017.10.29 02:01:52.600 1: Perfmon: possible freeze starting at 02:01:43, delay is 9.6
2017.10.29 02:04:35.273 1: Perfmon: possible freeze starting at 02:04:32, delay is 3.273
2017.10.29 02:14:54.858 1: Perfmon: possible freeze starting at 02:14:50, delay is 4.858
2017.10.29 02:15:27.453 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:14:57)... try to restart the process and connection...
Perl exited with active threads:
3 running and unjoined
0 finished and unjoined
3 running and detached
2017.10.29 02:15:58.390 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:16:19.339 1: Perfmon: possible freeze starting at 02:16:13, delay is 6.339
2017.10.29 02:16:25.221 1: Perfmon: possible freeze starting at 02:16:20, delay is 5.221
2017.10.29 02:16:55.250 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:16:25)... try to restart the process and connection...
2017.10.29 02:17:26.437 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:17:27.351 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:16:55)... try to restart the process and connection...
2017.10.29 02:18:46.891 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:18:16)... try to restart the process and connection...
Perl exited with active threads:
3 running and unjoined
0 finished and unjoined
3 running and detached
2017.10.29 02:19:17.890 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:19:35.334 1: Perfmon: possible freeze starting at 02:19:32, delay is 3.334
2017.10.29 02:19:40.936 1: Perfmon: possible freeze starting at 02:19:36, delay is 4.935
2017.10.29 02:20:11.125 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:19:41)... try to restart the process and connection...
2017.10.29 02:20:42.109 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:20:43.927 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:20:11)... try to restart the process and connection...
2017.10.29 02:21:42.571 1: Perfmon: possible freeze starting at 02:21:33, delay is 9.571
2017.10.29 02:21:59.468 1: Perfmon: possible freeze starting at 02:21:43, delay is 16.468
2017.10.29 02:22:29.109 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:21:59)... try to restart the process and connection...
Perl exited with active threads:
3 running and unjoined
0 finished and unjoined
3 running and detached
2017.10.29 02:23:00.140 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:23:30.739 1: Perfmon: possible freeze starting at 02:23:27, delay is 3.739
2017.10.29 02:24:01.704 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:23:31)... try to restart the process and connection...
2017.10.29 02:24:32.781 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:24:34.821 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:24:01)... try to restart the process and connection...
2017.10.29 02:24:58.171 1: Perfmon: possible freeze starting at 02:24:52, delay is 6.171
2017.10.29 02:25:03.822 1: Perfmon: possible freeze starting at 02:24:59, delay is 4.822
2017.10.29 02:30:24.579 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:29:54)... try to restart the process and connection...
Perl exited with active threads:
3 running and unjoined
0 finished and unjoined
3 running and detached
2017.10.29 02:30:55.484 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:31:52.547 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:31:22)... try to restart the process and connection...
2017.10.29 02:32:23.640 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:32:24.548 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:31:52)... try to restart the process and connection...
2017.10.29 02:38:41.422 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:38:11)... try to restart the process and connection...
Perl exited with active threads:
3 running and unjoined
0 finished and unjoined
3 running and detached
2017.10.29 02:39:12.593 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:39:30.569 1: Perfmon: possible freeze starting at 02:39:26, delay is 4.569
2017.10.29 02:39:35.290 1: Perfmon: possible freeze starting at 02:39:31, delay is 4.289
2017.10.29 02:40:05.313 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:39:35)... try to restart the process and connection...
2017.10.29 02:40:36.374 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:40:37.081 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:40:05)... try to restart the process and connection...
2017.10.29 02:44:58.878 1: Perfmon: possible freeze starting at 02:44:49, delay is 9.878
2017.10.29 02:45:17.489 1: Perfmon: possible freeze starting at 02:44:59, delay is 18.489
2017.10.29 02:45:48.685 1: Perfmon: possible freeze starting at 02:45:32, delay is 16.685
2017.10.29 02:46:05.613 1: Perfmon: possible freeze starting at 02:45:49, delay is 16.613
2017.10.29 02:46:35.641 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:46:05)... try to restart the process and connection...
Perl exited with active threads:
3 running and unjoined
0 finished and unjoined
3 running and detached
2017.10.29 02:47:06.734 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:47:59.766 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:47:29)... try to restart the process and connection...
2017.10.29 02:48:30.952 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:48:31.767 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:47:59)... try to restart the process and connection...
2017.10.29 02:48:54.467 1: Perfmon: possible freeze starting at 02:48:51, delay is 3.467
2017.10.29 02:48:58.375 1: Perfmon: possible freeze starting at 02:48:55, delay is 3.375
2017.10.29 02:49:26.812 1: Perfmon: possible freeze starting at 02:49:18, delay is 8.812
2017.10.29 02:49:50.316 1: Perfmon: possible freeze starting at 02:49:27, delay is 23.316
2017.10.29 02:50:20.344 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:49:50)... try to restart the process and connection...
Perl exited with active threads:
3 running and unjoined
0 finished and unjoined
3 running and detached
2017.10.29 02:50:51.499 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:50:52.284 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:50:20)... try to restart the process and connection...
2017.10.29 02:52:10.797 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:51:40)... try to restart the process and connection...
Perl exited with active threads:
3 running and unjoined
0 finished and unjoined
3 running and detached
2017.10.29 02:52:41.749 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:52:42.441 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:52:10)... try to restart the process and connection...
2017.10.29 02:54:06.454 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:53:36)... try to restart the process and connection...
Perl exited with active threads:
3 running and unjoined
0 finished and unjoined
3 running and detached
2017.10.29 02:54:37.468 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:54:38.097 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:54:06)... try to restart the process and connection...
2017.10.29 02:55:30.019 1: Perfmon: possible freeze starting at 02:55:27, delay is 3.019
2017.10.29 02:56:03.751 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:55:33)... try to restart the process and connection...
Perl exited with active threads:
3 running and unjoined
0 finished and unjoined
3 running and detached
2017.10.29 02:56:34.827 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:56:35.707 2: SONOS0: LastProcessAnswer way too old (Lastanswer: 2017-10-29 02:56:03)... try to restart the process and connection...
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2509, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2512, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2514, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2516, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2518, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2520, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2522, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2528, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2535, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2539, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2541, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2543, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2546, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2549, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2556, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2562, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2568, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2574, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2590, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2628, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2634, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2649, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2653, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2676, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2682, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2721, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2743, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2752, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2761, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2770, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2779, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2788, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2797, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2833, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2847, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2856, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2876, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2896, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2916, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2925, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2934, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2938, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2942, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2946, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2950, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2954, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2973, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 2984, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3005, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3027, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3048, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3070, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3084, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3115, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3415, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3436, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3458, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3509, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3562, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3614, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3692, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3816, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3891, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3897, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3903, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3913, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3929, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3935, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3939, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3945, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3951, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 3955, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 4011, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 4037, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 4077, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 4082, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 4299, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 4311, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 4339, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 4348, <$client> line 6.
Use of uninitialized value $workType in pattern match (m//) at ./FHEM/00_SONOS.pm line 4357, <$client> line 6.
Use of uninitialized value $workType in string eq at ./FHEM/00_SONOS.pm line 4448, <$client> line 6.
Use of uninitialized value $workType in ucfirst at ./FHEM/00_SONOS.pm line 4451, <$client> line 6.
Use of uninitialized value $udn in concatenation (.) or string at ./FHEM/00_SONOS.pm line 5634, <$client> line 6.
2017.10.29 03:16:39.640 1: PERL WARNING: Deep recursion on subroutine "main::SONOS_getSonosPlayerByUDN" at ./FHEM/00_SONOS.pm line 10002.
2017.10.29 03:16:39.642 1: PERL WARNING: Deep recursion on subroutine "main::SONOS_Log" at ./FHEM/00_SONOS.pm line 9753.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4085 thread 4.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4109 thread 4.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4133 thread 4.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4157 thread 4.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4181 thread 4.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4205 thread 4.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4229 thread 4.
Renewal of subscription failed with error: 412 Precondition Failed at ./FHEM/00_SONOS.pm line 4277 thread 4.
2017.10.29 08:34:24.015 1: PERL WARNING: Terminating on signal SIGINT(2)
FHEM-Featurelevel: 6.2   (fhem.pl:28227/2023-11-29) auf Windows 10 Pro mit Strawberry Perl 5.32.1.1-32bit
TabletUI: 2.7.15
IO: 2xHMLAN(0.965)|HMUSB2(0.967)

viegener

Ich häng mich mal hier dran, auch wenn es bei mir sich irgendwann automatisch um 5 Uhr wieder stabilisiert hat ohne dass ich etwas gemacht hätte.

Das Problem ist natürlich etwas verzwickt, da diese Situation nur einmal im Jahr vorkommt, dass die Zeit um 1h rückwärts springt, deshalb hier mal der fhemlog um die Zeit:

2017.10.29 02:59:31 3: signalduino/init: enable receiver (XE)
2017.10.29 02:00:47 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
2017.10.29 02:01:16 1: SONOS0: Kein UPnP-Server gefunden... Starte selber einen und warte 8 Sekunde(n) darauf...
2017.10.29 02:01:18 0: SONOS0: Can't bind Port 4711: Bind failed: Address already in use at ./FHEM/00_SONOS.pm line 10026.

2017.10.29 02:01:18 0: SONOS0: Retries left (wait 30s): 9
....
Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können

Reinerlein

Hi Nobby,

das wird auch bei der anderen Zeitumstellung wieder passieren. Da dort plözlich der Prozess sich seit einer Stunde nicht mehr gemeldet hat.

Ich wüsste auch nicht, wie man das mit einem Zeitstempel-Verfahren anders machen sollte. Die Frage ist ja vielmehr, warum das nicht normal weiterverarbeitet wurde.
Bei mir war (natürlich wie immer) der Port noch eine Weile belegt, was ja ein Betriebssystem-Problem ist. Dieser Zustand hat bei mir tatsächlich eine Weile angehalten. Es wirkt so, als hätte das Betriebssystem (oder Perl) keine neue Portbelegung zugelassen, und die gesamten Versuche 2 Stunden lang boykottiert...

Anschließend waren die Sonosplayer aus irgendeinem Grund eine kurze Weile nicht bereit eine Subscription oder ähnliches anzunehmen.
Das hat sich bei mir erst kurz nach drei Uhr (3:14 Uhr, neue Zeit) gelegt, und ab da gab es keine Fehler im Log mehr.

Hmm... ich wüsste da jetzt nicht, wie ich das in den Griff bekommen kann...

Jemand eine Idee?

Grüße
Reiner

viegener

@Reinerlein - Analoges Verhalten bei mir letzte Fehlermeldung (Bind failed) um 3:05 neue Zeit. Danach Ruhe.

Wäre es eine Möglichkeit den Zeitstempel als Sekunden in der Epoche auszutauschen, dann ist es ja eine stetig steigende Kurve und bei beiden Zeitumstellungen passiert aus Sicht dess Zeitstempels gar nichts.

Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können

Reinerlein

Hi viegener,

aber mein Zeitstempel basiert ja auf dem Perl-Befehl "time()", der die "non-leap"-Zeit seit "epoch" liefert.
Wird das dann beim Umsetzen mittels "localtime()" in einen "hüpfende" Zeit umgewandelt?

Natürlich könnte ich auch direkt die Zahl von "time()" verwenden. Ich hatte das eigentlich nur zu besseren Lesbarkeit als Uhrzeitstempel abgelegt. Das macht das debuggen leichter :)
Was macht diese Zahl eigentlich während der Zeitumstellung?

Grüße
Reiner

viegener

Zitat von: Reinerlein am 29 Oktober 2017, 12:00:23
Hi viegener,

aber mein Zeitstempel basiert ja auf dem Perl-Befehl "time()", der die "non-leap"-Zeit seit "epoch" liefert.
Wird das dann beim Umsetzen mittels "localtime()" in einen "hüpfende" Zeit umgewandelt?

Natürlich könnte ich auch direkt die Zahl von "time()" verwenden. Ich hatte das eigentlich nur zu besseren Lesbarkeit als Uhrzeitstempel abgelegt. Das macht das debuggen leichter :)
Was macht diese Zahl eigentlich während der Zeitumstellung?

Grüße
Reiner

Ja - localtime gibt ja ein Array mit expliziten Daten für Stunden/Minuten etc zurück (und ein Flag für is DST) - damit machst Du aus den Sekunden seit epoche von time() (die meines Wissens korrekt fortlaufend sprich ansteigend sind), Angaben die ohne Speicherung von isDST etwas uneindeutiges.

Die util-Routine time_str2num nimmt immer dst=-1 an, ich weiss aber nicht ob Du die direkt oder indirekt verwendest.

Also das Ergebnis von localtime ist etwas ganz anderes also time() nicht nur lokalisiert (ich würde localtime nur für die Visualisierung verwenden - Einweg) aber nicht wieder zurückkonvertieren in Sekunden (auch wenn das in FHEM an verschiedenen Stellen gemacht wird)

Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können

Reinerlein

Hi viegener,

na dann stelle ich diese Zeitangabe in LastProcessAnswer doch mal auf den Zahlenwert um, den time() liefert.
Zum persönlichen lesen und erkennen reicht ja auch der Readings-Zeitstempel selbst aus...

Danke für die Info...

Grüße
Reiner