Personal tools
The Open Lighting Project has moved!

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

Difference between revisions of "OLA JSON API"


Jump to: navigation, search
(Example JSON)
(No difference)

Revision as of 12:11, 6 September 2013

Browse to /help on your OLA webserver to see the available commands (append ?help=1 to the end of a command for more info in newer versions of OLA)


Set a universe of DMX


#!/usr/bin/perl -w

use LWP::UserAgent;

my $ua = LWP::UserAgent->new;

my $response = $ua->post('',
  {u => 0, d => join(",",(0,1,2,3,4,5,6))}

if ($response->is_success) {
  print $response->decoded_content;
} else {
  die $response->status_line;