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

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

Vorheriges Thema - Nächstes Thema

immi

Hi NaCkHaYeD
A short hint from my side, which we discussed in the forum before.
Nobody seams to know how Tecalor is saving the register (at hardware level).
No doku is available.

please consider that nobody knows the mission profile of the memory: e.g MeanTimeBetweeFailure, how often can you rewrite the same register in 10years?
The problem of data-retention is not trivial.
I expect that in the best case they made an average calculation of 1 change every day, coming probably to 3600 rewrite of the same register.

if you change the register 3 times a day, expect 1/3 of lifetime of the memory.

The best way is to get an answer from tecalor. Otherwise you can find the memory-cell in the PCB and look for a datasheet in internet.

immi

NaCkHaYeD

Dear Immi,

on the PCB i found the following components:
AMIC A29800TV-70F  - NOR Flash Memory (100000 Write/Erase Cycles)
74HC373D Si-Gate CMOS Device
ULN2003A Transistors
MB90F347CE CPU
IS62C1024AL-35TLI RAM

So for me it seems that the NOR Flash is the important device. With 20 Years, 365 Days, i can rewrite the Register 13 times a day. So we should be save at this Point. But i will try to find something out about this issue. This device will be sold about 1,35€, but a new Mainboard will cost about 750€

mfg
NaCkHaYeD

immi

I expect that, in the future, the cost of a new Mainboard will only increase.
So it is usefulll to damp the memory now, somehow.
Moreover, if we get enough knoledge, we can consider sharing or upgrading the firmwares.

The flashing tool is included in a subdirectory of  the LWZ_303_Bedieneinh_Version_5_10,
in which unfortunatelly are only very very old firmware files (mhx) attached.
immi

skyper

Hi all,

i have a stiebel 403sol with firmware 3.39
is there a known problem with this firmware or fully supported ? (not listed in the wiki)

my serial connection (12m far away) only works with 57600 baud and not very good. (not faster, not slower)
often there is "Mythz THZ_ReadAnswer got no answer from DevIo_SimpleRead. Maybe too slow?"
or an simple get sFirmware shows: 01 msg2 new unknown answer, next time "msg2 InterfaceNotRespondig "

i have the software "LWZ_303_Bedieneinh_NEU_Version_5_10" works well - is it easy to update the firmware ?
Can anybody send a new firmware, changelog and manual for updating?

Any hints are welcome
thanks !

immi

Zitat von: skyper am 05 September 2015, 14:05:34
i have a stiebel 403sol with firmware 3.39
is there a known problem with this firmware or fully supported ? (not listed in the wiki)
my serial connection (12m far away) only works with 57600 baud and not very good. (not faster, not slower)
often there is "Mythz THZ_ReadAnswer got no answer from DevIo_SimpleRead. Maybe too slow?"
or an simple get sFirmware shows: 01 msg2 new unknown answer, next time "msg2 InterfaceNotRespondig "
welcome in FHEM
I have 10m shielded telefon cable and I have no issue with double your speed. My serial connection is really stable. Your problem could be in crosstalking (e.g.  the high current cable of the heatpump). Test with a short cable temporary, before starting speculating.

Have you got one positive anser from the heatpump? I am interested in register sFirmware and sFirmware-Id
Please upload also all full log-files
Do you have FHEM updated?

ciao
immi

willybauss

Welcome also from my side.

Since your heatpump communicates with 57600 baud you can give up trying other speeds. There's just one single speed setting for each firmware revision. In your case it's 57600.

FHEM auf Raspberry Pi B und 2B; THZ (THZ-303SOL), CUL_HM, TCM-EnOcean, SamsungTV, JSONMETER, SYSMON, OBIS, STATISTICS

skyper

hello immi & willybauss,

i made a newcomer mistake... ;)
fhem version question was good - never though about an update test, it was an new Debian install one week old. i did not check version!! (perhaps a notice in debian-install would be good, that an update is required.)

THANKS guys!!!  now much more infos are loading, looking good in the first moment. (just updated 5 mins ago, while i was typing this answer)
i will report back, when there are more questions.

byebye
skyper

micomat

Zitat von: immi am 03 Februar 2015, 23:29:47
v 0.131 uploaded
changelog
- added p35PasteurisationInterval, p35PasteurisationTemp,   p34BoosterDHWTempAct, p99DHWmaxFlowTemp, p89DHWeco
immi

any idea what P34 is about? Mine shows me -10°C
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

Zitat von: micomat am 16 September 2015, 12:41:03
any idea what P34 is about? Mine shows me -10°C
12.2.3 Temperature enable - electric booster heater
[MENU/DHW/PARAMETER, P34]
If the outside temperature falls below the value selected under "BOOSTER T ACTIVATE", the electric booster heater for DHW heating is immediately switched on. This means heating is not interrupted for longer than necessary.

p.s I was tempter to answer RTFM, but you are right,  the explanation is definitely not clear
https://xkcd.com/293/

micomat

thanks immi!

Zitat von: immi am 16 September 2015, 21:05:04
p.s I was tempter to answer RTFM, but you are right,  the explanation is definitely not clear
https://xkcd.com/293/

i love this one :D
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

v0.145 uploaded
changelog "00_THZ: bugfix register sLast10errors"

immi

willybauss

Is this bugfix related to friesenjung's recent issue? In this case you might give him a hint in the other thread, please.
FHEM auf Raspberry Pi B und 2B; THZ (THZ-303SOL), CUL_HM, TCM-EnOcean, SamsungTV, JSONMETER, SYSMON, OBIS, STATISTICS

ioT4db

Erster Test nach dem Bugfixing ist positiv:

Reading vor Bugfix:
number_of_faults: 1 fault0CODE:  fault0TIME: 66:48 fault0DATE: 30.09 fault1CODE: n.a. fault1TIME: 00:00 fault1DATE: 0 fault2CODE: n.a. fault2TIME: 00:00 fault2DATE: 0 fault3CODE: n.a. fault3TIME: 00:00 fault3DATE: 0


Reading nach Bugfix:
number_of_faults: 1 fault0CODE: F34_FlowSensor fault0TIME: 05:31 fault0DATE: 30.09 fault1CODE: n.a. fault1TIME: 00:00 fault1DATE: 0 fault2CODE: n.a. fault2TIME: 00:00 fault2DATE: 0 fault3CODE: n.a. fault3TIME: 00:00 fault3DATE: 0

Danke...
FHEM auf Synology mittels Docker,  Jeelink-Clone 1x für PCA301 und 1x für Lacrosse, THZ304SOL, Homematic: CUL_HM / M-MOD-RPI-PCB, Pushover, Xiaomi s50

ioT4db

Hallo Immi,

hier der Raw Register für das Problem sLast10errors und dem Datumsproblem 03.10.:

2015.10.11 20:51:42 5: Cmd: >get Mythz sLast10errors<
2015.10.11 20:51:42 5: THZ_Get: Try to get 'sLast10errors'
2015.10.11 20:51:42 5: THZ_Get_Comunication: Check if port is open. State = '(opened)'
2015.10.11 20:51:42 5: Mythz sending 02
2015.10.11 20:51:42 5: SW: 02
2015.10.11 20:51:42 5: Mythz start Funktion THZ_ReadAnswer
2015.10.11 20:51:42 5: THZ_ReadAnswer: uc unpack: '10'
2015.10.11 20:51:42 5: Mythz sending 0100D2D11003
2015.10.11 20:51:42 5: SW: 0100D2D11003
2015.10.11 20:51:42 5: Mythz start Funktion THZ_ReadAnswer
2015.10.11 20:51:42 5: THZ_ReadAnswer: uc unpack: '10'
2015.10.11 20:51:42 5: Mythz start Funktion THZ_ReadAnswer
2015.10.11 20:51:42 5: THZ_ReadAnswer: uc unpack: '02'
2015.10.11 20:51:42 5: Mythz sending 10
2015.10.11 20:51:42 5: SW: 10
2015.10.11 20:51:42 5: Mythz start Funktion THZ_ReadAnswer
2015.10.11 20:51:42 5: double read 1 activated 01005ED10101220030013601000000
2015.10.11 20:51:42 5: double read 1 result with buf1  01005ED10101220030013601000000000000000000000000000000000000
2015.10.11 20:51:42 5: double read 2 activated 01005ED10101220030013601000000000000000000000000000000000000
2015.10.11 20:51:42 5: double read 2 result with buf1  01005ED10101220030013601000000000000000000000000000000000000000000000000000000000000000000000000
2015.10.11 20:51:42 5: double read 3 activated 01005ED10101220030013601000000000000000000000000000000000000000000000000000000000000000000000000
2015.10.11 20:51:42 5: double read 3 result with buf1  01005ED10101220030013601000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2015.10.11 20:51:42 5: double read 4 activated 01005ED10101220030013601000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2015.10.11 20:51:42 5: double read 4 result with buf1  01005ED101012200300136010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001003
2015.10.11 20:51:42 5: THZ_ReadAnswer: uc unpack: '01005ED101012200300136010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001003'
2015.10.11 20:51:42 5: Mythz sending 10
2015.10.11 20:51:42 5: SW: 10
2015.10.11 20:51:42 5: Parse message: 5ED10101220030013601000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2015.10.11 20:51:42 5: Message length: 128
2015.10.11 20:51:42 5: Triggering Mythz (1 changes)
2015.10.11 20:51:42 5: Notify loop for Mythz sLast10errors: number_of_faults: 1 fault0CODE: F34_FlowSensor fault0TIME: 03:04 fault0DATE: 3.1 fault1CODE: n.a. fault1TIME: 00:00 fault1DATE: 0 fault2CODE: n.a. fault2TIME: 00:00 fault2DATE: 0 fault3CODE: n.a. fault3TIME: 00:00 fault3DATE: 0
2015.10.11 20:51:42 5: Triggering Mythz.alarm_boosterDHW


VG
Daniel
FHEM auf Synology mittels Docker,  Jeelink-Clone 1x für PCA301 und 1x für Lacrosse, THZ304SOL, Homematic: CUL_HM / M-MOD-RPI-PCB, Pushover, Xiaomi s50

immi

thnks daniel
v. 0.146 uploaded, tomorrow you can upgrade
-sLast10errors fix for datum
-sFirmware has now 4 digits: e.g. version: 04.39; before was version: 4.39
immi