Zitat von: xenos1984 am 28 März 2024, 08:47:44Folgende Aufgabenstellung: Ich habe ein Device, das zwei Readings liefert, start und end. Beide sind UNIX Timestamps. Dazu habe ich noch ein weiteres Reading offset, das eine Anzahl von Sekunden enthält. Dabei kann offset auch Werte von über 24 Stunden annehmen. Gibt es eine Triggerbedingung, die innerhalb des Zeitintervalls von start - offset bis end wahr ist, und außerhalb nicht, d.h. die zu diesen beiden Zeitpunkten triggert und damit z.B. ein Gerät zu Beginn einschaltet und am Ende wieder ausschaltet?
DOIF ([([start]-[offset])-[end]] and ["Trigger"]) (set bla..)
2024.03.28 09:46:50.021 1: openMeteo DEBUG> AI raw add - 41 entities added to raw data pool (set verbose 4 for output more detail)
2024.03.28 09:46:50.083 1: openMeteo DEBUG> AI raw data saved into file: ./FHEM/FhemUtils/AIraw_SolarForecast_openMeteo
2024.03.28 09:46:57.580 1: openMeteo DEBUG> AI Instance add - 41 entities added for training (set verbose 4 for output more detail)
2024.03.28 09:47:20.536 1: openMeteo DEBUG> AI Training is started in main process
2024.03.28 09:47:20.581 1: openMeteo DEBUG> AI trained number of entities: 41
2024.03.28 09:47:20.582 1: openMeteo DEBUG> AI trained and saved data into file: ./FHEM/FhemUtils/AItra_SolarForecast_openMeteo
2024.03.28 09:47:20.582 1: openMeteo DEBUG> Training instances and their associated information where purged from the AI object
2024.03.28 09:44:07 4: sduino1/msg READredu: MS;P1=307;P2=-981;P3=990;P4=-298;P5=-9519;D=15121212343434343434341212343412341212121234121234;CP=1;SP=5;R=239;O;b=69;s=1;m0;
2024.03.28 09:44:07 4: sduino1: Matched MS Protocol id 3 -> itv1, bitLen=24
2024.03.28 09:44:07 4: sduino1: Decoded MS Protocol id 3 dmsg i1FCD09 length 24 RSSI = -82.5
2024.03.28 09:44:07 4: sduino1 Dispatch: i1FCD09, -82.5 dB, dispatch
2024.03.28 09:44:07 4: sduino1 IT: message "i1FCD09" (7)
2024.03.28 09:44:07 4: sduino1 IT: msgcode "0F11101F00DF" (12) bin = 000111111100110100001001
2024.03.28 09:44:07 3: sduino1 IT: Code DF not supported by IT_0F11101F00.
2024-03-28 09:44:07 SIGNALduino sduino1 UNKNOWNCODE i1FCD09
2024.03.28 09:44:07 3: sduino1: Unknown code i1FCD09, help me!
2024.03.28 09:44:07 4: sduino1/msg READredu: MS;P1=305;P2=-990;P3=988;P4=-300;P5=-9514;D=15121212343434343434341212343412341212121234121234;CP=1;SP=5;R=239;O;m1;
2024.03.28 09:44:07 4: sduino1: Matched MS Protocol id 3 -> itv1, bitLen=24
2024.03.28 09:44:07 4: sduino1: Decoded MS Protocol id 3 dmsg i1FCD09 length 24 RSSI = -82.5
2024.03.28 09:44:07 4: sduino1 Dispatch: i1FCD09, Dropped (1) due to short time and equal msg
2024.03.28 09:44:07 4: sduino1/msg READredu: MS;P1=302;P2=-991;P3=977;P4=-305;P5=-9525;D=15121212343434343434341212343412341212121234121234;CP=1;SP=5;R=239;O;m2;
2024.03.28 09:44:07 4: sduino1: Matched MS Protocol id 3 -> itv1, bitLen=24
2024.03.28 09:44:07 4: sduino1: Decoded MS Protocol id 3 dmsg i1FCD09 length 24 RSSI = -82.5
2024.03.28 09:44:07 4: sduino1 Dispatch: i1FCD09, Dropped (2) due to short time and equal msg
2024.03.28 09:44:07 4: sduino1/msg READredu: MS;P1=308;P2=-973;P3=963;P4=-326;P5=-9532;D=15121212343434343434341212343412341212121234121234;CP=1;SP=5;R=239;O;m3;
2024.03.28 09:44:07 4: sduino1: Matched MS Protocol id 3 -> itv1, bitLen=24
2024.03.28 09:44:07 4: sduino1: Decoded MS Protocol id 3 dmsg i1FCD09 length 24 RSSI = -82.5
2024.03.28 09:44:07 4: sduino1 Dispatch: i1FCD09, Dropped (3) due to short time and equal msg
2024.03.28 09:53:13 4: sduino1/msg READredu: MS;P0=-9945;P1=325;P2=-970;P3=978;P4=-315;D=10121212343434343434341212343412341212121234121234;CP=1;SP=0;R=231;O;b=73;s=1;m0;
2024.03.28 09:53:13 4: sduino1: Matched MS Protocol id 3 -> itv1, bitLen=24
2024.03.28 09:53:13 4: sduino1: Decoded MS Protocol id 3 dmsg i1FCD09 length 24 RSSI = -86.5
2024.03.28 09:53:13 4: sduino1 Dispatch: i1FCD09, -86.5 dB, dispatch
2024.03.28 09:53:13 4: sduino1 IT: message "i1FCD09" (7)
2024.03.28 09:53:13 4: sduino1 IT: msgcode "0F11101F00DF" (12) bin = 000111111100110100001001
2024.03.28 09:53:13 3: sduino1 IT: Code DF not supported by IT_0F11101F00.
2024-03-28 09:53:13 SIGNALduino sduino1 UNKNOWNCODE i1FCD09
2024.03.28 09:53:13 3: sduino1: Unknown code i1FCD09, help me!
2024.03.28 09:53:13 4: sduino1/msg READredu: MS;P0=-9606;P1=338;P2=-967;P3=992;P4=-289;D=10121212343434343434341212343412341212121234121234;CP=1;SP=0;R=231;O;m1;
2024.03.28 09:53:13 4: sduino1: Matched MS Protocol id 3 -> itv1, bitLen=24
2024.03.28 09:53:13 4: sduino1: Decoded MS Protocol id 3 dmsg i1FCD09 length 24 RSSI = -86.5
2024.03.28 09:53:13 4: sduino1 Dispatch: i1FCD09, Dropped (1) due to short time and equal msg
2024.03.28 09:53:13 4: sduino1/msg READredu: MS;P0=-9606;P1=365;P2=-916;P3=1009;P4=-282;D=10121212343434343434341212343412341212121234121234;CP=1;SP=0;R=231;e;m2;
2024.03.28 09:53:13 4: sduino1: Matched MS Protocol id 3 -> itv1, bitLen=24
2024.03.28 09:53:13 4: sduino1: Decoded MS Protocol id 3 dmsg i1FCD09 length 24 RSSI = -86.5
2024.03.28 09:53:13 4: sduino1 Dispatch: i1FCD09, Dropped (2) due to short time and equal msg
2024.03.28 09:53:13 4: sduino1/msg READredu: MS;P0=-9606;P1=365;P2=-916;P3=1009;P4=-282;D=10121212343434343434341212343412341212121234121234;CP=1;SP=0;R=231;e;m3;
2024.03.28 09:53:13 4: sduino1: Matched MS Protocol id 3 -> itv1, bitLen=24
2024.03.28 09:53:13 4: sduino1: Decoded MS Protocol id 3 dmsg i1FCD09 length 24 RSSI = -86.5
2024.03.28 09:53:13 4: sduino1 Dispatch: i1FCD09, Dropped (3) due to short time and equal msg
2024.03.28 09:53:13 4: sduino1/msg READredu: MU;P0=-5888;P1=324;P2=-952;P3=992;P4=-304;P5=-7912;CP=1;R=230;D=012121234343434343434121234341234121212123412123415;e;
2024.03.28 09:53:13 4: sduino1: Fingerprint for MU Protocol id 19 -> minify matches, trying to demodulate
2024.03.28 09:53:13 4: sduino1: Fingerprint for MU Protocol id 34 -> QUIGG | LIBRA | Mandolyn | Pollin ISOTRONIC matches, trying to demodulate
2024.03.28 09:53:13 4: sduino1: Fingerprint for MU Protocol id 42 -> wireless doorbell matches, trying to demodulate
2024.03.28 09:53:13 4: sduino1: Fingerprint for MU Protocol id 60 -> WS2000 matches, trying to demodulate
2024.03.28 09:53:13 4: sduino1: Fingerprint for MU Protocol id 79 -> wireless doorbell matches, trying to demodulate
2024.03.28 09:53:13 4: sduino1: Fingerprint for MU Protocol id 95 -> Techmar matches, trying to demodulate
2024.03.28 09:53:13 4: sduino1/msg READredu: MS;P1=298;P2=-967;P4=985;P5=-309;P6=-9520;D=16121212454545454545451212454512451212121245121245;CP=1;SP=6;R=231;O;b=73;s=1;m0;
2024.03.28 09:53:13 4: sduino1: Matched MS Protocol id 3 -> itv1, bitLen=24
2024.03.28 09:53:13 4: sduino1: Decoded MS Protocol id 3 dmsg i1FCD09 length 24 RSSI = -86.5
2024.03.28 09:53:13 4: sduino1 Dispatch: i1FCD09, Dropped (4) due to short time and equal msg
2024.03.28 09:53:13 4: sduino1/msg READredu: MS;P1=300;P2=-992;P4=973;P5=-326;P6=-9526;D=16121212454545454545451212454512451212121245121245;CP=1;SP=6;R=231;O;m1;
2024.03.28 09:53:13 4: sduino1: Matched MS Protocol id 3 -> itv1, bitLen=24
2024.03.28 09:53:13 4: sduino1: Decoded MS Protocol id 3 dmsg i1FCD09 length 24 RSSI = -86.5
2024.03.28 09:53:13 4: sduino1 Dispatch: i1FCD09, Dropped (5) due to short time and equal msg
2024.03.28 09:53:14 4: sduino1/msg READredu: MS;P1=308;P2=-980;P4=973;P5=-315;P6=-9527;D=16121212454545454545451212454512451212121245121245;CP=1;SP=6;R=231;O;m2;
2024.03.28 09:53:14 4: sduino1: Matched MS Protocol id 3 -> itv1, bitLen=24
2024.03.28 09:53:14 4: sduino1: Decoded MS Protocol id 3 dmsg i1FCD09 length 24 RSSI = -86.5
2024.03.28 09:53:14 4: sduino1 Dispatch: i1FCD09, Dropped (6) due to short time and equal msg
2024.03.28 09:53:14 4: sduino1/msg READredu: MS;P1=301;P2=-985;P4=959;P5=-312;P6=-9531;D=16121212454545454545451212454512451212121245121245;CP=1;SP=6;R=231;O;m3;
2024.03.28 09:53:14 4: sduino1: Matched MS Protocol id 3 -> itv1, bitLen=24
2024.03.28 09:53:14 4: sduino1: Decoded MS Protocol id 3 dmsg i1FCD09 length 24 RSSI = -86.5
2024.03.28 09:53:14 4: sduino1 Dispatch: i1FCD09, Dropped (7) due to short time and equal msg
Zitat von: xenos1984 am 28 März 2024, 08:47:44Beide sind UNIX Timestamps.
...
die zu diesen beiden Zeitpunkten triggert und damit z.B. ein Gerät zu Beginn einschaltet und am Ende wieder ausschaltet?
2024.03.28 00:00:01 2: Deleting DOIFtoolsLog-2024-084.log
2024.03.28 01:05:11 2: Deleting fhempy-2024-03-17.log
2024.03.28 01:15:09 1: Forecast - aiTrain ERROR: Must add training instances before calling train() at ./FHEM/76_SolarForecast.pm line 13718.
2024.03.28 01:48:38 2: VCONTROL300: Error while sending command for parameter 0808 (Status 0x15) : Retry 0!!!
2024.03.28 01:48:39 2: VCONTROL300: Error while sending command for parameter 0808 (Status 0x15) : Retry 1!!!
2024.03.28 01:48:45 1: Timeout for VCONTROL300_DoUpdate reached, terminated process 171798
2024.03.28 01:53:45 1: Timeout for VCONTROL300_DoUpdate reached, terminated process 172602
2024.03.28 01:58:45 1: Timeout for VCONTROL300_DoUpdate reached, terminated process 173393
2024.03.28 08:00:19 2: Forecast - Consumer '_Brunnen' was external switched on
2024.03.28 08:26:09 2: myDbLog - Wait for last database cycle due to shutdown ...
2024.03.28 08:26:09 1: Server shutdown delayed due to myDbLog for max 10 sec
2024.03.28 08:26:10 2: myDbLog - Last database write cycle done
2024.03.28 08:26:10 0: Server shutdown
2024.03.28 08:26:11 2: myDbLog - stopping SubProcess PID >101349< ...
2024.03.28 08:26:11 2: myDbLog - SubProcess PID >101349< stopped
2024.03.28 08:26:26 1: Including fhem.cfg
2024.03.28 08:26:29 2: myDbLog - Subprocess >947< initialized ... ready for non-blocking operation
2024.03.28 08:26:30 2: eventTypes: loaded 8100 lines from ./log/eventTypes.txt