OLA connection refused

,

Hi guys!

I have a small problem connecting OH2 and OLA. I followed the steps in the documentation for items and settings. I leave the scrips below:

ITEMS
Color RGB_LV “RGB Salón” {dmx=“CHANNEL[2,3,4:1000]”}

Color RGB_LVR “Rojo Salón” {dmx=“CHANNEL[2]”}

SITEMAP
Colorpicker item=RGB_LV label=“RGB Salón”

Slider item=RGB_LVR label=“Rojo Salón”

CONF
connection=192.168.1.137:9010
repeatMode=reduced

OLA-ARNET.CONF
always_broadcast = true
enabled = true
ip = 192.168.1.137
long_name = OLA - ArtNet node
net = 0
output_ports = 4
short_name = OLA - ArtNet node
subnet = 0
use_limited_broadcast = false
use_loopback = false

Also, in the log file I get this error:

2017-08-21 15:59:50.316 [ERROR] [ola.rpc.StreamRpcChannel ] - Error connecting to 192.168.1.137:9010. Make sure the olad daemon is running.
2017-08-21 15:59:50.317 [ERROR] [ding.dmx.internal.core.DmxController] - Error opening DMX connection.
java.lang.Exception: Error connecting to 192.168.1.137:9010. Make sure the olad daemon is running.
at ola.rpc.StreamRpcChannel.connect(StreamRpcChannel.java:76)[195:org.openhab.binding.dmx:1.10.0]
at ola.OlaClient.connect(OlaClient.java:72)[195:org.openhab.binding.dmx:1.10.0]
at org.openhab.binding.dmx.ola.OlaConnection.open(OlaConnection.java:53)[195:org.openhab.binding.dmx:1.10.0]
at org.openhab.binding.dmx.internal.core.DmxController.getConnection(DmxController.java:259)[195:org.openhab.binding.dmx:1.10.0]
at org.openhab.binding.dmx.internal.core.DmxTransmitter.run(DmxTransmitter.java:97)[195:org.openhab.binding.dmx:1.10.0]
at java.util.TimerThread.mainLoop(Timer.java:555)[:1.8.0_121]
at java.util.TimerThread.run(Timer.java:505)[:1.8.0_121]
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)[:1.8.0_121]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)[:1.8.0_121]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[:1.8.0_121]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[:1.8.0_121]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[:1.8.0_121]
at java.net.Socket.connect(Socket.java:589)[:1.8.0_121]
at java.net.Socket.connect(Socket.java:538)[:1.8.0_121]
at java.net.Socket.(Socket.java:434)[:1.8.0_121]
at java.net.Socket.(Socket.java:211)[:1.8.0_121]
at ola.rpc.StreamRpcChannel.connect(StreamRpcChannel.java:70)[195:org.openhab.binding.dmx:1.10.0]
… 6 more

I have enabled an artnet input port at ip = 192.168.1.137 in OLA.

I’m using an Anyma USB Device. Works properly from the DMX console in OLA.
I’m using RPI 3 with Openhabian.

Where could the problem be :question:

Thank you very much for the help!

I know nothing of OLA and DMX so will be of limited help.

But the error indicates the binding can’t communicate with the olad daemon. So this is either a problem where the daemon isn’t running, isn’t running on the server with the IP address ending in 137, isn’t running on port 9010, or network trains is being blocked by a firewall.

  • check the daemon is running
  • check the machine’s address hasn’t changed
  • check that you can ping that address from the OH server
  • check if you can telnet to that ip:port to see if the port is open and reachable

If you can do all of the above you will need help from an expert. On the dmx binding.

If one it more of the above fails you need to solve the networking or software problem that exists outside of OH.