Hallo,
bin seit kurzer Zeit dabei Erfahrungen mit FHEM zu sammeln. Erstmal einen mega-Dank an all die Leute, die FHEM zu dem gemacht
haben was es heute ist und an alle die hier im Forum unterstützen. Genial was hier entstanden ist.
Habe seit kurzem FHEM auf einem Pi mit HM-LAN-Adapter am laufen und ein par Homematic Komponenten im Einsatz.
Möchte erst mal ein wenig Erfahrung mit den diversen Komponenten sammeln, bevor ich großflächig installiere.
Habe jetzt mal das HCS Modul aktivert und schon tauchen die ersten Fragen auf.
Im Log sehe ich folgendes.
2014.03.05 23:43:17 3: HCS EG_HK_Bad_HCS Found 1 Device(s): 0 FHT, 1 HM-CC-TC, 0 MAX, demand: 0, idle: 1, ignored: 0, excluded: 0, unknown: 0, eco: no overdrive: no
2014.03.05 23:43:17 1: HCS EG_HK_Bad_HCS An error occurred while switching device 'EG_HK_Bad': Unknown argument off, choose one of burstXmit clear:readings,register,rssi,msgEvents getConfig getRegRaw inhibit:on,off pair raw regBulk regSet reset sysTime unpair
Die erste Zeile verstehe ich ja noch - obwohl das Gerät kein HM-CC-TC sondern ein HM-CC-RT-DN ist.
Die zweiten Zeile versteh ich jedoch nicht. Was mach ich da falsch???
Hier mal diverse Einträge
fhem.cfg:
define EG_HK_Bad CUL_HM 23xxxx
attr EG_HK_Bad .devInfo 00FFFF
attr EG_HK_Bad .stc 59
attr EG_HK_Bad actCycle 002:00
attr EG_HK_Bad actStatus alive
attr EG_HK_Bad autoReadReg 4_reqStatus
attr EG_HK_Bad event-min-interval 500
attr EG_HK_Bad event-on-change-reading .*
attr EG_HK_Bad event-on-update-reading .*
attr EG_HK_Bad expert 2_full
attr EG_HK_Bad firmware 1.1
attr EG_HK_Bad icon sani_heating
attr EG_HK_Bad model HM-CC-RT-DN
attr EG_HK_Bad peerIDs
attr EG_HK_Bad room Bad
attr EG_HK_Bad serialNr KEQ0xxxxx
attr EG_HK_Bad subType thermostat
attr EG_HK_Bad webCmd getConfig:clear msgEvents:burstXmit
define FileLog_EG_HK_Bad FileLog ./log/EG_HK_Bad-%Y.log EG_HK_Bad
attr FileLog_EG_HK_Bad icon edit_copy
attr FileLog_EG_HK_Bad logtype text
attr FileLog_EG_HK_Bad room Bad
define EG_HK_Bad_Weather CUL_HM 23Cxxxxx
attr EG_HK_Bad_Weather expert 1
attr EG_HK_Bad_Weather model HM-CC-RT-DN
attr EG_HK_Bad_Weather peerIDs 00000000,
attr EG_HK_Bad_Weather room Bad
define FileLog_EG_HK_Bad_Weather FileLog ./log/EG_HK_Bad_Weather-%Y.log EG_HK_Bad_Weather
attr FileLog_EG_HK_Bad_Weather logtype text
attr FileLog_EG_HK_Bad_Weather room CUL_HM
define EG_HK_Bad_Climate CUL_HM 23Cxxxxx
attr EG_HK_Bad_Climate expert 1
attr EG_HK_Bad_Climate model HM-CC-RT-DN
attr EG_HK_Bad_Climate peerIDs 00000000,
attr EG_HK_Bad_Climate room Bad
define FileLog_EG_HK_Bad_Climate FileLog ./log/EG_HK_Bad_Climate-%Y.log EG_HK_Bad_Climate
attr FileLog_EG_HK_Bad_Climate logtype text
attr FileLog_EG_HK_Bad_Climate room CUL_HM
define EG_HK_Bad_HCS HCS EG_HK_Bad
attr EG_HK_Bad_HCS deviceCmdOff off
attr EG_HK_Bad_HCS deviceCmdOn on
attr EG_HK_Bad_HCS event-on-change-reading state,devicestate,eco,overdrive
attr EG_HK_Bad_HCS idleperiod 10
attr EG_HK_Bad_HCS interval 5
attr EG_HK_Bad_HCS mode thermostat
attr EG_HK_Bad_HCS thermostatThresholdOff 0.5
attr EG_HK_Bad_HCS thermostatThresholdOn 0.5
attr EG_HK_Bad_HCS valveThresholdOff 40
attr EG_HK_Bad_HCS valveThresholdOn 35
list EG_HK_Bad_HCS:
Internals:
DEF EG_HK_Bad
NAME EG_HK_Bad_HCS
NEXTCHECK 22:43:17
NR 53
STATE idle
TYPE HCS
Readings:
2014-03-05 22:38:17 EG_HK_Bad idle
2014-03-05 22:38:16 device EG_HK_Bad
2014-03-05 22:38:17 eco off
2014-03-05 22:38:17 locked 00:00:00
2014-03-05 22:38:17 overdrive off
2014-03-05 22:38:17 state idle
Helper:
Device:
Eg_hk_bad:
actuator 0
demand 0
excluded 0
ignored 0
tempDesired 21
tempMeasured 23.7
type CUL_HM
Attributes:
deviceCmdOff off
deviceCmdOn on
event-on-change-reading state,devicestate,eco,overdrive
idleperiod 10
interval 5
mode thermostat
thermostatThresholdOff 0.5
thermostatThresholdOn 0.5
valveThresholdOff 40
valveThresholdOn 35
Der Heizkörperthermostat ist wie folgt definiert:
list EG_HK_Bad
Internals:
DEF 25xxxx
HMLAN1_MSGCNT 29
HMLAN1_RAWMSG E23xxxx,0000,6A6D140E,FF,FFC2,4F861023C4970000000A80E40F0026
HMLAN1_RSSI -62
HMLAN1_TIME 2014-03-05 23:50:49
IODev HMLAN1
LASTInputDev HMLAN1
MSGCNT 29
NAME EG_HK_Bad
NR 29
STATE CMDs_done
TYPE CUL_HM
channel_01 EG_HK_Bad_Weather
channel_02 EG_HK_Bad_Climate
channel_03 EG_HK_Bad_Window_Rec
channel_04 EG_HK_Bad_ClimRT_tr
channel_05 EG_HK_Bad_ClimaTeam
channel_06 EG_HK_Bad_remote
lastMsg No:4F - t:10 s:23xxxx d:000000 0A80E40F0026
protLastRcv 2014-03-05 23:50:49
rssi_at_HMLAN1 avg:-61.51 min:-65 max:-58 lst:-62 cnt:29
Readings:
2014-03-05 22:38:24 Activity alive
2014-03-05 22:37:32 CommandAccepted yes
2014-02-22 01:27:01 D-firmware 1.1
2014-02-22 01:27:01 D-serialNr KEQxxxxx
2014-02-24 21:09:10 PairedTo 0x25xxxx
2014-02-16 10:53:07 R-backOnTime 10 s
2014-02-24 21:08:52 R-btnLock unlock
2014-02-24 21:08:52 R-burstRx on
2014-02-24 21:08:52 R-cyclicInfoMsg on
2014-02-24 21:08:52 R-cyclicInfoMsgDis 0
2014-02-24 21:08:52 R-globalBtnLock off
2014-02-15 21:53:35 R-intKeyVisib set_invisib
2014-02-24 21:08:52 R-localResDis off
2014-02-16 10:53:07 R-lowBatLimitRT 2.1 V
2014-02-24 21:08:52 R-modusBtnLock off
2014-02-24 21:08:52 R-pairCentral 0x225xxxx
2014-02-24 21:09:10 RegL_00: 01:01 02:01 09:01 0A:25 0B:77 0C:CE 0E:0A 0F:00 11:00 12:15 16:00 18:00 19:00 1A:00 00:00
2014-03-05 23:50:49 actuator 0 %
2014-03-05 23:50:49 battery ok
2014-03-05 23:50:49 batteryLevel 3 V
2014-03-05 23:50:49 desired-temp 16
2014-03-05 23:50:49 measured-temp 22.8
2014-02-16 10:16:51 noReceiver src:23xxx A010 0500000000000700
2014-02-14 23:16:38 powerOn -
2014-03-05 22:37:36 state CMDs_done
2014-03-05 22:15:39 time-request -
Regl_07::
TIME 2014-03-05 22:38:07
VAL
Helper:
mId 0095
rxType 140
Io:
newChn +23xxx,00,01,1E
nextSend 1394059849.90297
Prt:
bErr 0
sProc 0
Rspwait:
Q:
qReqConf
qReqStat
Role:
dev 1
Rssi:
At_hmlan1:
avg -61.5172413793103
cnt 29
lst -62
max -58
min -65
Shregw:
07 04
Attributes:
actCycle 002:00
actStatus alive
autoReadReg 4_reqStatus
event-min-interval 500
event-on-change-reading .*
event-on-update-reading .*
expert 2_full
firmware 1.1
icon sani_heating
model HM-CC-RT-DN
peerIDs
room Bad
serialNr KEQ0xxxxx
subType thermostat
webCmd getConfig:clear msgEvents:burstXmit
Muss ich vielleicht das HCS device an EG_HK_Bad_ClimRT_tr hängen oder was läuft da sonst schief?
Danke im voraus
bdu1 (Bernd)
Hallo,
was willst Du denn schalten? Der Aufruf ist: define NAME HCS SCHALTDEVICE. Bei dem was Du geschrieben hast (define EG_HK_Bad_HCS HCS EG_HK_Bad) versucht er das Thermostat ein oder aus zu schalten - was aber nicht geht weil dieses kein on/off kann.
Die Thermostate werden alleine gesucht. Bei mir ist das "define Heizung HCS Schalter_1". Dann habe ich das HCS Modul auf Ventilöffnung umgestellt und Schalter_1 schaltet die Umwälzpumpe. Das Ergebins - Ventile zu oder fast zu= Pumpe aus - Ventile auf =Pumpe an.
Gruß Christoph
Danke Christoph,
da bin ich irgendwie selbst auf der Leitung gestanden... :-[
Manchmal sieht man den Wald vor lauter Bäumen nicht...
Gruß
Bernd