can c_bus reply
can c_bus reply.i have try everything to make c_bus can reply and i also use the amx's module about the c_bus, but i can't understand all the module .can anyone help ???
thanks for help.
thanks for help.
0
Comments
yes,can it??
heres an example connecting to an Ethernet interface
DEFINE_DEVICE dvCbus = 0:5:0 //CBUS PCI - 192.168.1.10 port 100001 vdvCbus = 33003:1:0 DEFINE_VARIABLE volatile char sCbus_Addr[] = '192.168.1.10'; volatile integer sCbus_Port = 10001; DEFINE_MODULE 'CBusModIII' mdlCBUS( dvCBUS, vdvCBUS, sCbus_Addr, sCbus_Port ); DEFINE_EVENT data_event[vdvCbus] { string: { select { active (data.text == "'K:P:[00:3A:02]'"):{ //lights are on so do something } } } online: { send_command vdvCBUS, "'STATUS:3A'" } }i use the Channel Feedback,and also no use.
channel_event[vLight, 18]
{
on: on [dvTP, channel.channel]
off: off [dvTP, channel.channel]
}
this also no use
DEFINE_PROGRAM
[dvTP, 21] = [vLight,$A9] // group address A9 on local network, app 38
[dvTP, 22] = [vLight,$AA] // group address AA on local network, app 38
[dvTP, 23] = [vLight,$AB] // group address AB on local network, app 38
[dvTP, 24] = [vLight,$AC] // group address AC on local network, app 38
I want to do c_bus?s feedback too,but I have not got feedback message like ?'K:P:[00:3A:02]'?,can you tell me how to get this feedback message?thank you!!!!!