OpenLightingProject / ola

The Open Lighting Architecture - The Travel Adaptor for the Lighting Industry
https://www.openlighting.org/ola/
Other
644 stars 204 forks source link

controlling a relay via ola on a raspberry pi #1661

Open angeloboraine opened 4 years ago

angeloboraine commented 4 years ago

Hi

What is the best way to have a relay be triggered from a pin on a raspberry pi when a certain DMX adress is triggered? And do I need any other dependancies that need to be installed and how can I do that?

Thanks

peternewman commented 4 years ago

Hi @angeloboraine ,

I'm going to assume you mean the software side? Places like the Raspberry Pi website will have lots of good tutorials on the hardware side.

You just need to enable and configure the GPIO plugin: http://docs.openlighting.org/ola/conf/ola-gpio.conf.html

And then do the relevant device specific config: https://wiki.openlighting.org/index.php/OLA_Device_Specific_Configuration#General_Purpose_I.2FO