sanjoyg / dirigera_platform

HomeAssistant Integration for Dirigera Platform
MIT License
71 stars 8 forks source link
dirigera homeassistant homeassistant-custom-component homeassistant-integration

IKEA Dirigera Hub Integration

This custom components help integrating HomeAssistant with the new IKEA Dirigera hub. This integration is a scaffolding on the great work done by Nicolas Hilberg at https://github.com/Leggin/dirigera

Supports

Pre-requisite

  1. Identify the IP of the gateway - Usually looking at the client list in your home router interface will give that.

Installing

Using the integration

  1. One you get to add integration and get to the configuration screen, the IP of the gateway will be requested. IMPORTANT Before hitting enter be near the IKEA Dirigera hub as post entering IP a request to press the action button on the hub

  2. Once you get the screen requesting to press the action button, physically press the button once and then click on submit

  3. If the IP is right and action button has been pressed, then the integration will be added and all devices registered will be shown. At this time the following device types are supported

    In addition you'll find the scenes added as individual entities. Go to the "Entities" to find them as they're not part of any device. Use the "Activate" button to trigger a scene.

Testing installation with mock

  1. If you enter the IP as "mock" then mock bulbs and outlet will be added.
  2. Once you verify that the bulbs and outlets are added feel free to delete the integration

Here is how it looks

  1. After you have downloaded the integration from HACS and go to Setting -> Integration -> ADD INTEGRATION to add the dirigera integration, the following screen will come up

To test the integration, enter the IP as "mock". The check-box indicates if the bulbs/lights associated with a device-set should be visible as entities or not

The integration would prompt to press the action button on the hub

Since this is mock, we would get a success message

Once this is complete you would see two bulbs and two outlets appearing.

Raising Issue

Now I dont have access to all sensors, hence what will be useful is when you raise an issue also supply to the JSON that the hub returns. To get the JSON do the following

Detailed Instructions