THZ / LWZ Tecalor Stiebel Eltron Heizung

Begonnen von Heiner, 02 Juni 2013, 11:39:13

Vorheriges Thema - Nächstes Thema

micomat

hi
which Version of 00_thz.pm do you use?
Synology DS218+ with fhem+iobroker in docker, 2x RasPi w. ser2net, CUL433+868, IT, EGPM2LAN, THZ/LWZ, FB_Callmonitor, HMS100TF, Homematic, 2x TX3-TH, Pushover, USB-IR-SML-Head, SONOS, GHoma, MBus, KLF200

firebal301

Hi

i am using version: 0.108

Since the last post i have hundreds of new errors. i found some more:

2014.08.03 22:01:08 2: LWZ403/RAW: 000000000000001003
Use of uninitialized value $message in concatenation (.) or string at ./FHEM/00_THZ.pm line 1052.
Use of uninitialized value $length in concatenation (.) or string at ./FHEM/00_THZ.pm line 1054.
Use of uninitialized value $message in substr at ./FHEM/00_THZ.pm line 1055.
substr outside of string at ./FHEM/00_THZ.pm line 1055.
Use of uninitialized value $parsingcmd in pattern match (m//) at ./FHEM/00_THZ.pm line 1056.
Use of uninitialized value $parsingcmd in string eq at ./FHEM/00_THZ.pm line 1062.
Use of uninitialized value $parsingcmd in string eq at ./FHEM/00_THZ.pm line 1062.
Use of uninitialized value $parsingcmd in string eq at ./FHEM/00_THZ.pm line 1062.
Use of uninitialized value $parsingcmd in string eq at ./FHEM/00_THZ.pm line 1067.


my last logfile (07.14) has no entrys about this. the new one (08.14) start directly with all these errors...

maybe this helps for investigation

thx

kai

willybauss

What's always ignored  in such calculations (even for heating systems based on oil or gas) is the energy used for waterpump, electronic control unit, fans for ventilation etc. They cannot be taken into account easily, since these circuits are not giong through the heatpump's electricity meter but through the 'normal' household electricity meter. The heatpump's values ( sHeatHCTotal, sElectrHCTotal, ...) don't cover is as well. Knowing about this topic I installed separate meters for these circuits (see for L1 and L2 in the installation manual). I'll post my values with and without them:

sHeatHCTotal 22568 kWh / sElectrHCTotal 6113 kWh = 3.69

incl. L1+L2:  sHeatHCTotal 22568 kWh / (sElectrHCTotal 6113 kWh + 1008 kWh +357 kWh) = 3.02 

sHeatDHWTotal 6025 kWh / sElectrDHWTotal 2119 kWh = 2.84
FHEM auf Raspberry Pi B und 2B; THZ (THZ-303SOL), CUL_HM, TCM-EnOcean, SamsungTV, JSONMETER, SYSMON, OBIS, STATISTICS

immi

Hi firebal301
it is several weeks, that I do not change the code (v0.108)

2014.08.03 22:01:08 2: LWZ403/RAW: 000000000000001003
.

Are you using a serial cable (no usb direct) like me willy and Floru?
I prepared for Floru a small improvement (candidate v0.109), for which I got no feedback.
If you are using serial cable, give me a PM, you can also test it.


Hi Tom
I agree I oversimplified the "performance" index..... fortunatelly my boss ( my wife) is not digging in this KPI :)

Hi Willy
It is amazing how much current the heatpump getting  through the normal household  meter
in your case 1.36MWh wuaoh
immi

willybauss

Zitat von: immi am 04 August 2014, 00:41:52
It is amazing how much current the heatpump getting  through the normal household  meter
in your case 1.36MWh wuaoh
immi
Exactly. And as soon as we try to take the heat recovery of ventilation system into account we also need to take the electric energy used for it into account.
FHEM auf Raspberry Pi B und 2B; THZ (THZ-303SOL), CUL_HM, TCM-EnOcean, SamsungTV, JSONMETER, SYSMON, OBIS, STATISTICS

Floru

Hi immi,

many thanks for this test release. This solution seems to work fine also. I tested it for about 20 hours and got no error messages and regular readings every 5 minutes.
With v0.108 befor I had error s like described from firebal301 about every 20-30 minutes. I will have a look to the error log for the next days and will post, if I see any communication error.

by the way, my performance values:
for HC: 6428/2008 = 3.20
for DHW: 4987/1763 = 2.83

Florian

micomat

gad to read :)
i sometimes saw such errors in different modules also some times.
in most cases a restart of the raspi solved the problem.

best,
markus
Synology DS218+ with fhem+iobroker in docker, 2x RasPi w. ser2net, CUL433+868, IT, EGPM2LAN, THZ/LWZ, FB_Callmonitor, HMS100TF, Homematic, 2x TX3-TH, Pushover, USB-IR-SML-Head, SONOS, GHoma, MBus, KLF200

immi

I have 2 minutes: I Try to explain you where the error comes.
2014.08.03 22:01:08 2: LWZ403/RAW: 000000000000001003

In several FHEM module you have 2 function to read the interface: in my case:

  • sub THZ_ReadAnswer($)
  • sub THZ_Read($)

The first takes care of reading a messages during a conversation (polling -You ask someting, the heatpump answer, you ask somethingelse..).

The second reads messages, without a conversation. Just in case the heatpump sends something without a precise request.
This second case should never happen with the THZ.
But. If a peace of the message in the first case comes too late .... the last part of the message remains in the serial interface... and sub THZ_Read is activated causing a warning or an error.

The old solution (ca v. <0.104) was to wait a lot before reading. This is unefficient, because in 90% of the case, the wait time is useless.
Each long message ends with 1003; The elegant solution is to repeat the first case untill 1003 comes.


immi

firebal301

Hi immi

thanks for the explanation. You are right. I Am using the serial cable at the front connector.

i am only suprised, that this error happend exactly at 00:00:00 month-change...  :o

i will test your 'beta' v.0.109. PM comes seperately :-)

firebal301

after 24 hours of testing v.109 no error appears. great work immi thanks  8)

other question:

how often you can overwrite the flash in the heatpump. i am not sure that the control is designed for register-changing several times a day.

maybe this will effect the flash in 10 years or later; maybe in one... :(

does anyone know how often you can overwrite such memory ?


willybauss

depends on the part type, from few thousands till some 10 thousand times. If one can remove the board from his THZ and tell me the exact part name I can dig deeper  ;) .

But you're right: changing the values frequently, possibly multiple times per day, may wear out the memory parts earlier as expected.
FHEM auf Raspberry Pi B und 2B; THZ (THZ-303SOL), CUL_HM, TCM-EnOcean, SamsungTV, JSONMETER, SYSMON, OBIS, STATISTICS

immi

uploaded v.0109
changeloge: bug fix for long messages in combination with serial cable connection


Considering the reliability, I really hope tecalor used some kind of smart memory management.
Over 10..15 years, also without stress like rewriting the memory, data retention is a lottery.

immi

lwzler

@Topic HC Temp > Room Temp in summer

Well what made me wondering was the fact, that even in colder periods, when we had outsidetemps between 8 to 17°C in a week in June, the HC temp never fell below ~24°C (with no heating activity). But

Zitat von: willybauss am 01 August 2014, 11:12:16
As long as the heating circle pump is switched off (what's the case for almost 100% of the time in summer mode)

that's for sure ok, if the heatcircle pump doesn't work at all. I had something in mind, that the heatcircle pump works at least x times a day or so.


immi

Zitat von: lwzler am 06 August 2014, 21:40:06
that's for sure ok, if the heatcircle pump doesn't work at all. I had something in mind, that the heatcircle pump works at least x times a day or so.

just plot it,
find an example of the gplot below

# Created by FHEM/98_SVG.pm, 2014-04-25 01:10:11
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set title '<TL>'
set ytics
set y2tics
set grid
set ylabel ""
set y2label ""
set yrange [0:1]
set y2range [0:2]

#FileLog 35:Mythz.sGlobal\x3a:0:
#FileLog 37:Mythz.sGlobal\x3a:0:
#FileLog 39:Mythz.sGlobal\x3a:0:
#FileLog 41:Mythz.sGlobal\x3a:0:
#FileLog 31:Mythz.sGlobal\x3a:0:
#FileLog 19:Mythz.sHC1\x3a::$fld[18]=~"summer"?0:1

plot "<IN>" using 1:2 axes x1y1 title 'Compressor' ls l1fill lw 1 with lines,\
     "<IN>" using 1:2 axes x1y1 title 'BoosterStage3' ls l0 lw 1 with lines,\
     "<IN>" using 1:2 axes x1y1 title 'BoosterStage2' ls l4 lw 1 with lines,\
     "<IN>" using 1:2 axes x1y1 title 'BoosterStage1' ls l3 lw 1 with lines,\
     "<IN>" using 1:2 axes x1y2 title 'HeatingCircuit_Pump' ls l5 lw 1 with lines,\
     "<IN>" using 1:2 axes x1y2 title 'winterMode' ls l2fill lw 0.5 with lines

micomat

Synology DS218+ with fhem+iobroker in docker, 2x RasPi w. ser2net, CUL433+868, IT, EGPM2LAN, THZ/LWZ, FB_Callmonitor, HMS100TF, Homematic, 2x TX3-TH, Pushover, USB-IR-SML-Head, SONOS, GHoma, MBus, KLF200