Hop til indhold

veng

Members
  • Antal indlæg

    7
  • Medlem siden

  • Senest besøgt

Indlæg skrevet af veng

  1. På 10/1/2019 at 17:58 , Pauli Anttila skrev:

    @veng, could you run with apache http debugs? Library logging has been improved since the library version which I used before. We should hopefully see what is the timeout used by the library. Please enable IHC binding logging level to trace as well.

    @Pauli Anttila hi, Sorry must have made a typo in the first test. I just run the test again. see attached log.

    openhab.log

  2. 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

    openhab.log

  3. 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

     

    @Pauli Anttila

    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.

    openhab.log

  4. 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! :)

    openhab.log

    events.log

    @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 :)

  5. 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.

     

    events1.log

    events2.log

    openhab1.log

    openhab2.log

  6. 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 ?

     

×
×
  • Tilføj...

Important Information

Privatlivspolitik og We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

1200x630bb.png

ok