Openhab + Homegear + HomeMatic LAN Gateway +Switch/Contact

223 views
Skip to first unread message

David Arenz

unread,
Nov 20, 2014, 5:28:36 PM11/20/14
to ope...@googlegroups.com
Hi,

I am trying to integrate my HomeMatic stuff into my OpenHab setup. So far I set up Homegear which works fine. I can turn on and of my devices and get there status. Now I am somehow stuck in OpenHab.

My Setup so far:
cat /opt/openhab/openhab.cfg | grep homematic | grep -v "^#" | grep -v "^$" 

homematic:host=192.168.178.12

homematic:rpc=bin

homematic:callback.host=192.168.178.12

homematic:callback.port=9123

homematic:alive.interval=300

(.12 is the Gateway, whomever runs on localhost/.13)

1. Question: Is the host-ip the one of the machine running whomever or the actual HomeMatic LAN Gateway?
2. How would a Contact and a Switch look like?

Contact homematic_contact "Homematic Contact[MAP(en.map):%s]" {homematic="id=GEQ0014419, channel=1, parameter=STATE"}

Switch homematic_switch "Homematic Switch" (rc_socket, WG_Z_Office) {homematic="id=LEQ0541099, channel=1, parameter=STATE"}


I keep getting errors like:

WARN  o.o.b.h.i.c.CcuCommunicator[:193] - Can't find DatapointConfig[address=LEQ0541099,channel=1,parameter=STATE], value is not published to openHAB!

WARN  o.o.c.t.i.s.MapTransformationService[:70] - Could not find a mapping for '-' in the file 'en.map'.


Can somebody please write me a few lines that work out. So that I can start from there?
Thanks a lot!
David

Gerhard R.

unread,
Nov 21, 2014, 2:14:12 AM11/21/14
to ope...@googlegroups.com
Hi David!

The homematic:host is the IP address where Homegear is installed. The HomeMatic LAN Gateway is already configured in Homegear.
The flow is: openHab <-> Homegear <-> LAN Gateway

Which version of the homematic binding are you using? 1.5 does not work with Homegear, you need the 1.6 version: https://openhab.ci.cloudbees.com/job/openHAB/

Also please change the id property in the item to the correct address property:
{homematic="address=GEQ0014419, channel=1, parameter=STATE"}


BR
Gerhard

David Arenz

unread,
Nov 23, 2014, 7:05:13 PM11/23/14
to
Hi Gerhard,

Thanks for your help. I looked at it again today. I already updated the addon to 1.6 but not the rest of openhab. Changed the IP, edited the items and now it works.

THANKS A LOT!

David

PS: Now I am playing around with other stuff like Thermal Valve Controls.
Reply all
Reply to author
Forward
0 new messages