home-assistant.io/source/_components/homematicip_cloud.markdown
Markus Jankowski 796c7fc0bb add HmIP-FCI1, HmIP-BBL, HmIP-FBL to Homematic IP Cloud (#9873)
* add HmIP-FCI1

* Add HmIP-BBL, HmIP-FBL
2019-07-19 00:37:04 +02:00

7.6 KiB
Raw Blame History

title, description, logo, ha_category, ha_iot_class, ha_release, redirect_from
title description logo ha_category ha_iot_class ha_release redirect_from
HomematicIP Cloud Instructions for integrating HomematicIP into Home Assistant. homematicip_cloud.png
Hub
Alarm
Binary Sensor
Climate
Cover
Light
Sensor
Switch
Cloud Push 0.66
/components/alarm_control_panel.homematicip_cloud/
/components/binary_sensor.homematicip_cloud/
/components/climate.homematicip_cloud/
/components/cover.homematicip_cloud/
/components/light.homematicip_cloud/
/components/sensor.homematicip_cloud/
/components/switch.homematicip_cloud/

The HomematicIP integration platform is used as an interface to the cloud server. Since there is no official documentation about this API, everything was done via reverse engineering. The homematicip-rest-api is used for communicating. Use at your own risk.

There is currently support for the following device types within Home Assistant:

  • Alarm
  • Binary Sensor
  • Climate
  • Cover
  • Light
  • Sensor
  • Switch
  • Weather

Setup the integration via the frontend

Menu: Configuration -> Integrations

Fill the form:

  • Your access point ID (SGTIN)
  • Optional a name to identify your access point, this will be used to prefix your device names.

The authentification token will be generated and stored internally.

Setup the integration using the configuration files

Generate the authentication token:

generate_auth_token.py

Add the information to your configuration.yaml file:

homematicip_cloud:
  - accesspoint: IDENTIFIER
    authtoken: AUTHTOKEN
  - name: Location2
    accesspoint: IDENTIFIER2
    authtoken: AUTHTOKEN2

{% configuration %} name: required: false description: Name to identify your access point, this will be used to prefix your device names. type: string accesspoint: required: true description: This is the access point ID (SGTIN). type: string authtoken: required: true description: "Authentication token generated with generate_auth_token.py." type: string {% endconfiguration %}

Implemented and tested devices

  • homematicip_cloud.alarm_control_panel

    • Combined Alarm Control Panal with INTERNAL and EXTERNAL Security zones (HmIP-SecurityZone)
  • homematicip_cloud.binary_sensor

    • Window and door contact (HmIP-SWDO, -I)
    • Contact Interface flush-mount 1 channel (HmIP-FCI1)
    • Window Rotary Handle Sensor (HmIP-SRH)
    • Smoke sensor and alarm (HmIP-SWSD)
    • Motion Detector with Brightness Sensor - indoor (HmIP-SMI)
    • Motion Detector with Brightness Sensor - outdoor (HmIP-SMO)
    • Presence Sensor indoor (HmIP-SPI)
    • Water Sensor (HmIP-SWD)
    • Remote Control - 8 buttons (HmIP-RC8) (battery only)
    • Wall-mount Remote Control - 2-button (HmIP-WRC2) (battery only)
    • Wall-mount Remote Control - 6-button (HmIP-WRC6) (battery only)
    • Key Ring Remote Control - 4 buttons (HmIP-KRC4) (battery only)
    • Key Ring Remote Control - alarm (HmIP-KRCA) (battery only)
    • Alarm Siren (HmIP-ASIR, -B1) (battery only)
    • Remote Control for brand switches 2-button (HmIP-BRC2) (battery only)
  • homematicip_cloud.climate

    • Climate group (HmIP-HeatingGroup)
    • This includes temperature/humidity measures for climate devices of a room delivered by:
      • Wall-mounted thermostat (HmIP-WTH, WTH-2)
      • Brand Wall-mounted thermostat (HmIP-BWTH, BWTH-24)
      • Radiator thermostat (HmIP-eTRV,-2,-C) - should also work with (HmIP-eTRV-2-UK, -B, -B1)
      • Temperature and humidity sensor (HmIP-STH)
      • Temperature and humidity Sensor with display (HmIP-STHD)
  • homematicip_cloud.cover

    • Shutter actuator for brand-mount (HmIP-BROLL)
    • Shutter actuator for flush-mount (HmIP-FROLL)
    • Blind Actuator for brand switches (HmIP-BBL)
    • Blind Actuator for flush-mount (HmIP-FBL)
  • homematicip_cloud.light

    • Switch actuator and meter for brand switches (HmIP-BSM)
    • Dimming actuator for brand switches (HmIP-BDT)
    • Dimming actuator flush-mount (HmIP-FDT)
    • Pluggable Dimmer trailing edge (HmIP-PDT)
    • Switch Actuator for brand switches with signal lamp (HmIP-BSL)
  • homematicip_cloud.sensor

    • Cloud Access point duty-cycle (HmIP-HAP, -B1)
    • Wall Mounted Thermostat Pro with Display (HmIP-WTH, WTH2)
    • Radiator thermostat (HmIP-eTRV,-2, -C) - should also work with (HmIP-eTRV-2-UK, -B, -B1)
    • Temperature and Humidity Sensor without display - indoor (HmIP-STH)
    • Temperature and Humidity Sensor with display - indoor (HmIP-STHD)
    • Temperature and Humidity sensor - outdoor (HmIP-STHO, -A)
    • Motion Detector with Brightness Sensor - indoor (HmIP-SMI)
    • Motion Detector with Brightness Sensor - outdoor (HmIP-SMO)
    • Presence Sensor indoor (HmIP-SPI)
    • Light Sensor - outdoor (HmIP-SLO)
  • homematicip_cloud.switch

    • Pluggable Switch (HmIP-PS)
    • Pluggable Switch and Meter (HmIP-PSM) - should also work with (HmIP-PSM-CH, -IT, -UK, -PE)
    • Switch Actuator and Meter flush-mount (HmIP-FSM, -FSM16)
    • Open Collector Module Receiver - 8x (HmIP-MOD-OC8)
    • Multi IO Box - 2x (HmIP-MIOB)
    • Switch Circuit Board - 1x channels (HmIP-PCBS)
    • Switch Circuit Board - 2x channels (HmIP-PCBS2)
    • Printed Circuit Board Switch Battery (HmIP-PCBS-BAT)
  • homematicip_cloud.weather

    • Weather Sensor basic (HmIP-SWO-B)
    • Weather Sensor plus (HmIP-SWO-PL)
    • Weather Sensor pro (HmIP-SWO-PR)

Services

  • homematicip_cloud.activate_eco_mode_with_duration: Activate eco mode with duration.
  • homematicip_cloud.activate_eco_mode_with_period: Activate eco mode with period.
  • homematicip_cloud.activate_vacation: Activates the vacation mode until the given time.
  • homematicip_cloud.deactivate_eco_mode: Deactivates the eco mode immediately.
  • homematicip_cloud.deactivate_vacation: Deactivates the vacation mode immediately.

Service Examples

accesspoint_id (SGTIN) is optional for all services and only relevant if you have multiple Homematic IP Accesspoints connected to HA. If empty, service will be called for all configured Homematic IP Access Points. The accesspoint_id (SGTIN) can be found on top of the integration page, or on the back of your Homematic IP Accesspoint.

Activate eco mode with duration.

...
action:
  service: homematicip_cloud.activate_eco_mode_with_duration
  data:
    duration: 60
    accesspoint_id: 3014xxxxxxxxxxxxxxxxxxxx

Activate eco mode with period.

...
action:
  service: homematicip_cloud.activate_eco_mode_with_period
  data:
    endtime: 2019-09-17 18:00
    accesspoint_id: 3014xxxxxxxxxxxxxxxxxxxx

Activates the vacation mode until the given time.

...
action:
  service: homematicip_cloud.activate_vacation
  data:
    endtime: 2019-09-17 18:00
    temperature: 18.5
    accesspoint_id: 3014xxxxxxxxxxxxxxxxxxxx

Deactivates the eco mode immediately.

...
action:
  service: homematicip_cloud.deactivate_eco_mode
  data:
    accesspoint_id: 3014xxxxxxxxxxxxxxxxxxxx

Deactivates the vacation mode immediately.

...
action:
  service: homematicip_cloud.deactivate_vacation_mode
  data:
    accesspoint_id: 3014xxxxxxxxxxxxxxxxxxxx

Additional info

Push button devices are only available with a battery sensor. This is due to a limitation of the vendor API (eq3). It's not possible to detect a key press event on these devices at the moment.

  • Remote Control - 8 buttons (HmIP-RC8)
  • Wall-mount Remote Control - 2-button (HmIP-WRC2)
  • Wall-mount Remote Control - 6-button (HmIP-WRC6)
  • Key Ring Remote Control - 4 buttons (HmIP-KRC4)
  • Key Ring Remote Control - alarm (HmIP-KRCA)