Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Responder Testing with the Raspberry Pi

From wiki.openlighting.org

Revision as of 19:48, 9 November 2012 by Nomis52 (talk | contribs) (Running the Tests)
Jump to: navigation, search
Raspi Colour R.png

This tutorial describes how to run the RDM Responder Tests on the Raspberry Pi.

Required Hardware

Along with the hardware in the Getting Started section, you'll need one of the USB RDM controllers listed on the RDM Responder Testing page. It's recommended that you attach the controller through a powered USB hub.

Installation

Follow the method described at the OLA on Raspberry Pi page. It's recommended that you use the Binary Packages Image, unless you have a good reason for doing otherwise.

RDM Hardware Setup

At this point you can connect your RDM responder to RDM controller and connect the controller to the PI (again using a powered USB hub is strongly recommended). If you're using DMXter4 RDM or MiniDMXter you need to put the DMXter into dongle mode before powering on the Pi. From the RDM menu on the DMXter, hold the left and right buttons and then hit the center button. The display should change to "USB Dongle Mode".

Configuration

Once all the steps on the above page have been completed, there is one more step to enable the tests. SSH to the Pi device and run:

dpkg-reconfigure  ola-rdm-tests

When prompted if you want to start the RDM Responder tests at boot, select Yes. You should then see:

[ ok ] Starting OLA RDM Test Server: rdm_test_server.py.

and get back to the command prompt.

Patching a Device

You need to patch your USB RDM controller to a universe. Connect to the OLAD web console at http://192.168.1.200:9090 (replace 192.168.1.200 with the IP Address of your device). Click on 'Add New Universe' and select the device you want to use for RDM testing.

Once the USB device is patched, you're ready to start running the tests.

Running the Tests

Everything is setup at this stage. You can connect to the RDM Responder Test UI on your device by opening a web browser and typing http://192.168.1.200:9099 (replace 192.168.1.200 with the IP Address of your device). The guide to the RDM Responder Test UI explains how to run the tests. Alternatively you can run the tests from the command line.