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

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

Vorheriges Thema - Nächstes Thema

belu

Danke Immi,

hab schon verstanden, gehe auf den RS232 Adapter:

http://www.reichelt.de/USB-Konverter/DIGITUS-DA-70156/3/index.html?&ACTION=3&LA=5&ARTICLE=99617&GROUPID=6105&artnr=DIGITUS+DA-70156

Werde mir aber noch einen CP2102 Entwickler bestellen

http://www.ebay.de/itm/CP2102-USB-TTL-Platine-fur-Arduino-pro-mini-brenner-Download-kabel-CP12013-/271834747732?hash=item3f4a9d1354:g:7mQAAOSw7aBVJ--t

hab mir das mal angeschaut mit den ESP8266, sieht echt gut aus mit dem NodeMcu Lua. Lese mich da noch was ein und dann bestelle ich mal ein paar.

belu

Bin über den Prolific 2303 über rs232 wieder online auf der Kiste.

Bis zum Eintreffen des Der Steckers bleibt es mal so...


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

Heiner

Hi, gehoert vielleicht nicht genau hier hin aber ich versuche gerade mir eine Alarm Mail zukommen zu lassen falls sowas bei der THZ auftritt.

Die THZ hat schon das attribut

event-on-update-reading   s.*

Jetzt hab ich den notify unten erstellt, der funktioniert aber leider nicht. Was mach ich falsch?
define Alarm notify Heizung:sLast10errors:* { DebianMail('a.b@c.de', 'Alarm Heizung', 'Achtung Fehlermeldung',) }

die geschweifte Klammer alein funktioniert und erzeugt eine Mail. Aber die notification klappt nicht. Ich habs auch shcon mal mit
Zitat(Heizung.sLast10errors.*)
versucht, geht aber ebensowenig.

Danke fue die Anfaengerhilfe.
Heiner
--------------------------------
fhem auf Pi3+
CUL 868MHz, Signalduino 434MHz, HM-CFG-USB
HM, THZ, Kostal, Somfy, Conbee, Pytonbinding, FritzBox, FTUI, MQTT2

immi

Hi Heiner
does it work without event-on-update-reading?
I do not use this attibute
immi

willybauss

Hi immi,
looks like there's a bug in the code. Today I got a message

extraVent_ALL: set Mythz p46UnschedVent0 1000: Argument does not match the allowed inerval Min 0 ...... Max 900


But the manual says for the allowed ranges
ZitatLÜFTUNGZEIT AUSS. STUFE 0 P46 0-1000 Minuten
LÜFTUNGZEIT AUSS. STUFE 1 P45 0-1000 Minuten
LÜFTUNGZEIT AUSS. STUFE 2 P44 0-1000 Minuten
LÜFTUNGZEIT AUSS. STUFE 3 P43 0-1000 Minuten
FHEM auf Raspberry Pi B und 2B; THZ (THZ-303SOL), CUL_HM, TCM-EnOcean, SamsungTV, JSONMETER, SYSMON, OBIS, STATISTICS

immi

Hi Willy
please change lines 335 to 338 (red marked value):
"p46UnschedVent0"   => {cmd2=>"0A0571", argMin =>   "0", argMax =>  "900",   type =>"1clean",  unit =>" min"},
"p45UnschedVent1"   => {cmd2=>"0A0572", argMin =>   "0", argMax =>  "900",   type =>"1clean",  unit =>" min"},   
"p44UnschedVent2"   => {cmd2=>"0A0573", argMin =>   "0", argMax =>  "900",   type =>"1clean",  unit =>" min"},   
"p43UnschedVent3"   => {cmd2=>"0A0574", argMin =>   "0", argMax =>  "900",   type =>"1clean",  unit =>" min"},   

Test which is the maximum value, that the tecalor accepts; Could be 999 or 1000 or 1100
I do not trust the datasheet of the tecalor anymore.
I cannot test now.
I will deploy the patch after your feedback.
immi

willybauss

tested with p46 ==> 1000, works.

I don't want to test/use bigger values, since they would be out of manufacturer's spec.
FHEM auf Raspberry Pi B und 2B; THZ (THZ-303SOL), CUL_HM, TCM-EnOcean, SamsungTV, JSONMETER, SYSMON, OBIS, STATISTICS

immi

v 0.151 uploaded
-UnschedVent range extended to 1000
immi

belu

Hallo,

Immi, was wolltest du genau wissen, habe die aktuellste Platine und Software drauf.

sFirmware version: 05.19
   
sFirmware-Id HW: 113 SW: 3.16 Date: DEC 10 2014

Ich habe mir jetzt noch 4 von diesen Rehau CO20 Luftqualitätssensoren bestellt. Mal schauen was die taugen.

LG

Belu

immi

Danke Belu
do you see any difference or improvement?

offtopic.
4 co20; pay attention how you want to connect them.
The best way would be a cable.
If you, instead, go over IP, please consider, that the module co20 is written very low level.
I do not think that you can use ser2net, without some code modification (no rocket science, but a patch has to be dome).
I am disappointment to tell you because, I love ser2net.
I remmember that someone (I think willy) instead of ser2net used fhem2fhem for co20.
immi

willybauss

Yes, I tried fhem2fhem for a while. But effort and power consumption for additional Raspis was too much. So I replaced the solution by a USB-to-RJ45 adapter (https://www.amazon.de/dp/B001TOG6MM/ref=pe_386171_37038021_TE_3p_dp_1). Using cat5 network cables for USB extension allows easy setup (same as pure USB) as well as long distances.
FHEM auf Raspberry Pi B und 2B; THZ (THZ-303SOL), CUL_HM, TCM-EnOcean, SamsungTV, JSONMETER, SYSMON, OBIS, STATISTICS

The Spirit

HI.
Gibt es eigentlich Unterschiede, ob ich per USB oder RS232 drauf gehe?
Ich hätte die USB Variante bevorzugt, da ich FHEM auf einem RasPi betreibe und dort USB direkt vorhanden ist.
Wo finde ich die USB-Buchse an der Tecalor?
Hat da jemand ein Foto für mich?
Danke
THZ 304 Eco Baujahr 2015

micomat

so gesehen macht es keinen Unterschied da die usb über einen internen serial2usb Converter angebunden ist. sie ist nicht so einfach zu erreichen da die Steuerung freigelegt werden muss.
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: The Spirit am 23 Juni 2016, 15:27:57
HI.
Gibt es eigentlich Unterschiede, ob ich per USB oder RS232 drauf gehe?
Ich hätte die USB Variante bevorzugt, da ich FHEM auf einem RasPi betreibe und dort USB direkt vorhanden ist.
Wo finde ich die USB-Buchse an der Tecalor?
Hat da jemand ein Foto für mich?
Danke
es kommt darauf an wie lange ist die kabel.
kurze kabel --> USB direktt könnte einfacher sein
sehr lange kabel --> RS232 ist besser un  billiger
immi