-
Notifications
You must be signed in to change notification settings - Fork 4
Homematic Binding
Documentation of the HomeMatic binding bundle
For installation of the binding, please see Wiki page Bindings.
See Homematic-Controller for details about controller hardware like CCU.
The following config params are used for the HomeMatic binding.
- homematic:host Hostname / IP address of the HomeMatic CCU
- (optional) homematic:callback.host Hostname / IP address for the callback server. This is normally the IP / hostname of the local host (but not "localhost" or "127.0.0.1"). If not present, it is auto discovered. Will print out an warning / error if not successful.
- (optional) homematic:callback.port Port number for the callback server. Defaults to 9123.
######################## HomeMatic Binding ###########################
# Hostname / IP address of the HomeMatic CCU
homematic:host=homematic
# Hostname / IP address for the callback server (optional, default is auto-discovery)
# This is normally the IP / hostname of the local host
# (but not "localhost" or "127.0.0.1").
homematic:callback.host=laptop-dell-linux
# Port number for the callback server. (optional, defaults to 9123)
homematic:callback.port=9123
General format (since 1.3):
homematic="{<device config>}"
The device config consists of several name/value pairs seperated by a equal sign ("="). The format is derived from the JSON format.
Normal parameters:
id=<physicalDeviceAddress / serial number>, channel=<channel in the devices>, parameter=<parameterKey>.
Advanced parameters:
converter=<Class name of the converter to use>, admin: For admin commands.
See Device Configuration Files for details about the device xml files.
The information at each value in brakets is: (<item type>, <unit>, <min/max or possible values>)
For the German CCU users: Die Physical Device Address findet man in der CCU als Seriennummer. Zum Beispiel im Menü aus Einstellungen -> Geräte. Dann hat man eine gute Übersicht über alle Devices.
The current binding does support the following datapoint: PRESS_LONG, PRESS_LONG_RELEASE, TEMPERATURE, PRESS_SHORT, HUMIDITY, LEVEL, STATE, BRIGHTNESS, MOTION, SETPOINT, VALVE_STATE, STOP, WORKING, INSTALL_TEST, PRESS_CONT, ERROR, UNREACH, LOWBAT, MODE_TEMPERATUR_VALVE
A documentation which device is proving which datapoint, please check the documentation from eQ3: http://www.eq-3.de/Downloads/PDFs/Dokumentation_und_Tutorials/HM_Script_Teil_4_Datenpunkte_1_503.pdf
These devices are already supported or will be in near future since we own them. If your device is not listed, please add an issue for it. See HomeMatic Admin Items on howto get information about your devices.
- Remote Controls
- HM-RC-4 (Wireless 4-button sender)
- HM-PBI-4-FM (Wireless 4-button sender flush mount)
- HM-RC-P1 (Single button control)
- HM-RC-12-B (12 button remote control)
- HM-SwI-3-FM (with workaround)
- HM-PB-2-WM (2 channel rocker)
- HM-PB-2-WM55 (2 channel rocker, new model)
- BidCoS-RF:1 - BidCoS-RF:50 (Virtual Keys of the CCU)
- HM-PB-4DIS-WM (Wireless 20 button sender with display)
- Switches
- HM-LC-Sw1-Pl (Plug switch (1-port))
- HM-LC-Sw1-Pl-2 (Plug switch (1-port))+
- HM-LC-Sw1PBU-FM (Flush switch (1-port))
- HM-LC-Sw1-FM (Flush switch (1-port))+
- HM-LC-Sw2-FM (Flush switch (2-port))+
- HM-LC-Sw4-SM (Flush switch (4-port))
- HM-ES-PMSw1 (Plug switch (1-port) with measure Features)
- Dim actors
- HM-LC-Dim2T-SM (Two port dim actor)
- HM-LC-Dim1T-PI (One port dim actor plug)
- HM-LC-Dim1T-FM (One port dim actor)
- HM-LC-Dim1TPBU-FM (1 port dimmer actor flush mount)
- Environment Sensors
- HM-WDS40-TH-I (Temperature and Humidity sensor)
- HM-WDS10-TH-O (Temperature and Humidity sensor)
- HM-Sec-MDIR (Motion and Brightness Sensor)
- HM-Sen-MDIR-O (Motion and Brightness Sensor)
- HM-Sec-WDS (water sensor)
- Contact Sensors
- HM-Sec-SC (Wireless door / window contact sensor)
- HM-SCI-3-FM (Shutter Contact)
- HM-Sec-RHS (Rotary handle sensor)
- Climate Controls
- HM-CC-VD (Wireless actuator)+
- HM-CC-TC (Themo control, partly working)
- Not fully supported: Roller Shutters
- HM-LC-Bl1-FM (Roller Shutter actor (1-port))
- HM-LC-Bl1PBU-FM (Roller Shutter actor (1-port))
- HM-LC-Bl1-SM (Roller Shutter actor (1-port))
For a complete list with translations (en - de) see http://www.elv.de/controller.aspx?cid=824&detail=10&detail2=2850.
Supported Devices:
- HM-RC-4
- HM-PBI-4-FM
- HM-RC-P1
- HM-PB-2-WM
- HM-PB-2-WM55
- HM-SwI-3-FM
- BidCoS-RF:1 - BidCoS-RF:50 (Virtual Keys of the CCU)
- HM-PB-4DIS-WM
Valid parameter keys:
- PRESS_SHORT: The button was pressed short (Switch, pressed=Update to ON)
- PRESS_LONG: The button was pressed or released (Switch, pressed=Update to ON, released=Update to OFF).
- PRESS_CONT: Every few ms this is updated to ON while the long press button is pressed. Useful e.g. for dimming. (Switch, button still pressed=Update to ON)
If the button is not working and you do not see any PRESS_LONG / SHORT in your log file (when started in debug mode), it could be because of enabled security. Try to disable security of your buttons in the HomeMatic Web GUI and try again. If you can't disable security (e.g. HM-SwI-3-FM) try to use key INSTALL_TEST which gets updated to ON for each key press (Switch, pressed=Update to ON)
Switch LivingRoom_RC_One_Left "Living Room Light Sofa INCREASE" <rollershutter> (LivingRoom, Light) {homematic="id=IEQ0035141, channel=1, parameter=PRESS_SHORT"}
Switch LivingRoom_RC_One_Right "Living Room Light Sofa DECREASE" <rollershutter> (LivingRoom, Light) {homematic="id=IEQ0035141, channel=2, parameter=PRESS_SHORT"}
Switch LivingRoom_RC_Two_Left "Living Room Light TV INCREASE" <rollershutter> (LivingRoom, Light) {homematic="id=IEQ0035141, channel=3, parameter=PRESS_SHORT"}
Switch LivingRoom_RC_Two_Right "Living Room Light TV DECREASE" <rollershutter> (LivingRoom, Light) {homematic="id=IEQ0035141, channel=4, parameter=PRESS_SHORT"}
Switch test "Test" (Test) {homematic="id=BidCoS-RF, channel=10, parameter=PRESS_SHORT"}
Supported Devices:
- HM-LC-Sw1PBU-FM
- HM-LC-Sw1-FM
- HM-LC-Sw2-FM
- HM-LC-Sw1-Pl
- HM-LC-Sw1-Pl-2
- HM-LC-Sw4-SM
- HM-ES-PMSw1
Valid parameter keys:
- STATE: The current state of the switch (Switch, TRUE=ON, FALSE=OFF). Accepts OPEN / CLOSE as well.
Switch RF_Plug1 "RF Plug 1" (Light) {homematic="id=JEQxxxxxxxx, channel=1, parameter=STATE"}
Number S_POWER "Power [%.1f W]" (Light) {homematic="id=KEQxxxxxxx,channel=2,parameter=POWER,converter=DoubleDecimalConverter" }
Number S_CURRENT "Current [%.1f mA]" (Light) {homematic="id=KEQxxxxxxx,channel=2,parameter=CURRENT,converter=DoubleDecimalConverter" }
Number S_VOLTAGE "Voltage [%.1f V]" (Light) {homematic="id=KEQxxxxxxx,channel=2,parameter=VOLTAGE,converter=DoubleDecimalConverter" }
Number S_FREQUENCY "Frequency [%.1f Hz]" (Light) {homematic="id=KEQxxxxxxx,channel=2,parameter=FREQUENCY,converter=DoubleDecimalConverter" }
= Remark: you need in the moment (V1.4) for this functionality an additional xml config file inside the binding jar. =
see also here!
Supported Devices:
- HM-LC-Dim2T-SM
- HM-LC-Dim1T-PI
- HM-LC-Dim1T-FM
- HM-LC-Dim1TPBU-FM
Valid parameter keys:
- LEVEL: The energy level (Dimmer, Unit=Percentage, 0%=OFF, 100%=ON)
Dimmer LivingRoom_Light_TV "Living Room Light TV Level [%d %%]" <rollershutter> (LivingRoom, Light) {homematic="id=GEQ0210158, channel=1, parameter=LEVEL"}
Dimmer LivingRoom_Light_Sofa "Living Room Light Sofa Level [%d %%]" <rollershutter> (LivingRoom, Light) {homematic="id=GEQ0210158, channel=2, parameter=LEVEL"}
Supported Devices:
- HM-WDS10-TH-O
- HM-WDS40-TH-I
- HM-CC-TC (Channel 1)
Valid parameter keys:
- TEMPERATURE: The current temperature (Number, unit=°C)
- SETPOINT (HM-CC-TC only): The target temperature (Number, unit=°C)
- HUMIDITY: The current humidity (Number, Unit=Percentage of humidity, min=0, max=100) or (Dimmer, Unit=Percentage of humidity, min=0%, max=100%)
Number LivingRoom_Temperature "Living Room Temperature [%.1f °C]" <temperature> (LivingRoom, Temperature) {homematic="id=IEQ0022806, channel=1, parameter=TEMPERATURE"}
Number LivingRoom_Humidity "Living Room Humidity [%d %%]" <temperature> (LivingRoom, Humidity) {homematic="id=IEQ0022806, channel=1, parameter=HUMIDITY"}
Number LivingRoom_Temperature_Setpoint "Living Room Temperature SetPoint [%.1f °C]" <temperature> (LivingRoom, Temperature) {homematic="id=IEQ0022806, channel=2, parameter=SETPOINT"}
Supported Devices:
- HM-Sec-MDIR
- HM-Sen-MDIR-O
Valid parameter keys:
- MOTION: Motion detected (Switch, ON=Motion detected, OFF (default)=NONE)
- BRIGHTNESS: Actual brightness (Dimmer, Unit=Percentage, 0%=dark, 100%=bright) or (Number, Unit=Integer Number, 0=dark, 100=bright)
Supported Devices:
- HM-Sec-WDS
Valid parameter keys:
- STATE: The water sensor state
- As Number (Number, 0=no water, 1=humid, 2=water)
- PLANNED: As Switch (Switch, water sensored=Update to ON, no water or just humidity=OFF)
Supported Devices:
- HM-Sec-RHS
Valid parameter keys:
- STATE: The current state of the handle (Number, 0=open, 1=tilted, 2=closed)
Supported Devices:
- HM-SCI-3-FM
Valid parameter keys:
- STATE: The current state of the handle (Number, 0=open, 1=closed)
Supported Devices:
- HM-Sec-SC (Wireless door / window contact sensor)
Valid parameter keys:
- STATE: The current state of the handle (Number, false=open, true=closed)
Contact myWindowContact "Contact" {homematic="id=IEQ000000, channel=1, parameter=STATE"}
Supported Devices:
- HM-CC-VD (Actuator)
- HM-CC-TC (Themo Control)
Valid parameter keys:
- VALVE_STATE: The current state of the valve (Dimmer, Unit=Percentage, 0%=closed, 100%=open) or (Switch, Unit=ON/OFF, OFF=closed, ON=open). Read-only value.
The roller shutter support is still not really usable. It mainly mapps to the wrong direction: 100% in homematic is 0% in openHAB which makes all widgets very unusable!
Supported Devices:
- HM-LC-Bl1-FM
- HM-LC-Bl1PBU-FM
- HM-LC-Bl1-SM
Valid parameter keys:
- LEVEL: The roller shutter level (Rollershutter, Unit=Percentage, 0%=OPEN, 100%=CLOSED, stop=STOP, move again=MOVE).
NOTE: It is a known bug that the direction is incorrect, i.e. if you move your shutter down, it goes up and vice versa. This is due to the fact that HomeMatic defines 100% as "up" while for openHAB 100% means "down". This will be dealt with in the next release.
Rollershutter LivingRoom_Rollershutter "Living Room Roller Shutter Level [%d %%]" <rollershutter> (LivingRoom, Rollershutter) {homematic="id=JEQ0299993, channel=1, parameter=LEVEL"}
Sensors and actors usually provide a datapoint called LOWBAT which can be used if to bind an item.
Switch Lowbat_GF_Living_Terrace "Empty battery terrace door [%s]" <siren> {homematic="id=JEQ1234567, channel=0, parameter=LOWBAT"}
The most sensors and actors are provide a datapoint which becomes true if the device is not reachable (because of a communication issue).
Switch Unreach_GF_Living_Terrace "Terrace door unreachable [%s]" <siren> {homematic="id=JEQ1234567, channel=0, parameter=UNREACH"}
Some security devices like motion sensors and contact sensors do provide a datapoint which can be used to detect sabotage of this device.
Switch Sabotage_GF_Living_Terrace "Sabotage Terrace [MAP(home.map):Sabotage_%s]" <siren> {homematic="id=JEQ1234567, channel=1, parameter=ERROR"}
Installation
Community
- Support
- News Archive
- Presentations
- How to Contribute
- IDE Setup
- How to Implement a Binding
- How to Implement an Action
- Projects using openHAB
- User Interfaces
- Classic UI
- iOS Client
- Android Client
- GreenT UI
- CometVisu
- Bindings
- Asterisk Binding
- Astro Binding
- Bluetooth Binding
- Comfo Air Binding
- CUL Binding
- CUPS Binding
- digitalSTROM Binding
- DMX512 Binding
- EnOcean Binding
- Epson Projector Binding
- Exec Binding
- Fritz!Box Binding
- Fritz AHA Binding
- GPIO Binding
- HDAnywhere binding
- Heatmiser Binding
- Homematic Binding
- HTTP Binding
- IHC / ELKO Binding
- Insteon Hub Binding
- Insteon PLM Binding
- Ir-Trans Binding
- KNX Binding
- Koubachi Binding
- MAX!Cube-Binding
- MiLight Binding
- Modbus TCP Binding
- MPD Binding
- MQTT Binding
- MQTTitude binding
- Neohub Binding (Preview)
- Netatmo Binding
- Network Health Binding
- Nibe Heatpump Binding
- Nikobus Binding
- Novelan/Luxtronic Heatpump Binding
- NTP Binding
- One-Wire Binding
- Onkyo AV Receiver Binding
- Open Energy Monitor Binding
- OpenPaths presence detection binding
- OpenSprinkler Binding
- OSGi Configuration Admin Binding
- Philips Hue Binding
- Piface Binding
- Pioneer-AVR-Binding
- Plugwise Binding
- PLCBus Binding
- Pulseaudio Binding
- RFXCOM Binding
- Samsung TV Binding
- Serial Binding
- Snmp Binding
- Squeezebox Binding
- System Info Binding
- Somfy URTSI II Binding
- Sonos Binding
- Swegon ventilation Binding
- TCP/UDP Binding
- Tellstick Binding
- TinkerForge Binding
- VDR Binding
- Velleman-K8055-Binding
- Wake-on-LAN Binding
- Withings Binding
- XBMC Binding
- xPL Binding
- Z-Wave Binding
- Persistence
- db4o Persistence
- rrd4j Persistence
- MySQL Persistence
- MongoDB Persistence
- Sen.Se Persistence
- Cosm Persistence
- Logging Persistence
- Exec Persistence
- MQTT Persistence
- Automation
- Scripts
- Rules
- Actions
- Misc
- REST-API
- Security
- Google Calendar Support
- Twitter Action
- Service Discovery
- Dropbox Bundle
Samples
- Item definitions
- Sitemap definitions
- Binding configurations
- Rules
- REST Examples
- Tips & Tricks
- FAQ
- XSLT Transforms
- Scripts
- Integration with other applications
- Syntax highlighting for external editors
- Update-Scripts
- Samples-Comfo-Air-Binding
- Samples WAC Binding
Release Notes