# “connection” between Schneiders - IHC Controller an HOMEY

**URL:** <https://community.homey.app/t/connection-between-schneiders-ihc-controller-an-homey/52884>\
**Category:** Tutorials\
**Created:** [October 8, 2021, 6:28pm UTC](https://community.homey.app/t/connection-between-schneiders-ihc-controller-an-homey/52884 "2021-10-08T18:28:08Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kongedam](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kongedam/32/35807_2.png) [@Kongedam](https://community.homey.app/u/Kongedam)\
**Post date:** [October 8, 2021, 6:28pm UTC](https://community.homey.app/t/connection-between-schneiders-ihc-controller-an-homey/52884/1 "2021-10-08T18:28:08Z")

</div>

You need a raspberry pi, where you install IHC Captain,  
The released version can’t connect to IHC ☹

Please ask the developer Mikkel for a beta version [IHC® Captain - fjernbetjening, automatisering og overvågning](http://jemi.dk/ihc/)

**Start flows from IHC Captain**

> Install Webhook manager on you Homey  
> [Webhook Manager App til Homey | Homey](https://homey.app/da-dk/app/webhook.manager/Webhook-Manager/)

> Login to your Homey Developer page and choose “webhook manager”  
> [Homey Developer Tools](https://tools.developer.homey.app/tools/app-settings)
> 
> On the bottom of the page copy your GET URL – delete ”data fields” (&data1=data\_field\_1\_here&data2=data\_field\_2\_here&data3=data\_field\_3\_here)

> Use the URL to start flows from IHC Captain (your\_event\_name\_here, has to be changed with your webhook manager “On event” name)
> 
> Remember to change  
> [https://webhooks.athom.com/webhook/57274085acb3bd6d14b3d299/?token=XXXXXXXXX&event=your\_event\_name\_here](https://webhooks.athom.com/webhook/57274085acb3bd6d14b3d299/?token=XXXXXXXXX&event=your_event_name_here)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/5/25343c31d2913621ba23467482bbc9037ded893c.png)

> Create an event in In IHC Captain (Save to URL)  
> Insert your URL and choose ”get”  
> Test it and save
> 
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/9/79afc094e6719013fc92b3faf37ee94b611425c8.png)  
> .  
> .

**Control IHC fra Homey**

> In settings for IHC Captain choose ”API” to create a ”token”
> 
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/e/8e8842e3b52fbcd7d455d4e1517c6be76e99e036.png)

> In IHC Captain you need to find the item you want to control.  
> Hold ”CTRL” down and push left mouse button, now you will be able to see the ID number you need to use in Homey
> 
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/5/455e5699a9e120a5e2417b763e759811b3233d0c.png)

> Create a flow in Homey and use the Logic http GET to send your request to IHC Captain. In this example I disable my IHC Alarm (Alarm Frakoblet)
> 
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/a/fa423b4606ab19c965e7b97f42e69777847325b0.png)

> **Curl example:**  
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/c/5cb9661325bd8ffa81d5ab88486c1da31a0fa95f.png)
> 
> **Boolean values can be:**  
> true  
> false  
> 1  
> 0  
> toggle

Please remember to support the developer of IHC Captain.  
/Kongedam

---

<div class="post-metadata">

**Author:** ![Claus\_Blaabjerg\_Hans](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/claus_blaabjerg_hans/32/78899_2.png) [@Claus\_Blaabjerg\_Hans](https://community.homey.app/u/Claus_Blaabjerg_Hans)\
**Post date:** [September 16, 2023, 10:48am UTC](https://community.homey.app/t/connection-between-schneiders-ihc-controller-an-homey/52884/3 "2023-09-16T10:48:39Z")

</div>

Hi,  
How do you get the “API” tab in settings? I dont have this. I’m running ICH Captain 1.54  
Thanks  
/Claus

---

<div class="post-metadata">

**Author:** ![Kongedam](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kongedam/32/35807_2.png) [@Kongedam](https://community.homey.app/u/Kongedam)\
**Post date:** [September 16, 2023, 2:25pm UTC](https://community.homey.app/t/connection-between-schneiders-ihc-controller-an-homey/52884/4 "2023-09-16T14:25:10Z")

</div>

Sorry i have not updated, still running the old beta

---

<div class="post-metadata">

**Author:** ![Claus\_Blaabjerg\_Hans](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/claus_blaabjerg_hans/32/78899_2.png) [@Claus\_Blaabjerg\_Hans](https://community.homey.app/u/Claus_Blaabjerg_Hans)\
**Post date:** [September 19, 2023, 2:24pm UTC](https://community.homey.app/t/connection-between-schneiders-ihc-controller-an-homey/52884/5 "2023-09-19T14:24:10Z")

</div>

ok 🙂

Can you share some of you flows? I’m using my wireless “Betjeningstryk” to turn on and off lights.

I guess Homey need to “listen” for at push from IHC Captain and then turn on a light connected to Homey.

---

<div class="post-metadata">

**Author:** ![Klavs\_Bak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/klavs_bak/32/81630_2.png) [@Klavs\_Bak](https://community.homey.app/u/Klavs_Bak)\
**Post date:** [November 18, 2023, 9:20am UTC](https://community.homey.app/t/connection-between-schneiders-ihc-controller-an-homey/52884/6 "2023-11-18T09:20:06Z")

</div>

Hello, I am trying to create a function that turns on the light when my alarm sensor in the hallway is activated  
But can’t get it to work, maybe you can see what I’m doing wrong

I choose logic  
Method GET  
In ULR I write

[http://192.168.1.17/?setValues=1&1988111=1](http://192.168.1.17/?setValues=1&1988111=1) -H "Authorization: Basic dNXZANwSxkLUbqluh1F7==

Then I get error 409 conflict

If I write:  
[http://192.168.1.17/api.php?setValues=1&1988111=1](http://192.168.1.17/api.php?setValues=1&1988111=1) -H "Authorization: Basic dNXZANwSxkLUbqluh1F7==  
I get error 404

Can you see what I’m doing wrong?

Klavs Bak

---

<div class="post-metadata">

**Author:** ![Kongedam](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kongedam/32/35807_2.png) [@Kongedam](https://community.homey.app/u/Kongedam)\
**Post date:** [October 26, 2024, 12:07pm UTC](https://community.homey.app/t/connection-between-schneiders-ihc-controller-an-homey/52884/7 "2024-10-26T12:07:29Z")

</div>

Sorry the late response  
I have now updated to newest version og IHC Captain.

In IHC captain you can generate the url you need

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/9/f954e7dce8be4cf95a864668efd9797e7875dc2a.png)

Now you just make a GET http request and set you URL + Headline

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/f/3fb3b298187f9b9d4e0774d2f5a143c418ed0aa6.png)

Note: change HTTPS to HTTP in the URL

---

<div class="post-metadata">

**Author:** ![Hakan\_Berg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hakan_berg/32/121045_2.png) [@Hakan\_Berg](https://community.homey.app/u/Hakan_Berg)\
**Post date:** [December 23, 2024, 1:55pm UTC](https://community.homey.app/t/connection-between-schneiders-ihc-controller-an-homey/52884/8 "2024-12-23T13:55:16Z")

</div>

Hi have IHC captain 1.61.  
Come so fare that i can toogle a output in IHC captain, “lamp” from homey pro.  
Made this with the API function in ihc Captain.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/8/78a766c8940548d73b820790e09ea22638b3e075.png)

Also managed to make a virtual device from the Captain API.  
But, i would like to get the status on the IHC output in Homey, like they are in IHC captain,

Trying with webhook gem to url in IHC captain, but cant get my head around how to do it, maybe there are better ways?

Would realy like to use the IHC / IHCcaptain in Homey to build flows…  
If i could get a virtual device configured on the output with the status present in homey then it would be a game changer.

Appreciate any advice on the topic

---

<div class="post-metadata">

**Author:** ![IHCCaptain](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ihccaptain/32/120715_2.png) [@IHCCaptain](https://community.homey.app/u/IHCCaptain)\
**Post date:** [December 23, 2024, 5:10pm UTC](https://community.homey.app/t/connection-between-schneiders-ihc-controller-an-homey/52884/9 "2024-12-23T17:10:00Z")

</div>

Hi we figured it out - you need to setup a “Gem til URL” and save to the homey (either internal URL or the public webhook url) - like so:

 ![{DAFC45D4-F40F-47E4-8B35-9A95DF8B79DD}](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/7/d75adc22fdf261bd0f96f928b66176e44f9e7eaf.png)  
The important part here is the “parameter” where you assign the “event” you want to listen for inside homey and the value - in this example we use the “newvalus” which will send a boolean (true/false) as the “tag” value into homey

Then inside homey create a logic when that listens for the “event” value (in this example “testevent” and then takes the “tag” value and assign it directly to a virtual device onoff value

---

<div class="post-metadata">

**Author:** ![IHCCaptain](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ihccaptain/32/120715_2.png) [@IHCCaptain](https://community.homey.app/u/IHCCaptain)\
**Post date:** [December 23, 2024, 5:10pm UTC](https://community.homey.app/t/connection-between-schneiders-ihc-controller-an-homey/52884/10 "2024-12-23T17:10:39Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/7/97806461f1c15c4e9660131afb3be625fc6a3c8d.png)
