Hallo,
ich habe bei mir auf sämtlichen HM-Geräten das Reading sign auf on gestellt. Nach meinem Verständnis sollte man die HM-Geräte jetzt nur noch bedienen können, wenn man den richtigen AES-Schlüssel besitzt (im HMLAN und VCCU gesetzt).
Ich habe natürlich schon dutzende Forumseinträge durch, doch nichts brachte den gewünschten Erfolg. Was mich stutzig macht ist, dass aesKeyNbr auf 00 steht. Ich habe schon mehrmals auf assignHmKey geklickt, ohne dass sich der Wert geändert hat. Seltsamerweise steht der Wert bei nahezu allen HM-Geräten auf 00, nur selten steht dort 02.
ich habe nur einen HM-Key welcher mit 01:KEY beginnt.
Wenn ich nun aber den AES-Schlüssel in der VCCU und HMLAN ändere, kann ich z.B. trotzdem die Temperatur am Thermostat ändern.
Dabei läuft folgendes ab:
2016-08-17 07:09:57 CUL_HM Thermostat_Gast CMDs_pending
2016-08-17 07:09:57 CUL_HM Thermostat_Gast CMDs_pending
2016-08-17 07:09:57 CUL_HM Thermostat_Gast_Climate set_desired-temp 13.0
2016-08-17 07:09:57 CUL_HM Thermostat_Gast_Climate set_desired-temp 13.0
2016-08-17 07:09:58 CUL_HM Thermostat_Gast aesCommToDev: pending
2016-08-17 07:09:58 CUL_HM Thermostat_Gast aesKeyNbr: 00
2016-08-17 07:09:59 CUL_HM Thermostat_Gast battery: ok
2016-08-17 07:09:59 CUL_HM Thermostat_Gast desired-temp: 13.0
2016-08-17 07:09:59 CUL_HM Thermostat_Gast_Climate boostTime: -
2016-08-17 07:09:59 CUL_HM Thermostat_Gast_Climate commReporting: off
2016-08-17 07:09:59 CUL_HM Thermostat_Gast_Climate controlMode: manual
2016-08-17 07:09:59 CUL_HM Thermostat_Gast_Climate desired-temp: 13.0
2016-08-17 07:09:59 CUL_HM Thermostat_Gast_Climate T: 23.8 desired: 13.0
2016-08-17 07:09:59 CUL_HM Thermostat_Gast_Climate winOpenReporting: on
2016-08-17 07:09:59 CUL_HM Thermostat_Gast aesCommToDev: pending
2016-08-17 07:09:59 CUL_HM Thermostat_Gast aesKeyNbr: 00
2016-08-17 07:09:59 CUL_HM Thermostat_Gast battery: ok
2016-08-17 07:09:59 CUL_HM Thermostat_Gast desired-temp: 13.0
2016-08-17 07:09:59 CUL_HM Thermostat_Gast CMDs_done
2016-08-17 07:09:59 CUL_HM Thermostat_Gast_Climate boostTime: -
2016-08-17 07:09:59 CUL_HM Thermostat_Gast_Climate commReporting: off
2016-08-17 07:09:59 CUL_HM Thermostat_Gast_Climate controlMode: manual
2016-08-17 07:09:59 CUL_HM Thermostat_Gast_Climate desired-temp: 13.0
2016-08-17 07:09:59 CUL_HM Thermostat_Gast_Climate T: 23.8 desired: 13.0
2016-08-17 07:09:59 CUL_HM Thermostat_Gast_Climate winOpenReporting: on
List vom Thermostat:
Internals:
DEF 4536BB
HMLAN_MSGCNT 1500
HMLAN_RAWMSG E4536BB,0000,00248166,FF,FFB8,6D84704536BB00000000EE36
HMLAN_RSSI -72
HMLAN_TIME 2016-08-17 07:14:19
IODev HMLAN
LASTInputDev HMLAN
MSGCNT 1500
NAME Thermostat_Gast
NR 494
NTFY_ORDER 50-Thermostat_Gast
STATE CMDs_done
TYPE CUL_HM
channel_01 Thermostat_Gast_Weather
channel_02 Thermostat_Gast_Climate
channel_03 Thermostat_Gast_WindowRec
channel_06 Thermostat_Gast_remote
channel_07 Thermostat_Gast_SwitchTr
lastMsg No:6D - t:70 s:4536BB d:000000 00EE36
protCmdDel 17
protCondBurst on
protEvt_AESCom-ok 172 last_at:2016-08-17 06:42:59
protEvt_AESerrReject 29 last_at:2016-08-17 07:09:59
protLastRcv 2016-08-17 07:14:19
protResnd 5 last_at:2016-08-16 22:37:57
protResndFail 3 last_at:2016-08-16 22:38:02
protSnd 292 last_at:2016-08-17 07:09:59
protState CMDs_done
rssi_HMLAN avg:-58.15 lst:-57 max:-57 min:-59 cnt:26
rssi_at_HMLAN min:-80 max:-67 cnt:1052 lst:-72 avg:-72.97
Readings:
2016-08-16 22:38:51 Activity alive
2016-08-17 07:09:58 CommandAccepted yes
2016-08-16 22:38:51 D-firmware 1.3
2016-08-16 22:38:51 D-serialNr NEQ0122655
2016-08-17 06:42:34 PairedTo 0x29A479
2016-07-31 10:31:40 R-burstRx on
2016-07-31 10:31:40 R-cyclicInfoMsg on
2016-07-31 10:31:40 R-cyclicInfoMsgDis 0
2016-07-31 10:31:40 R-pairCentral 0x29A479
2016-08-17 06:42:34 RegL_00. 01:01 02:01 09:01 0A:29 0B:A4 0C:79 0F:00 11:00 12:16 16:01 18:00 19:00 1A:00 00:00
2016-08-17 07:09:59 aesCommToDev pending
2016-08-17 07:09:59 aesKeyNbr 00
2016-08-17 07:11:09 battery ok
2016-08-17 07:11:09 batteryLevel 3
2016-08-17 07:11:09 desired-temp 13.0
2016-08-17 07:11:09 measured-temp 23.8
2016-08-17 07:09:59 state CMDs_done
2016-08-07 01:49:30 time-request -
Regl_07.:
VAL
Helper:
HM_CMDNR 109
PONtest 1
cSnd 1129A4794536BB86041A,1129A4794536BB86041A
mId 00AD
rxType 6
Expert:
def 1
det 0
raw 1
tpl 0
Io:
newChn +4536BB,00,01,80
nextSend 1471410859.71557
rxt 0
vccu VCCU
p:
4536BB
00
01
80
Mrssi:
mNo 6D
Io:
HMLAN -70
Prt:
awake 0
bErr 0
brstWu 0
sProc 0
Rspwait:
Q:
qReqConf
qReqStat
Role:
dev 1
Rssi:
Hmlan:
avg -58.1538461538462
cnt 26
lst -57
max -57
min -59
At_hmlan:
avg -72.9705323193916
cnt 1052
lst -72
max -67
min -80
Shregw:
07 02
Shadowreg:
Tmpl:
Role:
Attributes:
IODev HMLAN
IOgrp VCCU
actCycle 000:10
actStatus alive
autoReadReg 4_reqStatus
expert 2_raw
firmware 1.3
icon hm-tc-it-wm-w-eu@black
model HM-TC-IT-WM-W-EU
msgRepeat 1
room Zimmer_Gast
serialNr NEQ0122655
subType thermostat
webCmd getConfig:clear msgEvents
Wenn die KeyNbr noch auf 00 steht, ist dein Key noch nicht in Verwendung. Da muss 02 stehen. Setze Sign nochmal zurück auf off und dann wieder auf on. Danach noch ein getConfig.
Hallo Deudi,
vielen Dank! Nachdem ich nun bei _Climate, _remote, t_SwitchTr, _Weather und _WindowRec sign auf off gestellt hatte, ein assignHmKey ausgeführt hatte und wieder auf sign on gestellt hatte, wurde der Wer 02 geschrieben.
Jetzt habe ich noch mein bestehendes Problem, dass ich zwischen Fensterkontakt und Thermostat keine Verbindung per AES-Signierung herstellen kann. Ein Setzen von expectAES klappt nicht (cannot calculate value...). Dies habe ich hier beschrieben: https://forum.fhem.de/index.php/topic,56735.msg482347.html