Hello,
I previously used LUUP to send commands to Global Cache IP2IR’s via a schedule with excellent results. Now I’m trying to send a “OFF” command to my Samsung Home theater using LUUP to another Global Cache IP2IR. I used the Global Cache iLearn pgm to capture the code and when I use the Global Cache iTest it works flawlessly. The command begins and ends with parentheses on the fourth line. I thought I had it figured out, however, it will not execute on my MicasaVerde. Anyone have any ideas on this one?
local socket = require(“socket”)
host = “192.168.1.75”
c = assert(socket.connect(host, 4998))
c:send(“sendir,1:2,1,37764,1,1,94,72,16,44,16,44,16,16,16,16,16,16,16,16,16,44,16,16,16,44,16,44,16,16,16,16,16,44,16,16,16,44,16,16,16,44,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,44,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,44,16,16,16,16,16,16,16,16,16,16,16,3776”)
c:close()
I’ve seen a few threads where the user installed the GC100 plugin and eventually got it to work. That makes me wonder how I’m able to send the following LUUP commands to control PWM LED’s to the GC IP2IR without using the plug in:
local socket = require(“socket”)
host = “192.168.1.74”
c = assert(socket.connect(host, 4998))
c:send(“set_LED_LIGHTING,1:1,0,5\013”)
c:close()
local socket = require(“socket”)
host = “192.168.1.74”
c = assert(socket.connect(host, 4998))
c:send(“set_LED_LIGHTING,1:2,0,5\013”)
c:close()
local socket = require(“socket”)
host = “192.168.1.74”
c = assert(socket.connect(host, 4998))
c:send(“set_LED_LIGHTING,1:3,60,5\013”)
c:close()
Also, I noticed several views but no replys, could I be in the wrong sub forum?