[SOLVED] IDE errors

  • Platform information:
    • Hardware: CPUArchitecture/RAM/storage
    • OS: what OS is used and which version
    • openHAB version:

Openhab1 runs on a VM Ubuntu Xenial/16.04
Eclipse I’ve used another VM Ubuntu Xenial/16.04 with remote X11 terminal and Intel Windows 7 PC both with same result

  • Java Runtime Environment: which java platform is used and what version

VM/Ubuntu: openjdk version “1.8.0_152”
Windows: SE Runtime Environment 1.8.0_+171-b11

From what I’ve seen IRtrans doesn’t require TCP and panstamp requires it’s own jar?

Question: How can I resolve these failures (I only need the TCP plugin)

  • Please post configurations (if applicable):

This is only related to the TCP problem TCP disconnected problem. This configuration has worked a couple of times but mostly fails.

  • Items configuration related to the issue
String  Zoneminder      "Zoneminder motion detected [%s]"       (gAlarm)        { tcp="<[192.168.2.225:*:'REGEX((.*))']" }
  • Sitemap configuration related to the issue
Group   item=gAlarm     label="Alarm"           icon="alarm"
  • Rules code related to the issue
import org.openhab.core.library.types.*
import org.openhab.core.persistence.*
import org.openhab.model.script.actions.*
import org.openhab.model.script.actions.Timer

rule "Zoneminder Motion"

when
        Item Zoneminder changed
then
        if(Nightlight.state == ON) sendCommand(Light_OS_Carport, ON)
#       sendCommand(Light_OS_Carport, ON)
        Thread::sleep(2000)
        sendCommand(Light_OS_Carport, OFF)
end
  • Services configuration related to the issue
    Not applicable

  • If logs where generated please post these here using code fences:

after “socat - TCP:localhost:5005” (correct port in openhab.cfg)

[t.AbstractSocketChannelBinding] - Received connection request from /127.0.0.1:38802
[t.AbstractSocketChannelBinding] - Disconnecting the unallowed remote end /127.0.0.1:38802

I get the same error when connecting from another VM running zm

I’ve solved it, it didn’t work before but simply rightclick/close project and the failure are gone.

So now I can work on the TCP binding :smiley: