Page 1 of 1

irtrans and vera3

PostPosted: Tue 27. May 2014, 09:46
by musca
Hi,
I've been using irtrans lan i/o for 3 years already with homeseer and I can tell that is one of the most stable and reliable IR device I ever seen.
Now I am building 3 new houses and I need to make 3 new automation systems. The difference is that it will be based on Vera3 (micasaverde). I have checked for a plugin for irtrans to make it work with Vera but . . . .nothing.
What I basically need is a plugin to install the IRtrans as a Ir transmitter.
Does this plugin exists?
If not, how complicated would be for me to try to write one? What programming language?
Thanks,

Re: irtrans and vera3

PostPosted: Tue 27. May 2014, 12:16
by eric
I'm not familiar with this device (Vera3) and I am almost sure there is no plugin for IRTrans.

However - if you can get the Vera homecontroller to send simple ASCII Strings to an IP adress via UDP or make a http request you don't need a plugin to send IR.
Most homecontrollers can be configured to do that when an event is triggered. For example all the Vera controller has to do is open a link similar to this:
Code: Select all
http://<ip_of_irtrans>/send.htm?remote=<remote_name>&command=<command_name>

Re: irtrans and vera3

PostPosted: Tue 27. May 2014, 16:25
by musca
I already did that. I was able to sent a http request and it worked. But this will imply to create an event for every ir command. Taking into account that I have 10+ remote controls and each of them with 10+ commands this means 100+ events only for Ir.
The easiest/normal way to do it in Vera would be to have the irtrans installed with a plugin. Then I can automatically create remote controls with Vera and I can select from a drop-down list the IRtrans as an IR transmitter.
Vera uses the Lua programming language for writing scripts.
If I would start writing a plugin myself, what command should I use in Lua to communicate with the irtrans?

Re: irtrans and vera3

PostPosted: Wed 28. May 2014, 09:08
by eric
in this case I suggest using the ASCII API. Your plugin communicates with the IRTrans via simple ASCII strings.
The appropriate programming manual is available in the downloads section of our website.

Re: irtrans and vera3

PostPosted: Wed 28. May 2014, 23:25
by musca
Thank you Eric. Appreciate your help.
Regards,
Andrei