Trying to work around no lua reactions
-
Hey Patrick,
So I had mentioned earlier that I was using some lua in my reactor activities. I had the idea to move the lua into vera scenes and invoke the scene in a MSR reaction. The problem is I am getting a lot of luup restarts. I tried rebooting the vera as well but it remains unstable. i never really had a problem running the lua within reactor. A example of the lua I am using is to send IR codes to my older TV's that only support IR. Code as follows
--[[Samsung TV Antenna----]] local socket = require("socket") tcp = assert(socket.connect("192.168.255.204", 4998)) tcp:send("sendir,1:3,1,38000,1,1,172,172,21,64,21,64,21,64,21,21,21,21,21,21,21,21,21,21,21,64,21,64,21,64,21,21,21,21,21,21,21,21,21,21,21,64,21,64,21,21,21,64,21,64,21,21,21,21,21,21,21,21,21,21,21,64,21,21,21,21,21,64,21,64,21,64,21,1673" .. "\r\n") tcp:close()
So I though I would try the Global Cache CG100 plugin that is a Vera App that will also send the codes. It does show up under entity action but the sendcodeset option is not available. The following pictures show how it looks under Vera Reactor and MSR.
-
Every single device from the Vera, including any plugin, needs to be mapped. Vera Reactor has had years to do this, and much of it I was able to automate. Not so with MSR. I'll add GC100 to the list. Won't be long, I promise. Device support to remove barriers is a high priority. But, I am working on several at the moment.
-
T toggledbits locked this topic on