“connection” between Schneiders - IHC Controller an HOMEY

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

Please ask the developer Mikkel for a beta version IHC® Captain - fjernbetjening, automatisering og overvågning

Start flows from IHC Captain

Install Webhook manager on you Homey
Webhook Manager App til Homey | Homey

Login to your Homey Developer page and choose “webhook manager”
Homey Developer Tools

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

Create an event in In IHC Captain (Save to URL)
Insert your URL and choose ”get”
Test it and save


.
.

Control IHC fra Homey

In settings for IHC Captain choose ”API” to create a ”token”

image

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

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)

Curl example:
image

Boolean values can be:
true
false
1
0
toggle

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

2 Likes

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

Sorry i have not updated, still running the old beta

ok :slight_smile:

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.

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 -H "Authorization: Basic dNXZANwSxkLUbqluh1F7==

Then I get error 409 conflict

If I write:
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