Thanks i will have a look
Dan Nielsen
30707077
I think that isnât necessary to go other forum to get help.
If there is any question about this binding, there are to many users in forum using it. I can help you if you have any question. The last question is more about synology configuration, and in my opinion you are mixing questions, and it is more difficult for you to get more information.
Regards,
Hi.
I too m a newbie to OpenHab2(OH2) and iâm wondering about a few things:
Where can I find the log file, to see if my IHC is communicating with OH2?
After I have installed the âIHC/ELKOâ binding, how can I check, if it actually is installed OK?
I have 2 config files for IHC. âIHC.CFGâ and âIHC.CONFIGâ in the services container. Witch one is used?
What is the next step, to get to control my IHC controller, via OH2.
Thanx in advance.
Hi Tonny,
You must activate the log level in Karaf console:
Here is the documentation:
http://docs.openhab.org/administration/logging.html
In your case you should do something like this:
log:set debug org.openhab.binding.ihc
After activate the logging level you can check the log in karaf console with command:
log:tail
The IHC binding is configured in the file services/ihc.cfg.
Check here in documentation: http://docs.openhab.org/addons/bindings/ihc1/readme.html
Great!
How do i get into âKaraf consoleâ? Iâm running Openhab on a Synology.
Thanks⌠When i have set this up as you say, how do i make a test ex. make Openhab âpushâ a button in IHC that turn on the light in my kitchen.
Switch Køkken_lys_overbord âLys over køkkenbordâ (IHC,køkken,Lights) [ âLightingâ ] { ihc=â44538â }
I got the DEC (44538) using âIHC Visualâ holding [CTRL] and pointing with the mouse on the button that turn on the light in my kitchen.
Where and how do i make/program Openhab to send/do âpushâ button (44538)?
You are mapping output ports right?
You must represent the id with one 0x before if the value is in hexadecimal.
Example: { ihc=â0x44538â }
I donât know âmapping output portsâ?
I Will add the â0xâ
Your use case is to get light on and off not push the button? So you should control directly you ihc output (the light) rather than control the input (the button). Thatâs probably what @jmv_driver also mean.
To make IHC the primary system i like Openhab to âPushâ the button. This way IHC get the right status.
But how do i program the funktion. I have not used OpenHAB before?
Hi Dan.
You can use rules to do this, but you have to have your items and the ihc.cfg configured correctly.
So:
rule "Stue light, HUE ON"
when
Item room1_OEH changed from OFF to ON
then
Stue_Ceiling_Toggle.sendCommand(ON)
end
rule "Stue light, HUE OFF"
when
Item room1_OEH changed from ON to OFF
then
Stue_Ceiling_Toggle.sendCommand(OFF)
end
When you press the IHC button âroom1_OEHâ which is a ITEM, your light âStue_Ceiling_Toggleâ, which is also an item, turns on.
There are ways to do this without using rules:
Switch ihc_tryk2 {ihc=">[ON:0x14268d11:100]", autoupdate="false"}
Look here for more described scenarios: