Jump to content

InteractiveTechnologies CueServer-Pro-CS-800: Difference between revisions

From LinuxMCE
New page: Category: Automation Category: hardware This is a template for a DMX lighting controller by Interactive technologies - model Cueserver pro800 http://www.interactive-online.com/p...
 
No edit summary
Line 9: Line 9:


if cmd.id_==192 #192 is on
if cmd.id_==192 #192 is on
conn_.Send("[c"+id+"atfl]\r") #set id to full
conn_.Send("[c"+id+"atfl]\r") #set id to full
end
end
if cmd.id_==193 #193 is off
if cmd.id_==193 #193 is off
conn_.Send("[c"+id+"rel]\r") #relase id to zero
conn_.Send("[c"+id+"rel]\r") #relase id to zero
end
end
if cmd.id_==184 #184 dimmer
if cmd.id_==184 #184 dimmer
conn_.Send("[c"+id+"at50]\r") #set id to 50% it should step the light up or down this is not working at present
conn_.Send("[c"+id+"at50]\r") #set id to 50% it should step the light up or down this is not working at present
end
end


THINGS TO DO  
THINGS TO DO  
-get #184 the dimmer command to work correctly
-get #184 the dimmer command to work correctly
-add log/messages to keep lmce up to date
-add log/messages to keep lmce up to date
-intergrate the 8 contact closures on the cueserver this could work as alarm interface
-intergrate the 8 contact closures on the cueserver this could work as alarm interface
-get it to work over the ethernet c++
 
-get it to work over the ethernet write a driver in c++

Revision as of 08:16, 5 September 2010

This is a template for a DMX lighting controller by Interactive technologies - model Cueserver pro800 http://www.interactive-online.com/products/cueserver/overview Its very basic at the moment however it is working using the serial port I have followed the guide in the wiki "Implementing Clipsal Interface using Generic Serial Device"also adding in device data #76 COM Port ParityBit/Stop(string) #78 COM Port BaudRate(string)

in the RUBY CODE under "Ruby Internal Commands"-"#384 Process Receive Command For Child "add 

id=device_.childdevices_[cmd.devidto_].devdata_[12]#get child device number

if cmd.id_==192 #192 is on

conn_.Send("[c"+id+"atfl]\r") #set id to full

end

if cmd.id_==193 #193 is off

conn_.Send("[c"+id+"rel]\r") #relase id to zero

end

if cmd.id_==184 #184 dimmer

conn_.Send("[c"+id+"at50]\r") #set id to 50% it should step the light up or down this is not working at present

end


THINGS TO DO

-get #184 the dimmer command to work correctly

-add log/messages to keep lmce up to date

-intergrate the 8 contact closures on the cueserver this could work as alarm interface

-get it to work over the ethernet write a driver in c++