User Tools

Site Tools


openhab-examples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
openhab-examples [2015/06/28 19:55] – [Item definitions] GoHoHaopenhab-examples [2015/06/29 00:17] (current) breaker27
Line 1: Line 1:
-====== Exapmles for OpenHAB ======+====== Examples for OpenHAB ======
  
 At this page we collect example configurations for the OpenHAB integration of smarthomatic devices. At this page we collect example configurations for the OpenHAB integration of smarthomatic devices.
Line 23: Line 23:
 Based on the EnvSensor the short between a GPIO-PIN and GND or a special switch can be used as a water detection sensor. Based on the EnvSensor the short between a GPIO-PIN and GND or a special switch can be used as a water detection sensor.
  
-The item definition on OpenHAB (the contacts are mapped in e2p to the third port):+The item definition on OpenHAB (the contacts are mapped to the third DigitalInputPin in e2p):
  
-<code>Switch Water_Basement "Water sensor basement [MAP(water.map):%s]" (gBasement,gSensorWater,gSensor) {smarthomatic="<[deviceId=123, messageGroupId=1, messageId=1, messagePart=2]"}</code>+<code>Switch Water_Basement "Water sensor basement [MAP(water.map):%s]" (gBasement,gSensorWater,gSensor) {smarthomatic="<[deviceId=123, messageGroupId=1, messageId=1, messagePart=2]"}</code>
  
 The water.map file: The water.map file:
openhab-examples.1435514141.txt.gz · Last modified: 2015/06/28 19:55 by GoHoHa