I’ve just started with OH and I’m running OH2 on Ubuntu 14.04 with IHC Binding. I’ve collected some output id:s form VIS file and I’m able to control few lights. This is interesting! However, seems that I’m doing something wrong.
I added Network Binding and connected IHC Item under Things to network:device:192_168_1_3:online
I’ve set up Paper, Basic and HABPanel userinterfaces.
Turning lights on/off works but 20 seconds after I shut light it turns back on.
On my ihc.sites I have 4 lines like this:
Switch ihc_olohuone_1 { ihc=">0xe55b" }
Could you change IHC binding log level to debug (or even trace) from karaf console and post logs here?
log:set DEBUG org.openhab.binding.ihc
Normally, you should bind items as a in/out binding.
Switch ihc_olohuone_1 { ihc="0xe55b" }
Then ihc binding also listening resource updates from ihc controller and update ihc_olohuone_1 item state accordingly when resource state if changed on the controller.
Seems that somehow IHC is receiving lots of on commands:
18:59:00.900 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Item updated ‘ihc_ruokatila’ succesfully sent
19:00:00.661 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Received update/command (item=‘ihc_ruokatila’, state=‘ON’, class=‘class org.openhab.core.library.types.OnOffType’)
19:00:00.953 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Item updated ‘ihc_ruokatila’ succesfully sent
19:01:00.621 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Received update/command (item=‘ihc_ruokatila’, state=‘ON’, class=‘class org.openhab.core.library.types.OnOffType’)
19:01:00.939 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Item updated ‘ihc_ruokatila’ succesfully sent
19:02:00.620 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Received update/command (item=‘ihc_ruokatila’, state=‘ON’, class=‘class org.openhab.core.library.types.OnOffType’)
19:02:00.978 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Item updated ‘ihc_ruokatila’ succesfully sent
19:03:00.620 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Received update/command (item=‘ihc_ruokatila’, state=‘ON’, class=‘class org.openhab.core.library.types.OnOffType’)
19:03:00.900 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Item updated ‘ihc_ruokatila’ succesfully sent
19:03:53.756 [WARN ] [thome.io.rest.core.item.ItemResource] - Cannot update existing item ‘ihc_ruokatila’, because is not managed.
19:04:00.621 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Received update/command (item=‘ihc_ruokatila’, state=‘ON’, class=‘class org.openhab.core.library.types.OnOffType’)
19:04:01.116 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Item updated ‘ihc_ruokatila’ succesfully sent
19:05:00.626 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Received update/command (item=‘ihc_ruokatila’, state=‘ON’, class=‘class org.openhab.core.library.types.OnOffType’)
19:05:00.936 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Item updated ‘ihc_ruokatila’ succesfully sent
19:06:00.621 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Received update/command (item=‘ihc_ruokatila’, state=‘ON’, class=‘class org.openhab.core.library.types.OnOffType’)
19:06:00.892 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Item updated ‘ihc_ruokatila’ succesfully sent
19:07:00.618 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Received update/command (item=‘ihc_ruokatila’, state=‘ON’, class=‘class org.openhab.core.library.types.OnOffType’)
19:07:01.052 [DEBUG] [nhab.binding.ihc.internal.IhcBinding] - Item updated ‘ihc_ruokatila’ succesfully sent
Actually my Paper UI Switch does not work for some reason. Basic UI and HABPanel switches work. However, also Paper UI switch changes status if I change status in Basic/HABPanel.
I now removed the “>” and now the switch works normally. I started configuring this today and somehow I thought I should have the “>” included. I’ll now add some more items and then try to configure Apple HOME. I’ve already configured the Samsung TV binding which works nicely, only the ON functionality seems to be missing from my TV.
I’ll play with openhab until I’m more familiar to settings and then install it into a Raspberry and try use siri or similar voice commands. This is interesting!