veng
-
Antal indlæg
7 -
Medlem siden
-
Senest besøgt
Indholdstype
Profiler
Forummer
Downloads
Galleri
Indlæg skrevet af veng
-
-
1 time siden, Pauli Anttila skrev:
@Gert Kjerslev, @veng, @Nicki Z. I updated apache http client. Could one of you run ones again following version with default 5000ms timeout (with IHC binding trace level debugs)?
https://www.dropbox.com/s/kaebm8nve8y84c7/org.openhab.binding.ihc_2.4.0.201901091843.jar?dl=0
If you still meet timeout problem, please enable http client debugs by following command from karaf console and run test again.
log:set DEBUG org.apache.http
You can disable http client debugs by
log:set DEFAULT org.apache.http
Please, send me the log as well.
Hi,
Same error as before, timeout = 5000ms. Logs attached
-
På 20/12/2018 at 16:23 , Pauli Anttila skrev:
@veng, could test also with higher timeout (e.g. 15000ms) and send trace level logs?
@Pauli Anttila Hi just tested at 10000ms
-
På 18/12/2018 at 20:24 , Pauli Anttila skrev:
@veng, that's great.
Even it now works, could you rerun following version in your environment with default 5000ms timeout. I improved the logging and I like to see why timeout occurs before 5000ms in your environment.
https://www.dropbox.com/s/zu9946e6j6b84c6/org.openhab.binding.ihc_2.4.0.201812182121.jar?dl=0
Just tested your new binding with 5000ms and it makes the same error as the other version. Let me know if you need more testing.
-
4 timer siden, Pauli Anttila skrev:
@veng, you seems that have some kind of openhab cache problem as you already have ihc binding installed.
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.ihc [223] Another singleton bundle selected: osgi.identity; type="osgi.bundle"; version:Version="2.4.0.201810011706"; osgi.identity="org.openhab.binding.ihc"; singleton:="true"
You should stop openhab and clear caches. Not sure how to do that on windows environment, but I guess there is cache and tmp folder somewhere. You can also search from openHAB forum how to clear caches in windows environment.
Hi, I have deleted tmp & cache folder and started openhab again. Seen from my point of view it behaves the same. Log attached, maybe you can see something usefull ?
Thanks for trying to help btw!@Pauli Anttila (edit after logs upload) I read a bit in the logs and found several timeouts. I tested now with timeout = 15000 (ms) and that seemed to fix it. I have started openhab twice without problems. Maybe 15000ms si a bit much but was just to test if the was the problem
-
7 minutter siden, Pauli Anttila skrev:
@veng, it pretty impossible to help or comment without logs. Could you enable trace level logs? Could you also post your IHC related items and thing file?
Hi, sorry should have attached from beginning but kinda hopped someone else had the problems
"IHC.Items" = Dimmer Stue_Dimmer "Stue" <light> (GFStue) ["Lighting"] {channel="ihc:controller:ihc:Stuelys"}
"IHC.things" = ihc:controller:ihc [ ip="192.168.1.30", username="admin", password="X_X", timeout=5000, loadProjectFile=true, createChannelsAutomatically=false ] {
Channels:
Type dimmer-channel : Stuelys "Pare (stue)" [ resourceId=76125 ]
}logfiles v2 = boot with both files as above
logfiles v1 = boot with items files with "//" in front of line and the remove "//" when Openhab is running.
-
Hi,
I am running openhab from windows-pc & IHC V2 HW6.2, and I would really love to be able to combine Openhab with IHC but I have some problems with the addon.
I have tried to use the "org.openhab.binding.ihc_2.4.0.201812081313.jar".
I have defined connection to my IHC in things file and added one dimmer in the items(to test it).
If i start Openhab with the dimmer in "items" openhab keeps connecting/disconnecting to IHC, and the dimmer doesn't work.
if I start Openhab without anything in "items" file and ad the dimmer while openhab is running, everything work perfectly. Somehow there seem to be something wrong with the startup. Is there some fix I can apply ?
openHAB2 IHC binding
i OpenHAB
Besvaret
@Pauli Anttila hi, Sorry must have made a typo in the first test. I just run the test again. see attached log.
openhab.log