Ok i tryed to make a new device for the rs232 interface, but got really confused:) i'll try again later.
In the mean time i've just added my dimmers as GSDs which seems to be working as i set them as lights so they recive the right commands (ok i've not explained that very well)
i'm having problems with the set level commands, here's my ruby code
11:lev = "LEVEL:"
12:lev += $1
13:lev += "\r\n"
And i'm getting this error
Error while calling method: Cannot call class method: cmd_184
error: can't convert nil into String, line: 12
in: (eval): 12
from (eval):12:in `+'
from (eval):12:in `cmd_184'
How do i take the level value passed to the command an include it in my output??