News:

Server migration complete, Welcome to version 2.1.1

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 15505
Latest: jduncc
New This Month: 13
New This Week: 5
New Today: 5
Stats
Total Posts: 127161
Total Topics: 15602
Most Online Today: 61
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 2
Guests: 23
Total: 25

uDMX

Started by StrangeSparks, November 22, 2015, 01:10:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

StrangeSparks

Hi all,
probably an easy fix, but I cant get it to work.
I'm running FPP 1.6, on a Pi B.
I have a uDMX dongle which I have managed to get working via a PC. so all seems to be good.
what setting should I be using? I can't see the uDMX, I have tried the DMXpro and openDMX, resetting and rebooting etc. but I'm not getting anything out.
is there a way to install a driver?

CaptainMurdoch

It looks like you will have to use  FPP's OLA channel output with that dongle.  The Open Lighting Architecture program can be used to actually talk to the dongle and FPP will send OLA the sequence data.  Have you used OLA before?  There isn't a config UI for the OLA channel output but I can tell you how to modify the config file.  Then you will need to go into the OLA web interface and configure it to use your uDMX dongle.
-
Chris

StrangeSparks

Quote from: CaptainMurdoch on November 22, 2015, 01:55:28 AM
It looks like you will have to use  FPP's OLA channel output with that dongle.  The Open Lighting Architecture program can be used to actually talk to the dongle and FPP will send OLA the sequence data.  Have you used OLA before?  There isn't a config UI for the OLA channel output but I can tell you how to modify the config file.  Then you will need to go into the OLA web interface and configure it to use your uDMX dongle.
I was hoping it would be an easier fix. No I haven't used OLA. But I'm guessing I'm going to learn.
Just so you know who you are instructing; I have a bit of understanding about programming, but no real experience. But willing to give it a crack

StrangeSparks

So trying to get my head around OLA,
I need to install extra OLA software, and then edit the config to get the two to talk?
Sorry, going back to basics here.

CaptainMurdoch

Quote from: StrangeSparks on November 24, 2015, 01:06:20 AM
So trying to get my head around OLA,
I need to install extra OLA software, and then edit the config to get the two to talk?
Sorry, going back to basics here.

No, FPP includes OLA, you just need to edit a file in FPP and then reboot the FPP system with your dongle plugged in.  Once it is rebooted, go to the OLA web page running on the FPP system and configure the OLA output.

FPP stores it's newer channel output configs in a file called /home/fpp/media/config/channeloutputs.json.  You can SSH into the FPP system by using the SSH menu option under the help menu.  Once on the system, run this:


nano /home/fpp/media/config/channeloutputs.json


In that file, you want to add the following:


{
        "channelOutputs": [
                {
                        "type": "OLA",
                        "enabled": 1,
                        "startChannel": 1,
                        "channelCount": 512,
                        "universes": [
                                {
                                        "active": 1,
                                        "universe": 1,
                                        "startChannel": 1,
                                        "channelCount": 512
                                }
                        ]
                }
        ]
}


To save the file press CTRL-O, accept the filename, then hit CTRL-X to exit.

Once you have saved the file, you can exit the shell by typing "exit" and hitting ENTER.

After editting the file, you need to reboot the system so that it can see that you have the OLA channel output configured and startup OLA.  Once rebooted, you can browse to the OLA configuration UI at http://fpp:9090/ and configure OLA.  With the above config file, FPP is setup to send OLA one universe with channels 1-512 in it, so you will configure universe 1 in OLA.  If you need further help on configuring OLA, you may need to read up on their site.
-
Chris

StrangeSparks

Quote from: CaptainMurdoch on November 24, 2015, 09:47:27 PM
Quote from: StrangeSparks on November 24, 2015, 01:06:20 AM
So trying to get my head around OLA,
I need to install extra OLA software, and then edit the config to get the two to talk?
Sorry, going back to basics here.

No, FPP includes OLA, you just need to edit a file in FPP and then reboot the FPP system with your dongle plugged in.  Once it is rebooted, go to the OLA web page running on the FPP system and configure the OLA output.

FPP stores it's newer channel output configs in a file called /home/fpp/media/config/channeloutputs.json.  You can SSH into the FPP system by using the SSH menu option under the help menu.  Once on the system, run this:


nano /home/fpp/media/config/channeloutputs.json


In that file, you want to add the following:


{
        "channelOutputs": [
                {
                        "type": "OLA",
                        "enabled": 1,
                        "startChannel": 1,
                        "channelCount": 512,
                        "universes": [
                                {
                                        "active": 1,
                                        "universe": 1,
                                        "startChannel": 1,
                                        "channelCount": 512
                                }
                        ]
                }
        ]
}


To save the file press CTRL-O, accept the filename, then hit CTRL-X to exit.

Once you have saved the file, you can exit the shell by typing "exit" and hitting ENTER.

After editting the file, you need to reboot the system so that it can see that you have the OLA channel output configured and startup OLA.  Once rebooted, you can browse to the OLA configuration UI at http://fpp:9090/ and configure OLA.  With the above config file, FPP is setup to send OLA one universe with channels 1-512 in it, so you will configure universe 1 in OLA.  If you need further help on configuring OLA, you may need to read up on their site.
Awesome.
Most of that made sense. Except I don't recall setting up a login or password. Is there a default?

CaptainMurdoch

Quote from: StrangeSparks on November 24, 2015, 11:33:11 PM
Most of that made sense. Except I don't recall setting up a login or password. Is there a default?

The login is 'fpp' and password is 'falcon'.
-
Chris

StrangeSparks

Thank you for your help so far.
I have added the lines into the config, and rebooted, restarted etc. but cannot see the OLA in the channel outputs?
Also do I need to set the OLA to receive from FPP?

CaptainMurdoch

OLA will not show in the UI, I haven't done the UI work for it yet, that is why you have to hand edit the file.

The channel output in FPP will send one universe of data to OLA.

In OLA, you will just need to setup an output to tell it where to send universe 1.
-
Chris

StrangeSparks

OK that make sense. I'll stop looking for it in the UI and focus on setting up the OLA.
So I am assuming that as this is my only universe and output, I need to make sure that all others are not activated to prevent a conflict.




Sent from my Vodafone 985N using Tapatalk


CaptainMurdoch

By default, OLA has no outputs configured, you need to go in and add one for your dongle type.
-
Chris

StrangeSparks

Thanks for all your help getting me on the right track.
I appreciate that it must be a busy time with so many leaving it until now to get things going.

Sent from my Vodafone 985N using Tapatalk


CaptainMurdoch


Quote from: StrangeSparks on November 26, 2015, 11:49:46 PM
I appreciate that it must be a busy time with so many leaving it until now to get things going.

The site has definitely been hopping the past few days.  :)
-
Chris

Arti G

#13
Any luck? I can't make it working. I have OLA setup page, but when I try to add universe there is no udmx adapter to choose :( I also tried to add:
SUBSYSTEM=="usb|usb_device", ACTION=="add", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", GROUP="plugdev"
/lib/udev/rules.d/10-local-rpi.rules

EDIT:
WORKING!

I also tried this:
https://www.illutzmination.de/udmxdriver.html?&L=1
Quote
create a file z65-anyma-udmx.rules in folder /etc/udev/rules.d with the following content:
SUBSYSTEM=="usb*", ACTION=="add|change", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", MODE="0666"
SUBSYSTEM=="usb*", ACTION=="add|change", SYSFS{idVendor}=="16c0", SYSFS{idProduct}=="05dc", MODE="0666"

I also added this code to /lib/udev/rules.d/10-local-rpi.rules :
SUBSYSTEM=="usb|usb_device", ACTION=="add", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", GROUP="plugdev"
SUBSYSTEM=="usb*", ACTION=="add|change", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", MODE="0666"
SUBSYSTEM=="usb*", ACTION=="add|change", SYSFS{idVendor}=="16c0", SYSFS{idProduct}=="05dc", MODE="0666"


Now it appears. I can add universe in OLA setup page with anima udmx, when going to fpp:9090

But I had to change start channel to 0, because channels were shifted by 1:
{
        "channelOutputs": [
                {
                        "type": "OLA",
                        "enabled": 1,
                        "startChannel": 0,
                        "channelCount": 512,
                        "universes": [
                                {
                                        "active": 1,
                                        "universe": 1,
                                        "startChannel": 0,
                                        "channelCount": 512
                                }
                        ]
                }
        ]
}

Support FPP

+- Recent Topics

Falcon V4 Player by K-State Fan
Today at 07:40:14 AM

Linking FPP Run Command to a Button by tynmar
Today at 06:52:05 AM

Setting Color Order by K-State Fan
Today at 05:59:19 AM

BRP Voting Plugin - Allow others to vote for your songs! by Barkers Random Projects
December 03, 2022, 11:55:24 PM

loading playlist by rangerdan
December 03, 2022, 11:54:31 PM

BBB running 3-4 seconds ahead by MATTS
December 03, 2022, 09:41:41 PM

Remote Pi connection issues by JonD
December 03, 2022, 08:51:55 PM

FPP not releasing control to WLED when idle by cabrio
December 03, 2022, 08:24:43 PM

Setting up new Falcon f16v4 noob question by Scouser10231
December 03, 2022, 03:45:54 PM

Sequence freeze by jnealand
December 03, 2022, 02:51:04 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod