nhmalik Posted May 29, 2014 Share Posted May 29, 2014 Is it possible to send simple TCP/IP commands such as the following with access to Composer HE only? I do not have any special TCP/IP drivers. This would be used to control blinds. local host, port = "192.168.0.111", 522local socket = require("socket")local tcp = assert(socket.tcp())tcp:connect(host, port)tcp:send("$inm03-;")tcp:close() This would be initiated from various areas in the system such as keypad buttons, timed events including specific times weekday vs. weekends, sunrise/sunset, etc. Thank you Link to comment Share on other sites More sharing options...
THEORY Posted May 29, 2014 Share Posted May 29, 2014 No you cannot do this with Composer HE. A driver exists to send all the communication commands for HunterDouglas shades per shade. Also your command is not correct and would cause some things to lock up and not function correctly. Link to comment Share on other sites More sharing options...
Rexabyte Posted May 29, 2014 Share Posted May 29, 2014 I would not recommend using the socket library.You should use:C4:SendToNetworkC4:NetConnectC4:NetDisconnectC4:CreateNetworkConnectionAnd receive information with:ReceivedFromNetworkOnConnectionStatusChanged Link to comment Share on other sites More sharing options...
nhmalik Posted May 29, 2014 Author Share Posted May 29, 2014 No you cannot do this with Composer HE. A driver exists to send all the communication commands for HunterDouglas shades per shade. Also your command is not correct and would cause some things to lock up and not function correctly. Who makes the driver? For my purposes a driver is a bit of overkill because I just want to execute one or two scenes. Link to comment Share on other sites More sharing options...
nhmalik Posted May 30, 2014 Author Share Posted May 30, 2014 I would not recommend using the socket library.You should use:C4:SendToNetworkC4:NetConnectC4:NetDisconnectC4:CreateNetworkConnectionAnd receive information with:ReceivedFromNetworkOnConnectionStatusChanged Thanks, this might work best. It is a one line command I need to send. Through telnet, it is one line to connect and one line to execute a scene. Link to comment Share on other sites More sharing options...
ericscales Posted May 30, 2014 Share Posted May 30, 2014 Who makes the driver? For my purposes a driver is a bit of overkill because I just want to execute one or two scenes. Theory has these drivers for sale. I have both the Panasonic and HunterDouglas drivers from them and they work flawlessly. I'd highly recommend the theory driver as it's just fantastic and is going to be much easier for you. http://www.theoryav.com/category/control4/drivers/ Link to comment Share on other sites More sharing options...
THEORY Posted May 30, 2014 Share Posted May 30, 2014 If you just want a couple scenes the just get the Platinum Gateway and not the Bridge. The difference is the gateway has an RS-232 port that allows you to trigger scenes. It's around $300, you would still need your dealer to make you a very basic RS-232 driver. or you could buy the driver for the existing device and be able to use your shades in Control4 Scenes along with lights, and get much more functionality. Link to comment Share on other sites More sharing options...
AK1 Posted May 30, 2014 Share Posted May 30, 2014 Or integrate Alan Chow's free TCP event driver http://www.c4forums.com/topic/14531-chowmain-generic-tcp-command-driver/ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.