This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

InfraRed control
#1
Hi! Please advise me an IR controller that can be easily integrated into LM.
I read about a successful experience with Global Cache. Maybe have you already experience of integration with other firms?
We have IR heat pumps from different manufacturers, and we want to collect their control on a universal remote control, as well as make the main control of these pumps from LM.

I would be grateful if you could suggest me the best solution.
Thank you.

(This forum is the best I've seen, you are fantastic!)
Reply
#2
Any IR controller with UDP/TCP/HTTP API should work. This is an alternative to GlobalCache: https://www.irtrans.de/en/
Reply
#3
thank you!
Reply
#4
Infrared control by using LM5lp2, i used the sample code of Infrared for global cache wifi to Ir device. Sample code provide in example it didn't work. When i send command from global cahe software it works but from LM5 it is not working.
Reply
#5
Do you get any errors in the log?
Reply
#6
no error shown in the error log
this is code
value = event.getvalue()
if value==1
then
local socket = require("socket")
local tcp = assert(socket.tcp())

tcp:connect("192.168.43.18", 4998);

tcpConfusedend("sendir,1:1,1,38000,1,1,172,172,22,64,22,64,22,64,22,21,22,21,22,21,22,21,22,21,22,64,22,64,22,64,22,21,22,21,22,21,22,21,22,21,22,64,22,21,22,21,22,64,22,64,22,21,22,21,22,64,22,21,22,64,22,64,22,21,22,21,22,64,22,64,22,21,22,1820\r"); -- GC_Command: transmit string
-- to controller GlobalCache
tcp:receive()
tcp:close()
end
Reply
#7
If it is boolean object then you should change to
if value == true
------------------------------
Ctrl+F5
Reply


Forum Jump: