Skip to content

sanjoyg/dirigera_platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Lights
  • Outlets
  • Open/Close Sensors
  • Motion Sensor
  • Environment Sensor
  • FYRTUR Blinds
  • STYRBAR Remotes
  • AirPurifier
  • STARKVIND AirPurifier
  • VALLHORN Motion Sensors
  • Scenes
  • BADRING Water Leak sensor:
  • SOMRIG Controllers - Included Events for Automation

Buy Me A Coffee

Donation to above will got to Samriddhi Foundation an iniative by my teenage daughter to help the less fortunate.

Pre-requisite

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

Installing

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

  • Like all add-on installation goto the "HACS" option in the left menu bar in home assistant
  • Select Integration and add custom repository and enter this repositoy

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

  • Go to Developer -> Service and invoke dirigera_platform.dump_data without any parameters
  • Look at the HASS log which would have the JSON.
  • If you see any platform errors include that as well

Detailed Instructions