Homematic Notifications


The homematic notification platform enables invoking Homematic devices.

To use this notification platform in your installation, add the following to your configuration.yaml file:

Configuration

# Example configuration.yaml entry
notify:
  - name: my_hm
    platform: homematic
    address: NEQXXXXXXX
    channel: 2
    param: "SUBMIT"
    value: "1,1,108000,8"

Configuration Variables

address

(string)(Required)The address of your Homematic device. The address is the serial number of the device shown in the CCU in the devices section in the column serial number.

channel

(integer)(Required)The channel of your Homematic device.

param

(string)(Required)An additional parameter for the Homematic device.

interface

(string)(Optional)Set the name of the interface from the config.

value

(string)(Required)This is the value that is set on the device. Its device specific.

Usage

homematic is a notify platform and can be controlled by calling the notify service as described here.

Only the data part of the event payload is processed. This part can specify or override the value given as configuration variable:

{
  "data": {
    "address": "NEQXXXXXXX",
    "channel": 2,
    "param": "SUBMIT",
    "value": "1,1,108000,8"
  }
}

It is possible to provide a template in order to compute the value:

{
  "data": {
    "value": "1,1,108000{% if is_state('binary_sensor.oeqxxxxxxx_state', 'on') %},1{% endif %}{% if is_state('binary_sensor.oeqxxxxxxx_state', 'on') %},2{% endif %}"
  }
}

You can also specify the event payload using a group notification (instead of specifying the value for the notify itself):

notify:
  - name: my_hm
    platform: homematic
    address: NEQXXXXXXX
  - name: group_hm
    platform: group
    services:
      - service: my_hm
        data:
          data:
            value: "1,1,108000{% if is_state('binary_sensor.oeqxxxxxxx_state', 'on') %},1{% endif %}{% if is_state('binary_sensor.oeqxxxxxxx_state', 'on') %},2{% endif %}"

alert:
  temperature:
    name: Temperature too high
    done_message: Temperature OK
    entity_id: binary_sensor.temperature_too_high
    can_acknowledge: True
    notifiers:
      - group_hm

Please note that the first data element belongs to the service my_hm, while the second one belongs to the event payload.