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

would you be so kind to give me the exact command you used?
something like
set Mythz programHC1_Fr_0 00:15--00:45
p.s. at fist glance the syntax check  in line 1212 is: 
($arg !~ /^(?:\d|[01]\d|2[0-3]):[0-5]\d$/ )ad is should not accept higher than 23:59

The Spirit

my command is:
set Mythz programHC1_Tu_2 21:00--24:00see the error here
Du darfst diesen Dateianhang nicht ansehen.

if i set the time within my tecalor with the scroll-wheel, i can set a end time of 24:00 (this is also shown in fhem if i read the value).
if i try to set the end time via fhem, i can only choose an end time of 23:59 which results in an end time of 23:45.
THZ 304 Eco Baujahr 2015

immi

fix committed
return "Argument does not match the allowed inerval Min $argMin ...... Max $argMax " if (($arg ne "n.a.") and ($arg1 ne "n.a.") and (($arg !~ /^(?:\d|[01]\d|2[0-3]):[0-5]\d$/ )  or ($arg1 !~ /^24:00|(?:\d|[01]\d|2[0-3]):[0-5]\d$/ )) ) ;update fhem tomorrow and it should work
immi

TheTrumpeter

Hi immi,

For me setting of pClockHour does not work. I can read the actual value with "get" command, but when trying to "set" it does not change the value, the return-value is always the old value.
When I change the value on the heatpump itself I get the new one with a "get".

Any idea?

firmware-attribute: 5.39
sFirmware: version: 05.39
sFirmware-Id: HW: 113 SW: 3.16 Date: DEC 10 2014
FHEM auf RPi3, THZ (LWZ404SOL), RPII2C & I2C_MCP342x (ADCPiZero), PowerMap, CustomReadings, RPI_GPIO, Twilight, nanoCUL (WMBus für Diehl Wasserzähler & Regenerationszähler für BWT AqaSmart), ESPEasy, TPLinkHS110

willybauss

I roughly remember that we already discussed about that topic. Setting minutes works, but setting hours doesn't for any reason. Since THZ can deal with daylight saving time itself, this doesn't seem to be an issue. For clock synchronisation, setting minutes should be sufficient.
FHEM auf Raspberry Pi B und 2B; THZ (THZ-303SOL), CUL_HM, TCM-EnOcean, SamsungTV, JSONMETER, SYSMON, OBIS, STATISTICS

TheTrumpeter

Zitat von: willybauss am 24 Juni 2023, 16:23:44For clock synchronisation, setting minutes should be sufficient.
That's right.

Today I again tried to bypass the reset at 10:00 which surprisingly worked properly.
At 9:50 I manually set the clock to 7:50 and 2 hours later again another hour back to 8:50.
When it was 12:40 in reality the LWZ had 9:40, then I corrected it to 12:40 again.
Although it was really cold today, the release of cooling and passive cooling which was given yesterday still remained.

Of course I could use the minutes only to avoid crossing 10:00, but it's not possible to correct the time after 12:00 was passed. (Maybe it's not even required to wait until 12:00, I have to try that some other day.)
FHEM auf RPi3, THZ (LWZ404SOL), RPII2C & I2C_MCP342x (ADCPiZero), PowerMap, CustomReadings, RPI_GPIO, Twilight, nanoCUL (WMBus für Diehl Wasserzähler & Regenerationszähler für BWT AqaSmart), ESPEasy, TPLinkHS110

immi

Zitat von: TheTrumpeter am 24 Juni 2023, 13:28:50For me setting of pClockHour does not work. I can read the actual value with "get" command, but when trying to "set" it does not change the value, the return-value is always the old value.
When I change the value on the heatpump itself I get the new one with a "get".
same for me
https://forum.fhem.de/index.php?msg=1252834

TheTrumpeter

Zitat von: TheTrumpeter am 24 Juni 2023, 19:01:45(Maybe it's not even required to wait until 12:00, I have to try that some other day.)
I tried that today, it did not work:
At 9:40 I switched to 10:40. Cooling remained active for maybe 1 minute, but then it stopped.
So it seems that they not only reset the release-states at 10:00 but also block it between 10:00 and 12:00. (At least that seems the case with cooling. Passive cooling was already stopped due to high outside temperature, so I don't know if it's also valid for that, but I guess.)

So to completely bypass the reset it seems to be necessary to avoid that LWZ ,,sees" any time between 10:00 and 12:00.
FHEM auf RPi3, THZ (LWZ404SOL), RPII2C & I2C_MCP342x (ADCPiZero), PowerMap, CustomReadings, RPI_GPIO, Twilight, nanoCUL (WMBus für Diehl Wasserzähler & Regenerationszähler für BWT AqaSmart), ESPEasy, TPLinkHS110

rett_de

Hi all!

Can somebody enhance the THZ Module with the following values? HC2 for cooling is not supported, actually. I think, using HC2 is needed for most installations.

0C0287 : p99CoolingHC2Switch, "on" sets it 0x0001 and "off" sets 0x0000
0C0582 : p99CoolingHC2SetTemp
0C0583 : p99CoolingHC2HystersisFlowTemp
0C0584 : p99CoolingHC2HystersisRoomTemp
0C0264 : sDewPointHC2

Thank you so much for the support

immi

Zitat von: rett_de am 18 August 2023, 07:14:10Hi all!
Can somebody enhance the THZ Module with the following values? HC2 for cooling is not supported, actually. I think, using HC2 is needed for most installations.
0C0287 : p99CoolingHC2Switch, "on" sets it 0x0001 and "off" sets 0x0000
0C0582 : p99CoolingHC2SetTemp
0C0583 : p99CoolingHC2HystersisFlowTemp
0C0584 : p99CoolingHC2HystersisRoomTemp
0C0264 : sDewPointHC2
Hi
I expect you have 539 or higher.
am I right?
immi

rett_de

Zitat von: immi am 19 August 2023, 22:47:36
Zitat von: rett_de am 18 August 2023, 07:14:10Hi all!
Can somebody enhance the THZ Module with the following values? HC2 for cooling is not supported, actually. I think, using HC2 is needed for most installations.
0C0287 : p99CoolingHC2Switch, "on" sets it 0x0001 and "off" sets 0x0000
0C0582 : p99CoolingHC2SetTemp
0C0583 : p99CoolingHC2HystersisFlowTemp
0C0584 : p99CoolingHC2HystersisRoomTemp
0C0264 : sDewPointHC2
Hi
I expect you have 539 or higher.
am I right?
immi
Dear immi - exact. 5.39 is the firmware rev. Thanks for your support!

immi

new code committed
try this evening or tomorrow an update

rett_de

Zitat von: immi am 21 August 2023, 10:28:44new code committed
try this evening or tomorrow an update
Hi Immi - I tested it via direct downloading from svn. It works as expected with all the parameters. Thank you so much!

Best Regards Markus

TheTrumpeter

Hi immi,

I remember a "set" command to clear the fault-memory which was available in earlier versions of THZ-module.
Was that removed some time back or is the memory in my brain corrupted?
FHEM auf RPi3, THZ (LWZ404SOL), RPII2C & I2C_MCP342x (ADCPiZero), PowerMap, CustomReadings, RPI_GPIO, Twilight, nanoCUL (WMBus für Diehl Wasserzähler & Regenerationszähler für BWT AqaSmart), ESPEasy, TPLinkHS110

immi

Zitat von: TheTrumpeter am 05 September 2023, 15:36:48I remember a "set" command to clear the fault-memory which was available in earlier versions of THZ-module.
Was that removed some time back or is the memory in my brain corrupted?
hi
I remember setting zResetLast10errors to 0
probably you need to change firmware attr to 4.39technician