Ich habe einen Drehgriffkontakt (HM-Sec-RHS) per homegear angelernt. In homegear kann ich erfolgreich Statusänderungen des Kontaktes sehen.
/var/log/homegear/homegear.log
07/16/17 13:42:27.856 Module HomeMatic BidCoS: CUNX "QCUNX": Info: Sending (QCUNX): 114AA002FD5CF42C362504CB1006F4DF0100
07/16/17 13:42:28.025 Module HomeMatic BidCoS: CUNX "QCUNX": Info: r-Frame is: 194AA2032C3625FD5CF435C484A76E8CE58DD851871CF0E984B1
07/16/17 13:42:28.025 HomeMatic BidCoS packet received (QCUNX, RSSI: -79 dBm): 0C4AA6412C3625FD5CF40147C8
07/16/17 13:42:28.026 Module HomeMatic BidCoS: Info: LOWBAT on channel 1 of HomeMatic BidCoS peer 2 with serial number LEQ0887564 was set to 0x00.
07/16/17 13:42:28.026 Module HomeMatic BidCoS: Info: STATE on channel 1 of HomeMatic BidCoS peer 2 with serial number LEQ0887564 was set to 0xC8.
[...]
07/16/17 13:42:28.120 Module HomeMatic BidCoS: CUNX "QCUNX": Info: Sending (QCUNX): 0E4A8002FD5CF42C362500B1D872A8
07/16/17 13:42:28.323 Module HomeMatic BidCoS: CUNX "QCUNX": Info: Sending (QCUNX): 114BA002FD5CF42C36250467BAE72344F100
07/16/17 13:42:28.492 Module HomeMatic BidCoS: CUNX "QCUNX": Info: r-Frame is: 194BA2032C3625FD5CF461555284E8463393F408A8148CF538B5
07/16/17 13:42:28.492 HomeMatic BidCoS packet received (QCUNX, RSSI: -82 dBm): 0C4BA6412C3625FD5CF4014864
07/16/17 13:42:28.492 Module HomeMatic BidCoS: Info: LOWBAT on channel 1 of HomeMatic BidCoS peer 2 with serial number LEQ0887564 was set to 0x00.
07/16/17 13:42:28.492 Module HomeMatic BidCoS: Info: STATE on channel 1 of HomeMatic BidCoS peer 2 with serial number LEQ0887564 was set to 0x64.
07/16/17 13:42:28.586 Module HomeMatic BidCoS: CUNX "QCUNX": Info: Sending (QCUNX): 0E4B8002FD5CF42C36250002CD1383
In diesem Fall ändert sich der Status von OPEN auf CLOSED. Leider kommt in OpenHAB immer nur der Status OPEN an.
/opt/openhab/logs/events.log
2017-07-16 13:42:28 - Fenster1_EG state updated to OPEN
2017-07-16 13:42:28 - Fenster1_EG state updated to OPEN
/opt/openhab/configurations/items/wsf.items
Contact Fenster1_EG "EG Fenster 1 [MAP(de.map):%s]" (gEG) { homematic="address=LEQ0887564, channel=1, parameter=STATE" }
Ist das möglicherweise in Bug in OpenHAB?
Ich verwende
- OpenHAB 1
- Homegear 0.6.20-987
Ein Fenstermagnetkontakt (HM-Sec-SC-2) den ich bereits im Einsatz habe funktioniert problemlos und liefert korrekt die Werte OPEN und CLOSED.
/var/log/homegear/homegear.log
07/16/17 11:39:53.184 Module HomeMatic BidCoS: CUNX "QCUNX": Info: Sending (QCUNX): 1123A002FD5CF44D2950045C76D0D86A0B00
07/16/17 11:39:53.356 Module HomeMatic BidCoS: CUNX "QCUNX": Info: r-Frame is: 1923A2034D2950FD5CF4308D10F9D6316BB9502B048271704AA8
07/16/17 11:39:53.356 HomeMatic BidCoS packet received (QCUNX, RSSI: -46 dBm): 0C23A6414D2950FD5CF40121C8
[...]
07/16/17 11:39:53.357 Module HomeMatic BidCoS: Info: LOWBAT on channel 1 of HomeMatic BidCoS peer 1 with serial number NEQ0757901 was set to 0x00.
07/16/17 11:39:53.357 Module HomeMatic BidCoS: Info: STATE on channel 1 of HomeMatic BidCoS peer 1 with serial number NEQ0757901 was set to 0xC8.
07/16/17 11:39:53.450 Module HomeMatic BidCoS: CUNX "QCUNX": Info: Sending (QCUNX): 0E238002FD5CF44D29500042B36D75
[...]
07/16/17 11:40:37.686 Module HomeMatic BidCoS: CUNX "QCUNX": Info: Sending (QCUNX): 1124A002FD5CF44D295004C2B53A2769C400
07/16/17 11:40:37.857 Module HomeMatic BidCoS: CUNX "QCUNX": Info: r-Frame is: 1924A2034D2950FD5CF4D8260F4D07DAA711E8EF3ED512494BDE
07/16/17 11:40:37.858 HomeMatic BidCoS packet received (QCUNX, RSSI: -51 dBm): 0C24A6414D2950FD5CF4012200
07/16/17 11:40:37.858 RPC client: Info: Calling RPC method "system.multicall" on server 192.168.33.210.
07/16/17 11:40:37.859 Module HomeMatic BidCoS: Info: LOWBAT on channel 1 of HomeMatic BidCoS peer 1 with serial number NEQ0757901 was set to 0x00.
07/16/17 11:40:37.859 Module HomeMatic BidCoS: Info: STATE on channel 1 of HomeMatic BidCoS peer 1 with serial number NEQ0757901 was set to 0x00.
/opt/openhab/logs/events.log
2017-07-16 11:39:53 - Fenster1_Dach_Wohnzimmer state updated to OPEN
[...]
2017-07-16 11:40:37 - Fenster1_Dach_Wohnzimmer state updated to CLOSED