Skip to content

Adding Jarolift covers to Home Assistant

This guide describes a quick and easy way to add the Jarolift integration to Home Assistant and configure it. The integration is used to control Jarolift radio-capable rollo motors. In my case the motors are TDEF type, but the integration may work with other radio-capable motors. I use a Broadlink RM4 Pro as the remote. This remote must be configured in Home Assistant using the Broadlink integration. Write down the entity ID of this device, as you will need it to configure the Jarolift integration.

The code for this integration can be found here: (Unofficial) Jarolift Integration for Home Assistant.

The necessary keys for the integration can be found by searching for Jarolift pastebin.

Adding integration using HACS

A prerequisite for this method is that HACS is set up.

In Home Assistant, go to HACS -> Integrations -> Additional configuration (three dots in the upper right corner) -> Custom repositories.

HACS Custom Repositories

In the Repository field, enter the repository address: https://github.com/weaseel/hass-jarolift. For Category, choose Integration, and then click the ADD button.

HACS Custom Repositories add

Now you can install the Jarolift integration as usual.

Configuration

A prerequisite for this configuration is that you have the keys needed for Jarolift encryption, as mentioned at the beginning of this document.

These keys are in the format:

MSB: '0x12345678'
LSB: '0x09876543'

The next thing to prepare is the group-ids and serial numbers. Each device requires one group-id and one serial number. Use a separate serial number for each controlled cover (Jarolift motor). Be aware that group-ids are treated as binary enabled/disabled values. For example, if you use 0x0005 as a group-id, this will possibly control 2 covers: those with group-ids 0x0001 and 0x0004.

In my case I have 9 covers to control, so I created the following config in the main configuration.yaml:

jarolift:
  remote_entity_id: remote.rm4pro_remote
  MSB: '0x12345678'
  LSB: '0x09876543'

cover:
  - platform: jarolift
    covers:
      - name: 'Buero'
        group: '0x0001'
        serial: '0x106ac01'
      - name: 'Whonzimmer'
        group: '0x0002'
        serial: '0x106ac02'
      - name: 'Balkon'
        group: '0x0004'
        serial: '0x106ac03'
      - name: 'SchlafzimmerTuer'
        group: '0x0008'
        serial: '0x106ac04'
      - name: 'SchlafzimmerFenster'
        group: '0x0010'
        serial: '0x106ac05'
      - name: 'Kueche'
        group: '0x0020'
        serial: '0x106ac06'
      - name: 'Kinderzimmer'
        group: '0x0040'
        serial: '0x106ac07'
      - name: 'Spielzimmer'
        group: '0x0080'
        serial: '0x106ac08'
      - name: 'Bad'
        group: '0x0100'
        serial: '0x106ac09'

As you can see, the serial numbers are incremental, and the group-ids are powers of 2, produced by a binary left shift.

After you add or change this configuration, restart Home Assistant.

If everything is OK after the restart, you should see all your covers listed among the entities in Home Assistant.

Learning the cover codes to Home Assistant - pairing

Set the controlled cover into learning mode. This can be done with an already paired remote by pressing the up and down buttons at the same time, and then pressing the stop button eight times. When the cover enters learning mode, it confirms this by briefly going up and then down.

In Home Assistant, go to Developer tools -> Services and find the service Jarolift integration: learn. In the Service data field, enter the group and serial of the device you want to pair, and then click the button CALL SERVICE. I suggest preparing this call before turning the cover into learning mode.

If pairing is successful, the cover will briefly go up and then down as confirmation.

Repeat this process for every cover you have.

Pairing HA and cover