To contribute to this page, edit the following file

HEIMAN HS2IRC #

Model HS2IRC
Vendor HEIMAN
Description Smart IR Control
Supports ir control
Picture HEIMAN HS2IRC

Notes #

Device can learn up to 15 devices and up to 30 keycodes for each device.

Configuring #

By publishing to zigbee2mqtt/[FRIENDLY_NAME]/set various device attributes can be configured:

Create device #

Request:

{
    "create": {
        "model_type": 55,
    }
}

Response:

{
    "action": "create",
    "action_result": "success",
    "action_model_type": 55,
    "action_id": 1,
}

NOTE: You should call get_list manually to refresh devices topic.

Learn key #

Request:

{
    "learn": {
        "id": 1,
        "key_code": 31,
    }
}

NOTE: You should store keys one-by-one if you specified key_code by yourself.

Response:

{
    "action": "learn",
    "action_result": "success",
    "action_key_code": 1,
    "action_id": 1,
}

NOTE: You should call get_list manually to refresh devices topic after learning key.

Send stored key #

Request:

{
    "send_key": {
        "id": 1,
        "key_code": 1,
    }
}

Get list of the stored devices and keys #

Request:

{
    "get_list": ""
}

Response:

{
  "devices": [
    {
      "id": 1,
      "key_codes": [
        1,
      ],
      "model_type": 55
    }
  ]
}

Delete device or keycode #

Request:

{
    "delete":{
        "id": 1,
        "key_code": 31
    }
}

Manual Home Assistant configuration #

Although Home Assistant integration through MQTT discovery is preferred, manual integration is possible with the following configuration:

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    unit_of_measurement: "%"
    device_class: "battery"
    value_template: "{{ value_json.battery }}"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    icon: "mdi:signal"
    unit_of_measurement: "lqi"
    value_template: "{{ value_json.linkquality }}"