THZ Tecalor (LWZ Stiebel Eltron) module support and code improvement.

Begonnen von immi, 02 Februar 2015, 11:42:16

Vorheriges Thema - Nächstes Thema

andre.k

Hi immi,
hi peter,

today I've found some time to test the heat curve function. There is a small bug in the title string. Line 1543 should be
  ($p13GradientHC1, $p14LowEndHC1, $p15RoomInfluenceHC1) = (split ' ',ReadingsVal($devname,"pHeat1",0))[1,3,5];


The red working point looks good but the blue curve seems to be strange. Do you have an idea?

Andre

immi

Andre
your changes makes sense  so far.

have a look also here some lines later
  my ($heatSetTemp, $roomSetTemp, $insideTemp) = (split ' ',ReadingsVal($devname,"sHC1",0))[11,21,27];

from your plot $roomSetTemp, $insideTemp are 1°C and -2892°C respectively; this makes no sense

immi

andre.k

That's probably because I don't have an inside temperature sensor. And my old THZ doesn't have an externel (remote) control unit.

immi

Zitat von: andre.k am 18 März 2015, 10:06:50
That's probably because I don't have an inside temperature sensor. And my old THZ doesn't have an externel (remote) control unit.
Andre, the missing temp sensore is not the problem.
$roomSetTemp=1 actually 0 is a problem.
please post the original and the parsed register of sHC1.
Probably you need a different parsing of sHC1.
thanks
Immi

andre.k

Immi, you are right. We need a different parsing rule for roomSetTemp in my firmware and probably for 2.06.

[" roomSetTemp: ",   62, 4, "hex2int", 10]

immi

Hi Andre
can you look also at insidetemp in sHC1?
If the sensor is not connected, insideTempRC should be equal to $roomSetTemp.

Hi Peter
do you have a temperature sensor connected?
can you post an example of your register sHC1; I mean the hex values?
you can get it with verbose5
thanks
immi

peter456

Hi Immi,
ja ich habe einen Innen-Temperatursensor an der LWZ.
Hier sind die Daten vom Register sHC1:
2015.03.18 18:41:27 5: THZ_ReadAnswer: uc unpack: '010072F4007D020701A7000001D600CC01B500010002121800640100000000CD0000000000E100000000B61003'
2015.03.18 18:41:27 5: Mythz sending 10
2015.03.18 18:41:27 5: SW: 10
2015.03.18 18:41:27 5: Parse message: 72F4007D020701A7000001D600CC01B500010002121800640100000000CD0000000000E100000000B6
2015.03.18 18:41:27 5: Message length: 82
2015.03.18 18:41:27 5: Triggering Mythz (1 changes)
2015.03.18 18:41:27 5: Notify loop for Mythz sHC1: outsideTemp: 12.5 x08: 51.9 returnTemp: 42.3 integralHeat: 0 flowTemp: 47 heatSetTemp: 20.4 heatTemp: 43.7 seasonMode: summer integralSwitch: 100 opMode: normal roomSetTemp: 20.5 x60: 0 x64: 0 insideTempRC: 22.5 x72: 0 x76: 0 onHysteresisNo: 0 offHysteresisNo: 1 HCBoosterStage: 0
2015.03.18 18:41:27 5: rg_thz: not on any display, ignoring notify
2015.03.18 18:41:27 5: rg_thz_stat: not on any display, ignoring notify

Meine Heizkurve (siehe Anhang) sieht soweit gut aus, oder?

andre.k

The curve with the special parsing now looks ok, but I don't find an value for insideTempRC equal to roomSetTemp in the message.

2015.03.18 19:20:01 5: Parse message: 5BF40065001A01FD002302320105020C00020001011D00640200000000000000BE024F000000000002000000E6

immi

ok
then I fork sHC1 for you (2.14) but not for peter (2.06)

v0140 uploaded
please test tomorrow.

andre.k


mlb

Thanks immi - heating curves finally are working fine for me too :) They did not before, I think there was a problem wish scaling
LWZ 403SOL, FHEM + HomeAssistant

immi


andre.k

Hi immi,

for the 2.x users I implemented the set parameter time and date. These are may be useful for summer/winter time adjustment, although some days too late :D
--- 00_THZ.140.pm       2015-03-31 13:39:50.957769638 +0200
+++ 00_THZ.pm   2015-03-31 12:16:29.712267229 +0200
@@ -237,10 +237,10 @@
              [" Date: ",               12, 2, "year", 1],              ["/",           14, 2, "hex", 1],
              ["/",                     16, 2, "hex", 1]
             ],
-  "FCtime206" => [["Weekday: ", 7, 1,  "weekday", 1],  [" Hour: ",     8, 2, "hex", 1],
-             [" Min: ",                10, 2,  "hex", 1],              [" Sec: ",      12, 2, "hex", 1],
-             [" Date: ",               14, 2, "year", 1],              ["/",           18, 2, "hex", 1],
-             ["/",                     20, 2, "hex", 1]
+  "FCtime206" => [["Weekday: ", 7, 1,  "weekday", 1],  [" pClockHour: ", 8, 2, "hex", 1],
+             [" pClockMinutes: ", 10, 2,  "hex", 1],   [" Sec: ", 12, 2, "hex", 1],
+             [" pClockYear: ", 14, 2, "hex", 1],       [" pClockMonth: ", 18, 2, "hex", 1],
+             [" pClockDay: ",  20, 2, "hex", 1]
             ],
   "FDfirm" => [["version: ",   4, 4, "hex", 100]
             ],
@@ -496,7 +496,12 @@
   "p09FanStageStandby" => {parent=>"p01-p12", argMin =>   "0", argMax =>    "3",       unit =>""},
   "p10RoomTempManual"  => {parent=>"p01-p12", argMin =>  "10", argMax =>   "65",       unit =>" °C"},
   "p11DHWsetTempManual"        => {parent=>"p01-p12", argMin =>  "10", argMax =>   "65",       unit =>" °C"},
-  "p12FanStageManual"  => {parent=>"p01-p12", argMin =>   "0", argMax =>   "3",        unit =>""}
+  "p12FanStageManual"  => {parent=>"p01-p12", argMin =>   "0", argMax =>   "3",        unit =>""},
+  "pClockDay"          => {parent=>"sTimedate", argMin =>  "1", argMax =>  "31", unit =>""},
+  "pClockMonth"                => {parent=>"sTimedate", argMin =>  "1", argMax =>  "12", unit =>""},
+  "pClockYear"         => {parent=>"sTimedate", argMin =>  "12", argMax =>  "20",  unit =>""},
+  "pClockHour"         => {parent=>"sTimedate", argMin =>  "0", argMax =>  "23", unit =>""},
+  "pClockMinutes"      => {parent=>"sTimedate", argMin =>  "0", argMax =>  "59", unit =>""}
  );


immi

Hi Andre
I spend lots of time with the "partent" data stucture.
But now it seams to repay.
I will have a look this night.
immi

immi

v 0.141 uploaded:
- set parameter time and date for 2.x users implemented
- comment out of line706 //opened

this is a small update for people having newer firmware.
Please test anyway because I removed a small piece of code, which (to my opinion) is not neded anymore, because devio.pm has been fixed.
If after updating, Mythz remains disconnected for long time, take away the comment "#" from line 706.
Please give me feedback anyway.