Getting OLA to work

275 views
Skip to first unread message

Kim Skatun

unread,
May 24, 2015, 9:07:51 AM5/24/15
to open-l...@googlegroups.com

Hi, i have been struggling now for 4 days to get the OLA to work. What i want to achieve is to control my led lights in my flat through openhab. Luckily its summer now, because i cant figure out where the problem is.

in openhab i have the dmx binding set to localhost:9090(how to connect it to the correct universe?), but i am confident that the problem is OLA. I have a usb dongle and its says i should use the ftdi and artnet plugin so both those are enabled. How can i test that the ola is setup correctly?. I know my hardware is correct because it works on windows.

So i start olad -l 3 and it shows this:

How come the .ola folder does not show up on winscp?



and how come the config are in the .ola and in the var/lib/ola/conf?

I added a screenshot for the artnet configuration:


the dev info looks like



So what are i am doing wrong and can i use the dmx monitor to test my light?


Any help for a linux newbie would be highly appreciated.


renzo killer

unread,
May 24, 2015, 9:24:10 AM5/24/15
to open-l...@googlegroups.com
Hello,

Your usb dongle is not declared in OLA. It could be added this way :
https://github.com/OpenLightingProject/ola/issues/245

RenZO

--
The Open Lighting Project: open-l...@googlegroups.com, #openlighting (irc.freenode.org)
To unsubscribe from this group, send email to open-lightin...@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out?hl=en

Simon Newton

unread,
May 24, 2015, 12:19:14 PM5/24/15
to open-lighting
On Sun, May 24, 2015 at 4:16 AM, Kim Skatun <ska...@gmail.com> wrote:
>
> Hi, i have been struggling now for 4 days to get the OLA to work. What i want to achieve is to control my led lights in my flat through openhab. Luckily its summer now, because i cant figure out where the problem is.
>
> in openhab i have the dmx binding set to localhost:9090(how to connect it to the correct universe?), but i am confident that the problem is OLA. I have a usb dongle and its says i should use the ftdi and artnet plugin so both those are enabled. How can i test that the ola is setup correctly?. I know my hardware is correct because it works on windows.
>
> So i start olad -l 3 and it shows this:
>
> How come the .ola folder does not show up on winscp?

The config folder's location depends on how you installed OLA.
Sometimes it'll be ~/.ola , other times (if you installed using debian
packages) it'll be /var/lib/ola/conf. You can find out by looking at
the olad logs.

Unix / Linux has a convention that files & directories that begin with
. are hidden. To see then you'll need to do ls -a from the command
line. There is probably a winscp option to show hidden files as well.

Simon

>
>
>
> and how come the config are in the .ola and in the var/lib/ola/conf?
>
> I added a screenshot for the artnet configuration:
>
>
> the dev info looks like
>
>
>
> So what are i am doing wrong and can i use the dmx monitor to test my light?
>
>
> Any help for a linux newbie would be highly appreciated.
>
>

Kim Skatun

unread,
May 24, 2015, 4:35:15 PM5/24/15
to open-l...@googlegroups.com
Thanks simon,

So i have two instances of ola installed then?

Which one should i delete? Can i just delete the folder?

Regards kim

Simon Newton

unread,
May 24, 2015, 4:37:04 PM5/24/15
to open-lighting
On Sun, May 24, 2015 at 1:35 PM, Kim Skatun <ska...@gmail.com> wrote:
> Thanks simon,
>
> So i have two instances of ola installed then?

I don't know, which instructions did you use to install it?

Kim Skatun

unread,
May 24, 2015, 4:43:57 PM5/24/15
to open-l...@googlegroups.com
the apt- get.

Kim Skatun

unread,
May 24, 2015, 4:44:47 PM5/24/15
to open-l...@googlegroups.com
Thanks renzo, i added a new issue to github:



On Sunday, May 24, 2015 at 10:43:57 PM UTC+2, Kim Skatun wrote:
the apt- get.

On Sunday, May 24, 2015 at 10:37:04 PM UTC+2, Simon Newton wrote:
On Sun, May 24, 2015 at 1:35 PM, Kim Skatun <ska...@gmail.com> wrote:
> Thanks simon,
> to github:

Kim Skatun

unread,
May 24, 2015, 4:48:18 PM5/24/15
to open-l...@googlegroups.com
I figured out the hidden files issue:


Thanks again Simon

Kim Skatun

unread,
May 25, 2015, 7:44:36 AM5/25/15
to open-l...@googlegroups.com
So i guess i have multiple instalations of OLA installed since i have two folders with config files, and also that i have an old version since kwmatic is not supported?
I have 
Version
0.9.2, how do i update it to latest version(sudo apt-get update?) and get rid of the duplicate configuration folder, which one should i keep, the one in .ola or the one /var/lib?

Thanks

Peter Newman

unread,
May 25, 2015, 7:57:49 PM5/25/15
to open-l...@googlegroups.com, ska...@gmail.com
Yes sudo apt-get update and then sudo apt-get upgrade will do it Kim.

I wouldn't worry too much about the other config folder, just make sure you edit the one that the live olad is using if you need to tweak the config.

Can you show us the link for exactly which instructions you used, is it a pi image?

Kim Skatun

unread,
May 26, 2015, 6:46:44 AM5/26/15
to open-l...@googlegroups.com, ska...@gmail.com
It worked!! Thanks a lot guys. However to get it to work with openhab, i need to change the universe to 0, how can i reconfigure ola to get rid of the first 6 that didnt work, just delete all content in ola-universe file? and then start olad -l 3?

Peter Newman

unread,
May 26, 2015, 9:25:11 AM5/26/15
to open-l...@googlegroups.com, ska...@gmail.com
You can do that/delete the whole ola-universe file, or just simply remove all patched ports from the universes you don't need and they'll vanish.

Kim Skatun

unread,
May 26, 2015, 6:14:16 PM5/26/15
to open-l...@googlegroups.com, ska...@gmail.com
I am getting closer to get it to work..
Has anyone of you used openhab with ola? Now i cant figure out why openhab can talk to ola:

22:00:03.880 ERROR o.o.b.dmx.ola.OlaConnection[:90]- Could not retrieve device list. Binding to OLA aborted.
22:00:03.886 ERROR ola.OlaClient[:85]- Cannot send data. No OLA connection available.
22:00:04.431 INFO  o.o.b.dmx.ola.OlaConnection[:87]- Starting autobind for universe 0. To disable autobind use -Dnet.opendmx.ola.autobind=false
22:00:04.441 ERROR ola.rpc.StreamRpcChannel[:137]- Connection error: Message missing required fields: type
22:00:04.446 ERROR ola.OlaClient[:101]- Shutting down connection: Message missing required fields: type
22:00:04.453 ERROR o.o.b.dmx.ola.OlaConnection[:90]- Could not retrieve device list. Binding to OLA aborted.
22:00:04.460 ERROR ola.OlaClient[:85]- Cannot send data. No OLA connection available.
22:00:05.109 INFO  o.o.b.dmx.ola.OlaConnection[:87]- Starting autobind for universe 0. To disable autobind use -Dnet.opendmx.ola.autobind=false
22:00:05.138 ERROR ola.rpc.StreamRpcChannel[:137]- Connection error: Message missing required fields: type
22:00:05.147 ERROR ola.OlaClient[:101]- Shutting down connection: Message missing required fields: type
22:00:05.157 ERROR o.o.b.dmx.ola.OlaConnection[:90]- Could not retrieve device list. Binding to OLA aborted.
22:00:05.168 ERROR ola.OlaClient[:85]- Cannot send data. No OLA connection available.
22:00:05.565 INFO  o.o.b.dmx.ola.OlaConnection[:87]- Starting autobind for universe 0. To disable autobind use -Dnet.opendmx.ola.autobind=false
22:00:05.575 ERROR ola.rpc.StreamRpcChannel[:137]- Connection error: Message missing required fields: type
22:00:05.581 ERROR ola.OlaClient[:101]- Shutting down connection: Message missing required fields: type
22:00:05.586 ERROR o.o.b.dmx.ola.OlaConnection[:90]- Could not retrieve device list. Binding to OLA aborted.
22:00:05.592 ERROR ola.OlaClient[:85]- Cannot send data. No OLA connection available.
22:00:06.473 INFO  o.o.b.dmx.ola.OlaConnection[:87]- Starting autobind for universe 0. To disable autobind use -Dnet.opendmx.ola.autobind=false
22:00:06.482 ERROR ola.rpc.StreamRpcChannel[:137]- Connection error: Message missing required fields: type
22:00:06.489 ERROR ola.OlaClient[:101]- Shutting down connection: Message missing required fields: type
22:00:06.494 ERROR o.o.b.dmx.ola.OlaConnection[:90]- Could not retrieve device list. Binding to OLA aborted.
22:00:06.499 ERROR ola.OlaClient[:85]- Cannot send data. No OLA connection available.
22:00:07.146 INFO  o.o.b.dmx.ola.OlaConnection[:87]- Starting autobind for universe 0. To disable autobind use -Dnet.opendmx.ola.autobind=false
22:00:07.166 ERROR ola.rpc.StreamRpcChannel[:137]- Connection error: Message missing required fields: type
22:00:07.172 ERROR ola.OlaClient[:101]- Shutting down connection: Message missing required fields: type
22:00:07.178 ERROR o.o.b.dmx.ola.OlaConnection[:90]- Could not retrieve device list. Binding to OLA aborted.
22:00:07.183 ERROR ola.OlaClient[:85]- Cannot send data. No OLA connection available.
22:00:07.550 INFO  o.o.b.dmx.ola.OlaConnection[:87]- Starting autobind for universe 0. To disable autobind use -Dnet.opendmx.ola.autobind=false
22:00:07.578 ERROR ola.rpc.StreamRpcChannel[:137]- Connection error: Message missing required fields: type
22:00:07.593 ERROR ola.OlaClient[:101]- Shutting down connection: Message missing required fields: type
22:00:07.602 ERROR o.o.b.dmx.ola.OlaConnection[:90]- Could not retrieve device list. Binding to OLA aborted.
22:00:07.608 ERROR ola.OlaClient[:85]- Cannot send data. No OLA connection available.
22:00:08.039 INFO  o.o.b.dmx.ola.OlaConnection[:87]- Starting autobind for universe 0. To disable autobind use -Dnet.opendmx.ola.autobind=false
22:00:08.050 ERROR ola.rpc.StreamRpcChannel[:137]- Connection error: Message missing required fields: type
22:00:08.056 ERROR ola.OlaClient[:101]- Shutting down connection: Message missing required fields: type
22:00:08.062 ERROR o.o.b.dmx.ola.OlaConnection[:90]- Could not retrieve device list. Binding to OLA aborted.
22:00:08.071 ERROR ola.OlaClient[:85]- Cannot send data. No OLA connection available.
22:00:08.582 INFO  o.o.b.dmx.ola.OlaConnection[:87]- Starting autobind for universe 0. To disable autobind use -Dnet.opendmx.ola.autobind=false
22:00:08.590 ERROR ola.rpc.StreamRpcChannel[:137]- Connection error: Message missing required fields: type
22:00:08.596 ERROR ola.OlaClient[:101]- Shutting down connection: Message missing required fields: type
22:00:08.603 ERROR o.o.b.dmx.ola.OlaConnection[:90]- Could not retrieve device list. Binding to OLA aborted.
22:00:08.609 ERROR ola.OlaClient[:85]- Cannot send data. No OLA connection available.
22:00:44.781 INFO  o.o.b.dmx.ola.OlaConnection[:87]- Starting autobind for universe 0. To disable autobind use -Dnet.opendmx.ola.autobind=false
22:00:44.792 ERROR ola.rpc.StreamRpcChannel[:137]- Connection error: Message missing required fields: type
22:00:44.798 ERROR ola.OlaClient[:101]- Shutting down connection: Message missing required fields: type
22:00:44.804 ERROR o.o.b.dmx.ola.OlaConnection[:90]- Could not retrieve device list. Binding to OLA aborted.
22:00:44.809 ERROR ola.OlaClient[:85]- Cannot send data. No OLA connection available.
22:01:00.085 WARN  o.o.c.p.e.PersistenceExtensions[:404]- There is no queryable persistence service registered with the name 'rrd4j'
22:01:00.097 WARN  o.o.c.p.e.PersistenceExtensions[:130]- There is no queryable persistence service registered with the name 'rrd4j'
22:02:00.111 WARN  o.o.c.p.e.PersistenceExtensions[:404]- There is no queryable persistence service registered with the name 'rrd4j'
22:02:00.119 WARN  o.o.c.p.e.PersistenceExtensions[:130]- There is no queryable persistence service registered with the name 'rrd4j'
22:03:00.046 WARN  o.o.c.p.e.PersistenceExtensions[:404]- There is no queryable persistence service registered with the name 'rrd4j'
22:03:00.053 WARN  o.o.c.p.e.PersistenceExtensions[:130]- There is no queryable persistence service registered with the name 'rrd4j'
22:04:00.058 WARN  o.o.c.p.e.PersistenceExtensions[:404]- There is no queryable persistence service registered with the name 'rrd4j'
22:04:00.064 WARN  o.o.c.p.e.PersistenceExtensions[:130]- There is no queryable persistence service registered with the name 'rrd4j'
22:05:00.130 WARN  o.o.c.p.e.PersistenceExtensions[:404]- There is no queryable persistence service registered with the name 'rrd4j'
22:05:00.151 WARN  o.o.c.p.e.PersistenceExtensions[:130]- There is no queryable persistence service registered with the name 'rrd4j'
22:06:00.077 WARN  o.o.c.p.e.PersistenceExtensions[:404]- There is no queryable persistence service registered with the name 'rrd4j'
22:06:00.083 WARN  o.o.c.p.e.PersistenceExtensions[:130]- There is no queryable persistence service registered with the name 'rrd4j'
22:07:00.120 WARN  o.o.c.p.e.PersistenceExtensions[:404]- There is no queryable persistence service registered with the name 'rrd4j'
22:07:00.133 WARN  o.o.c.p.e.PersistenceExtensions[:130]- There is no queryable persistence service registered with the name 'rrd4j'
22:08:00.046 WARN  o.o.c.p.e.PersistenceExtensions[:404]- There is no queryable persistence service registered with the name 'rrd4j'
22:08:00.052 WARN  o.o.c.p.e.PersistenceExtensions[:130]- There is no queryable persistence service registered with the name 'rrd4j'
22:08:40.417 INFO  o.o.b.dmx.ola.OlaConnection[:87]- Starting autobind for universe 0. To disable autobind use -Dnet.opendmx.ola.autobind=false
22:08:40.458 ERROR ola.rpc.StreamRpcChannel[:137]- Connection error: Message missing required fields: type
22:08:40.471 ERROR ola.OlaClient[:101]- Shutting down connection: Message missing required fields: type
22:08:40.487 ERROR o.o.b.dmx.ola.OlaConnection[:90]- Could not retrieve device list. Binding to OLA aborted.
22:08:40.501 ERROR ola.OlaClient[:85]- Cannot send data. No OLA connection available.
22:08:42.087 INFO  o.o.b.dmx.ola.OlaConnection[:87]- Starting autobind for universe 0. To disable autobind use -Dnet.opendmx.ola.autobind=false
22:08:42.113 ERROR ola.rpc.StreamRpcChannel[:137]- Connection error: Message missing required fields: type
22:08:42.139 ERROR ola.OlaClient[:101]- Shutting down connection: Message missing required fields: type
22:08:42.151 ERROR o.o.b.dmx.ola.OlaConnection[:90]- Could not retrieve device list. Binding to OLA aborted.
22:08:42.176 ERROR ola.OlaClient[:85]- Cannot send data. No OLA connection available.
22:08:43.083 INFO  o.o.b.dmx.ola.OlaConnection[:87]- Starting autobind for universe 0. To disable autobind use -Dnet.opendmx.ola.autobind=false
22:08:43.157 ERROR ola.rpc.StreamRpcChannel[:137]- Connection error: Message missing required fields: type
22:08:43.187 ERROR ola.OlaClient[:101]- Shutting down connection: Message missing required fields: type
22:08:43.238 ERROR o.o.b.dmx.ola.OlaConnection[:90]- Could not retrieve device list. Binding to OLA aborted.

Peter Newman

unread,
May 27, 2015, 12:43:07 PM5/27/15
to open-l...@googlegroups.com, ska...@gmail.com
You might need to talk to the openhab guys. Does olad -l 4 have anything useful in it/can you post it?
Reply all
Reply to author
Forward
0 new messages