Sending messages to DMX

Hello the unity community!
We have a game fully made and finished, except for one detail, we need to integrate lights, fans and other hardware via a DMX, we have the ENTTEC USB DMX Pro, I know that each piece of hardware attatched has an address and one must send values between 0 and 255 to control the hardware, but how can I do this with Unity? I’ve found this doc: http://wiki.etc.cmu.edu/unity3d/index.php/DMX_Board But I can’t seem to get the demo to work and the code I copy from the page fills me with errors!

Some example code would be great! I know that one must use System.IO.Ports (I believe!) If I could have some really simple code that can just set a value to one address I’m sure that i could take it from there… If it’s that simple :wink:

And I’m working on a mac, I know that this will probably make a difference as to the address of the Port but I don’t know if it’ll make any difference anywhere else, but answers on how to do it with windows are most welcome too!

Thank you very much in advance! Look forward to your response the Unity Community!

After a long time of trying to send the messages directly to the DMX through the port, I never could make it work, finally what worked was using the UniOSC Asset and sending the OSC messages to LightJams

Thank yo to the developer(s) of UniOSC, as any email questions that I had, I received a quick and helpful response to get this working, for any others trying to achieve the same thing, this is the way to go!