Mal wieder: Steuerung Zirkulationspumpe mit Tasmota rule und DS18B20

  • So siehts jetzt aus

    09:26:30.106 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    09:26:30.111 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    09:26:30.360 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":20,"T2":148,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:30.587 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":149,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:30.787 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"113.800"}

    09:26:31.036 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"113.700"}

    09:26:31.099 RUL: DS18B20-3#TEMPERATURE performs "Backlog VAR2 54.0; ADD2 5.000; VAR3 54.0; VAR4 54.0"

    09:26:31.136 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var2":"53.9"}

    09:26:31.170 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 113.800"

    09:26:31.188 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add2":"58.900"}

    09:26:31.222 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 113.800"

    09:26:31.237 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var3":"53.9"}

    09:26:31.440 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var4":"53.9"}

    09:26:31.642 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var2":"54.0"}

    09:26:31.676 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 53.9"

    09:26:31.696 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add2":"59.000"}

    09:26:31.729 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 53.9"

    09:26:31.745 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var3":"54.0"}

    09:26:31.995 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var4":"54.0"}

    09:26:32.246 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    09:26:32.251 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    09:26:32.300 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"OFF"}

    09:26:32.304 MQT: /smarthome/heizung/Zirkulation/stat/POWER = OFF

    09:26:32.458 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":20,"T2":148,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:32.660 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":150,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:32.910 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"84.000"}

    09:26:33.112 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"113.800"}

    09:26:33.314 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    09:26:33.317 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    09:26:33.528 RUL: DS18B20-3#TEMPERATURE performs "Backlog VAR2 54.1; ADD2 5.000; VAR3 54.1; VAR4 54.1"

    09:26:33.566 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":149,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:33.817 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":150,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:34.017 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"114.000"}

    09:26:34.219 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"113.800"}

    09:26:34.422 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    09:26:34.426 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    09:26:34.626 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":149,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:34.827 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":149,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:35.041 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"144.000"}

    09:26:35.243 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"53.9"}

    09:26:35.494 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    09:26:35.499 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    09:26:35.746 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":149,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:35.998 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":149,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:36.030 RUL: DS18B20-3#TEMPERATURE performs "Backlog VAR2 54.1; ADD2 5.000; VAR3 54.1; VAR4 54.1"

    09:26:36.051 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"174.000"}

    09:26:36.253 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"53.9"}

    09:26:36.456 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var2":"54.1"}

    09:26:36.489 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 174.000"

    09:26:36.507 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add2":"59.100"}

    09:26:36.543 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 174.000"

    09:26:36.560 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var3":"54.1"}

    09:26:36.811 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var4":"54.1"}

    09:26:37.013 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var2":"54.1"}

    09:26:37.049 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 54.1"

    09:26:37.067 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add2":"59.100"}

    09:26:37.100 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 54.1"

    09:26:37.118 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var3":"54.1"}

    09:26:37.322 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var4":"54.1"}

    09:26:37.523 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    09:26:37.528 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    09:26:37.774 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":20,"T2":148,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:38.024 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":150,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:38.273 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"84.100"}

    09:26:38.438 RUL: DS18B20-3#TEMPERATURE performs "Backlog VAR2 54.4; ADD2 5.000; VAR3 54.4; VAR4 54.4"

    09:26:38.476 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"174.000"}

    09:26:38.677 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    09:26:38.682 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    09:26:38.881 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":20,"T2":149,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:39.130 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":149,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:39.379 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"114.100"}

    09:26:39.581 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"174.000"}

    09:26:39.832 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    09:26:39.837 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    09:26:40.103 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":20,"T2":149,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:40.331 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":149,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    09:26:40.557 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"144.100"}

    09:26:40.759 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"54.1"}

    09:26:40.803 RUL: DS18B20-3#TEMPERATURE performs "Backlog VAR2 54.4; ADD2 5.000; VAR3 54.4; VAR4 54.4"

    09:26:40.824 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

  • Nach ca. 10 Sekunden steigt die Temperatur um 0,2 Grad wenn ich den Wasserhahn öffne. Somit muss die Rule die momentane Temperatur mit der vor 10 Sekunden vergleichen. Wenn Anstig >= 0,2 Grad, dann Pumpe ein für eine vorgegebene Zeit. Dann die Rule einfach für 10 Minuten aus, und danach wieder einschalten...

    Gruß

    Thorsten

  • 11:38:45.475 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 43, Pld -99, Data 'VAR2 54.8; ADD2 5.000; VAR3 54.8; VAR4 54.8'

    11:38:45.502 SRC: Backlog

    11:38:45.505 CMD: Grp 0, Cmd 'ADD', Idx 4, Len 2, Pld 30, Data '30'

    11:38:45.511 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"84.600"}

    11:38:45.754 SRC: Backlog

    11:38:45.757 CMD: Grp 0, Cmd 'VAR', Idx 1, Len 7, Pld 114, Data '114.200'

    11:38:45.764 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"114.200"}

    11:38:46.004 SRC: Backlog

    11:38:46.007 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 1, Pld 1, Data '1'

    11:38:46.013 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    11:38:46.018 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    11:38:46.254 SRC: Backlog

    11:38:46.257 CMD: Grp 0, Cmd 'RULETIMER', Idx 1, Len 6, Pld 20, Data '20.000'

    11:38:46.264 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":20,"T2":149,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:38:46.311 HTP: Hauptmenü

    11:38:46.467 SRC: Backlog

    11:38:46.470 CMD: Grp 0, Cmd 'RULETIMER', Idx 2, Len 7, Pld 150, Data '150.000'

    11:38:46.479 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":150,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:38:46.705 SRC: Backlog

    11:38:46.708 CMD: Grp 0, Cmd 'ADD', Idx 4, Len 2, Pld 30, Data '30'

    11:38:46.714 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"114.600"}

    11:38:46.956 SRC: Backlog

    11:38:46.960 CMD: Grp 0, Cmd 'VAR', Idx 1, Len 7, Pld 114, Data '114.200'

    11:38:46.965 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"114.200"}

    11:38:47.209 SRC: Backlog

    11:38:47.212 CMD: Grp 0, Cmd 'VAR', Idx 2, Len 4, Pld 54, Data '54.6'

    11:38:47.219 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var2":"54.6"}

    11:38:47.252 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 114.600"

    11:38:47.254 SRC: Rule

    11:38:47.257 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 70, Pld -99, Data 'Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 114.600'

    11:38:47.268 SRC: Backlog

    11:38:47.271 CMD: Grp 0, Cmd 'ADD', Idx 2, Len 5, Pld 5, Data '5.000'

    11:38:47.277 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add2":"59.600"}

    11:38:47.314 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 114.600"

    11:38:47.316 SRC: Rule

    11:38:47.319 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 70, Pld -99, Data 'Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 114.600'

    11:38:47.330 SRC: Backlog

    11:38:47.332 CMD: Grp 0, Cmd 'VAR', Idx 3, Len 4, Pld 54, Data '54.6'

    11:38:47.338 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var3":"54.6"}

    11:38:47.582 SRC: Backlog

    11:38:47.585 CMD: Grp 0, Cmd 'VAR', Idx 4, Len 4, Pld 54, Data '54.6'

    11:38:47.591 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var4":"54.6"}

    11:38:47.834 SRC: Backlog

    11:38:47.837 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 1, Pld 1, Data '1'

    11:38:47.843 MQT: /smarthome/heizung

  • nee - das Skript von heute Morgen ist nicht erforderlich im System

    Rule1

    ON System#boot DO VAR1 100 ENDON

    on tele-DS18B20-3#Temperature do Backlog VAR1 %value% endon

    on DS18B20-3#Temperature do Backlog VAR2 %value%; ADD2 %mem2%; VAR3 %value%; VAR4 %value% endon

    rule2

    on VAR3#State do ADD4 30 endon

    on VAR2#State>%VAR1% do backlog Power1 1; RuleTimer1 %mem3%; RuleTimer2 %mem4%;VAR1 %VAR4% endon

    on Rules#Timer=1 do Power1 0 endon

    on Rules#Timer=2 do VAR1 %VAR3% endon


    das Add30 darf nicht mehr erfolgen - hat jetzt eine eigene Triggerzeile

    11:38:47.319 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 70, Pld -99, Data 'Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 114.600'

    ==>> mit Rule0 Consoleneingabe den Ladeerfolg prüfen

    2 Mal editiert, zuletzt von karoCB (4. Juni 2023 um 08:47)

  • So sieht es direkt nach einem reboot aus, ich lade jetzt deine rules von deinem letzten post, und schick den log

    11:46:02.008 CMD: Reboot

    11:46:02.009 SRC: WebConsole from 192.168.1.49

    11:46:02.012 CMD: Grp 0, Cmd 'REBOOT', Idx 1, Len 0, Pld -99, Data ''

    11:46:02.019 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Command":"Unknown"}

    11:46:02.259 SRC: Backlog

    11:46:02.262 CMD: Grp 0, Cmd 'RULETIMER', Idx 1, Len 6, Pld 20, Data '20.000'

    11:46:02.271 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":148,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:46:02.511 SRC: Backlog

    11:46:02.513 CMD: Grp 0, Cmd 'RULETIMER', Idx 2, Len 7, Pld 150, Data '150.000'

    11:46:02.521 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":150,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:46:02.760 SRC: Backlog

    11:46:02.763 CMD: Grp 0, Cmd 'ADD', Idx 4, Len 2, Pld 30, Data '30'

    11:46:02.770 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"87.100"}

    11:46:03.013 SRC: Backlog

    11:46:03.017 CMD: Grp 0, Cmd 'VAR', Idx 1, Len 7, Pld 117, Data '117.100'

    11:46:03.023 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"117.100"}

    11:46:03.263 SRC: Backlog

    11:46:03.266 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 1, Pld 1, Data '1'

    11:46:03.272 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    11:46:03.277 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    11:46:03.516 SRC: Backlog

    11:46:03.519 CMD: Grp 0, Cmd 'RULETIMER', Idx 1, Len 6, Pld 20, Data '20.000'

    11:46:03.526 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":20,"T2":148,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:46:03.768 SRC: Backlog

    11:46:03.771 CMD: Grp 0, Cmd 'RULETIMER', Idx 2, Len 7, Pld 150, Data '150.000'

    11:46:03.778 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":150,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:46:04.019 SRC: Backlog

    11:46:04.022 CMD: Grp 0, Cmd 'ADD', Idx 4, Len 2, Pld 30, Data '30'

    11:46:04.028 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"117.100"}

    11:46:04.269 SRC: Backlog

    11:46:04.273 CMD: Grp 0, Cmd 'VAR', Idx 1, Len 7, Pld 117, Data '117.100'

    11:46:04.278 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"117.100"}

    11:46:04.323 RUL: DS18B20-3#TEMPERATURE performs "Backlog VAR2 57.2; ADD2 5.000; VAR3 57.2; VAR4 57.2"

    11:46:04.325 SRC: Rule

    11:46:04.328 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 43, Pld -99, Data 'VAR2 57.2; ADD2 5.000; VAR3 57.2; VAR4 57.2'

    11:46:04.344 SRC: Backlog

    11:46:04.347 CMD: Grp 0, Cmd 'VAR', Idx 2, Len 4, Pld 57, Data '57.2'

    11:46:04.353 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var2":"57.2"}

    11:46:04.385 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 117.100"

    11:46:04.387 SRC: Rule

    11:46:04.390 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 70, Pld -99, Data 'Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 117.100'

    11:46:04.455 SRC: Backlog

    11:46:04.457 CMD: Grp 0, Cmd 'ADD', Idx 2, Len 5, Pld 5, Data '5.000'

    11:46:04.463 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add2":"62.200"}

    11:46:04.497 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 117.100"

    11:46:04.499 SRC: Rule

    11:46:04.502 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 70, Pld -99, Data 'Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 117.100'

    11:46:04.516 SRC: Backlog

    11:46:04.518 CMD: Grp 0, Cmd 'VAR', Idx 3, Len 4, Pld 57, Data '57.2'

    11:46:04.526 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var3":"57.2"}

    11:46:04.738 SRC: Backlog

    11:46:04.741 CMD: Grp 0, Cmd 'VAR', Idx 4, Len 4, Pld 57, Data '57.2'

    11:46:04.747 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var4":"57.2"}

    11:46:04.989 SRC: Backlog

    11:46:04.993 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 1, Pld 1, Data '1'

    11:46:04.998 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    11:46:05.002 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    11:46:05.240 SRC: Backlog

    11:46:05.243 CMD: Grp 0, Cmd 'RULETIMER', Idx 1, Len 6, Pld 20, Data '20.000'

    11:46:05.250 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":20,"T2":148,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:46:05.490 SRC: Backlog

    11:46:05.493 CMD: Grp 0, Cmd 'RULETIMER', Idx 2, Len 7, Pld 150, Data '150.000'

    11:46:05.500 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":150,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:46:05.743 SRC: Backlog

    11:46:05.746 CMD: Grp 0, Cmd 'ADD', Idx 4, Len 2, Pld 30, Data '30'

    11:46:05.754 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"87.200"}

    11:46:05.993 SRC: Backlog

    11:46:05.995 CMD: Grp 0, Cmd 'VAR', Idx 1, Len 7, Pld 177, Data '177.100'

    11:46:06.001 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"177.100"}

    11:46:06.242 SRC: Backlog

    11:46:06.245 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 1, Pld 1, Data '1'

    11:46:06.251 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    11:46:06.255 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    11:46:06.494 SRC: Backlog

    11:46:06.497 CMD: Grp 0, Cmd 'RULETIMER', Idx 1, Len 6, Pld 20, Data '20.000'

    11:46:06.504 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":20,"T2":148,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:46:06.662 RUL: DS18B20-3#TEMPERATURE performs "Backlog VAR2 57.2; ADD2 5.000; VAR3 57.2; VAR4 57.2"

    11:46:06.664 SRC: Rule

    11:46:06.667 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 43, Pld -99, Data 'VAR2 57.2; ADD2 5.000; VAR3 57.2; VAR4 57.2'

    11:46:06.694 SRC: Backlog

    11:46:06.697 CMD: Grp 0, Cmd 'RULETIMER', Idx 2, Len 7, Pld 150, Data '150.000'

    11:46:06.704 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":150,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:46:06.945 SRC: Backlog

    11:46:06.948 CMD: Grp 0, Cmd 'ADD', Idx 4, Len 2, Pld 30, Data '30'

    11:46:06.955 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"117.200"}

    11:47:36.444 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    11:47:36.447 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    11:47:36.687 SRC: Backlog

    11:47:36.690 CMD: Grp 0, Cmd 'RULETIMER', Idx 1, Len 6, Pld 20, Data '20.000'

    11:47:36.697 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":20,"T2":149,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:47:36.937 SRC: Backlog

    11:47:36.939 CMD: Grp 0, Cmd 'RULETIMER', Idx 2, Len 7, Pld 150, Data '150.000'

    11:47:36.947 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":150,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:47:37.187 SRC: Backlog

    11:47:37.190 CMD: Grp 0, Cmd 'ADD', Idx 4, Len 2, Pld 30, Data '30'

    11:47:37.197 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"147.300"}

    11:47:37.437 SRC: Backlog

    11:47:37.440 CMD: Grp 0, Cmd 'VAR', Idx 2, Len 4, Pld 57, Data '57.3'

    11:47:37.446 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var2":"57.3"}

    11:47:37.481 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 147.300"

    11:47:37.483 SRC: Rule

    11:47:37.485 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 70, Pld -99, Data 'Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 147.300'

    11:47:37.496 SRC: Backlog

    11:47:37.498 CMD: Grp 0, Cmd 'ADD', Idx 2, Len 5, Pld 5, Data '5.000'

    11:47:37.506 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add2":"62.300"}

    11:47:37.540 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 147.300"

    11:47:37.542 SRC: Rule

    11:47:37.545 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 70, Pld -99, Data 'Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 147.300'

    11:47:37.556 SRC: Backlog

    11:47:37.559 CMD: Grp 0, Cmd 'VAR', Idx 2, Len 4, Pld 57, Data '57.3'

    11:47:37.565 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var2":"57.3"}

    11:47:37.599 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 147.300"

    11:47:37.601 SRC: Rule

    11:47:37.604 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 70, Pld -99, Data 'Power1 1; RuleTimer1 20.000; RuleTimer2 150.000; ADD4 30; VAR1 147.300'

  • 11:55:16.525 CMD: Restart

    11:55:16.527 SRC: WebConsole from 192.168.1.49

    11:55:16.530 CMD: Grp 0, Cmd 'RESTART', Idx 1, Len 0, Pld -99, Data ''

    11:55:16.534 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Restart":"1 to restart, 2 to halt"}

    11:56:10.406 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 59, Pld -99, Data 'Power1 1; RuleTimer1 20.000; RuleTimer2 150.000;VAR1 86.800'

    11:56:10.468 SRC: Backlog

    11:56:10.471 CMD: Grp 0, Cmd 'VAR', Idx 3, Len 4, Pld 56, Data '56.8'

    11:56:10.477 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var3":"56.8"}

    11:56:10.505 RUL: VAR3#STATE performs "ADD4 30"

    11:56:10.506 SRC: Rule

    11:56:10.509 CMD: Grp 0, Cmd 'ADD', Idx 4, Len 2, Pld 30, Data '30'

    11:56:10.516 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"116.800"}

    11:56:10.732 SRC: Backlog

    11:56:10.735 CMD: Grp 0, Cmd 'VAR', Idx 2, Len 4, Pld 56, Data '56.8'

    11:56:10.742 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var2":"56.8"}

    11:56:10.777 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000;VAR1 116.800"

    11:56:10.779 SRC: Rule

    11:56:10.782 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 60, Pld -99, Data 'Power1 1; RuleTimer1 20.000; RuleTimer2 150.000;VAR1 116.800'

    11:56:10.793 SRC: Backlog

    11:56:10.796 CMD: Grp 0, Cmd 'ADD', Idx 2, Len 5, Pld 5, Data '5.000'

    11:56:10.802 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add2":"61.800"}

    11:56:10.838 RUL: VAR2#STATE>VAR1 performs "backlog Power1 1; RuleTimer1 20.000; RuleTimer2 150.000;VAR1 116.800"

    11:56:10.840 SRC: Rule

    11:56:10.843 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 60, Pld -99, Data 'Power1 1; RuleTimer1 20.000; RuleTimer2 150.000;VAR1 116.800'

    11:56:10.855 SRC: Backlog

    11:56:10.858 CMD: Grp 0, Cmd 'VAR', Idx 3, Len 4, Pld 56, Data '56.8'

    11:56:10.864 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var3":"56.8"}

    11:56:10.891 RUL: VAR3#STATE performs "ADD4 30"

    11:56:10.893 SRC: Rule

    11:56:10.895 CMD: Grp 0, Cmd 'ADD', Idx 4, Len 2, Pld 30, Data '30'

    11:56:10.902 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Add4":"146.800"}

    11:56:11.117 SRC: Backlog

    11:56:11.120 CMD: Grp 0, Cmd 'VAR', Idx 4, Len 4, Pld 56, Data '56.8'

    11:56:11.126 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var4":"56.8"}

    11:56:11.174 RUL: DS18B20-3#TEMPERATURE performs "Backlog VAR2 56.8; ADD2 5.000; VAR3 56.8; VAR4 56.8"

    11:56:11.176 SRC: Rule

    11:56:11.179 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 43, Pld -99, Data 'VAR2 56.8; ADD2 5.000; VAR3 56.8; VAR4 56.8'

    11:56:11.192 SRC: Backlog

    11:56:11.195 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 1, Pld 1, Data '1'

    11:56:11.201 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    11:56:11.205 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    11:56:11.444 SRC: Backlog

    11:56:11.447 CMD: Grp 0, Cmd 'RULETIMER', Idx 1, Len 6, Pld 20, Data '20.000'

    11:56:11.456 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":20,"T2":148,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:56:11.695 SRC: Backlog

    11:56:11.698 CMD: Grp 0, Cmd 'RULETIMER', Idx 2, Len 7, Pld 150, Data '150.000'

    11:56:11.705 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":150,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:56:11.944 SRC: Backlog

    11:56:11.947 CMD: Grp 0, Cmd 'VAR', Idx 1, Len 4, Pld 56, Data '56.8'

    11:56:11.953 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"56.8"}

    11:56:12.194 SRC: Backlog

    11:56:12.197 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 1, Pld 1, Data '1'

    11:56:12.204 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"POWER":"ON"}

    11:56:12.207 MQT: /smarthome/heizung/Zirkulation/stat/POWER = ON

    11:56:12.445 SRC: Backlog

    11:56:12.448 CMD: Grp 0, Cmd 'RULETIMER', Idx 1, Len 6, Pld 20, Data '20.000'

    11:56:12.456 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":20,"T2":149,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:56:12.696 SRC: Backlog

    11:56:12.699 CMD: Grp 0, Cmd 'RULETIMER', Idx 2, Len 7, Pld 150, Data '150.000'

    11:56:12.707 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"T1":19,"T2":150,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

    11:56:12.946 SRC: Backlog

    11:56:12.949 CMD: Grp 0, Cmd 'VAR', Idx 1, Len 4, Pld 56, Data '56.8'

    11:56:12.955 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Var1":"56.8"}

  • 12:02:36.023 CMD: Rule0

    12:02:36.025 SRC: WebConsole from 192.168.1.49

    12:02:36.028 CMD: Grp 0, Cmd 'RULE', Idx 0, Len 0, Pld -99, Data ''

    12:02:36.035 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Rule1":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":190,"Free":321,"Rules":"ON System#boot DO VAR1 100 ENDON on tele-DS18B20-3#Temperature do Backlog VAR1 %value% endon on DS18B20-3#Temperature do Backlog VAR2 %value%; ADD2 %mem2%; VAR3 %value%; VAR4 %value% endon"}}

    12:02:36.055 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Rule2":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":201,"Free":310,"Rules":"on VAR3#State do ADD4 30 endon on VAR2#State>VAR1 do backlog Power1 1; RuleTimer1 %mem3%; RuleTimer2 %mem4%;VAR1 %VAR4% endon on Rules#Timer=1 do Power1 0 endon on Rules#Timer=2 do VAR1 %VAR3% endon"}}

    12:02:36.075 MQT: /smarthome/heizung/Zirkulation/stat/RESULT = {"Rule3":{"State":"OFF","Once":"OFF","StopOnError":"OFF","Length":0,"Free":511,"Rules":""}}

  • Der aktuelle Teststand nach dem Erkennen, das der böse Fehler %-Zeichen (Inhalt der Variable) sich im theoretischen Skriptablauf sich nicht ausreichend zeigte.

    trs - hatte einen Zugang zum System für mich gelegt und damit war es schnell ersichtlich in der Echtüberwachung.

    Sicherlich wird er jetzt weiter seine Idee testen und das Endergebnis hier reflektieren.

    Rule1

    ON System#boot DO VAR1 100 ENDON

    on tele-DS18B20-3#Temperature do Backlog VAR1 %value% endon

    on DS18B20-3#Temperature do Backlog VAR2 %value%; SUB2 %mem2%; VAR3 %value%; VAR4 %value%; ADD4 30 endon

    rule2

    on VAR2#State>%VAR1% do backlog Power1 1; RuleTimer1 %mem3%; RuleTimer2 %mem4%; VAR1 %VAR4% endon

    on Rules#Timer=1 do Power1 0 endon

    on Rules#Timer=2 do VAR1 %VAR3% endon

    3 Mal editiert, zuletzt von karoCB (4. Juni 2023 um 13:29)

  • Zur Info, bis jetzt verwende ich als Fühler einen wasserdichten DS18B20 im Metallgehäuse. Ich werde mal einen nackten DS18B20 holen, und den mit Wärmeleitpaste auf den Ausgang Warmwasser am Boiler befestigen, um noch schneller eine Änderung der Temperatur zu detektieren, in der Hoffnung, die Pumpe schaltet noch schneller.

    Gruß

    Thorsten

  • Mal ein Update:

    Ich habe jetzt, wie schon angekündigt, einen nackten DS18B20 als Fühler verwendet. Dann mit #TempRes 2# die Meßgenauigkeit auf 2 Stellen nach dem Komma eingestellt. Die Einschaltdifferenz mem2 auf 0,05 Grad gestellt.

    Ergebnis: Nach Warmwasseranforderung =Wasserhahn auf läuft die Pumpe nach ca. 4 Sekunden an.

    TOP

    Danke nochmal für die Hilfe.

  • Ja. Ich habe nicht mit der Stoppuhr gemessen, aber mit der Einstellung Temperaturdifferenz 0,1 Grad hat der Fühler mit Gehäuse den Anstieg in ca. 10 Sekunden erfasst. Mit dem nackten Fühler, mit Wärmeleitpaste auf dem Anschluß am Boiler hat es ca. 8 Sekunden gedauert. Der Durchbruch war, wie oben beschrieben, die Nachkommastellen auf 2 zu stellen, und die Einschaltdifferenz auf 0,05 Grad. Nun sind es 4 Sekunden, mit wenigen Fehlschaltungen.

  • Hallo zusammen,

    hab das selbe auch vor. Hab bis jetzt nichts hin bekommen.

    Kannst du mal die komplette rule posten inkl. der mem1-mem4 wie sie in Tasmota eingegeben wird?

    Funktioniert es bei dir so wie gewünscht?

    Danke für deine hilfe.

    mfg

    Timm

  • Das ist hier eine sehr ausführliche Diskussion, aber "einfach zum Umsetzen" ist das Ergebnis nicht.

    Frage an die beiden, trs und karoCB : Wie sind die Variablen Mem1 bis Mem4 zu initalisieren?

  • Nach ca. 10 Sekunden steigt die Temperatur um 0,2 Grad wenn ich den Wasserhahn öffne. Somit muss die Rule die momentane Temperatur mit der vor 10 Sekunden vergleichen. Wenn Anstig >= 0,2 Grad, dann Pumpe ein für eine vorgegebene Zeit. Dann die Rule einfach für 10 Minuten aus, und danach wieder einschalten...

    das war eine spezielle Umsetzung entspechend Temeratur und Freiwerdezeit - oft reicht schon so was:


    Mem1- nicht benutzt

    Mem2 - 40 Einschaltpunkt

    Mem3 - 35 Ausschaltpunkttemperatur


    Rule1
    ON DS18B20#Temperature>%mem2% DO Power1 1 ENDON

    ON DS18B20#Temperature<%mem3% DO Power1 0 ENDON

    Rule1=1


    Ps: Wesentlich ist die Idee was soll erfolgen und wo wird gemessen in welcher Veränderungsgeschwindigkeit

    3 Mal editiert, zuletzt von karoCB (14. August 2024 um 08:03)