Author Topic: Kira IR Receiver and Transmitter Plugins  (Read 62619 times)

Offline lolodomo

  • Master Member
  • *******
  • Posts: 3484
  • Karma: +74/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #30 on: May 17, 2013, 04:26:01 pm »
I finally solved the Java problem by installing a new JRE version.
Next problem: the Kira Java program does not discover my Kira device. Why ?
I have access to my Kira by this URL http://KIRA => So my Kira is really on my local network but not discovered by the Kira program.

Offline lolodomo

  • Master Member
  • *******
  • Posts: 3484
  • Karma: +74/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #31 on: May 17, 2013, 04:50:26 pm »
I was finally able to make the plugin working at receiving 8)



This is a beta-level plugin. It is working really reliably on my system but it may not work on yours. If you want to try it out, the files and instructions are: Here.

That might be a stupid question but where are the KiraTx files ? I don't find them on this web page.

« Last Edit: May 17, 2013, 05:15:54 pm by lolodomo »

Offline lolodomo

  • Master Member
  • *******
  • Posts: 3484
  • Karma: +74/-10
Re: Kira IR Receiver Plugin
« Reply #32 on: May 17, 2013, 05:11:48 pm »
Watch this space for the beta release of KiraTx.

Which space ?

Offline RexBeckett

  • Master Member
  • *******
  • Posts: 3888
  • Karma: +477/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #33 on: May 17, 2013, 05:31:10 pm »
This space.  ;D

I have no feedback from the alpha test so you are the first to try it. It works fine on my system so I hope it does on yours.


Offline lolodomo

  • Master Member
  • *******
  • Posts: 3484
  • Karma: +74/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #34 on: May 17, 2013, 06:09:08 pm »
This space.  ;D

I have no feedback from the alpha test so you are the first to try it. It works fine on my system so I hope it does on yours.

Thank you, I will try immediately.

This night, I have the feeling to be really stupid, I am advancing really slowly and now I am not succeeding to send an IR code using the Kira tools !
I use the Java program to learn a code, for example K 2402 21EA 08EB 01EF 2000
I then open the web page of my Kira and go in the page "Send IR codes"; I try to enter "K 2402 21EA 08EB 01EF 2000" in the first field but the field is limited to only 14 characters ! What am I doing wrong ?

Offline RexBeckett

  • Master Member
  • *******
  • Posts: 3888
  • Karma: +477/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #35 on: May 17, 2013, 06:52:03 pm »
The Send IR Codes page on the built-in web server requires named codes. You can set the four named codes using the Setup IR Codes page. You can also learn and store the codes using the Java utility.

If it was easy, I wouldn't have bothered to write KiraTx.  ;D

Offline lolodomo

  • Master Member
  • *******
  • Posts: 3484
  • Karma: +74/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #36 on: May 17, 2013, 07:24:11 pm »
Well, KiraTX is working 8)

Only little problem encountered: I go through the code with the First and Next buttons and for each code I try the Test button. If the name field is not empty, the code is not sent.

I thought that KiraTx and KiraRx were sharing the same codes ? I was constrained to learn again my 3 codes with the KiraTx plugin.

The code displayed in the KiraRx and KiraTx plugins have not the same format, maybe you could display the two formats, the original Kira format and your format ?



My last major problem is that the external IR input of the Kira is not working. I setup the Kira to use "External IR Receiver" in the option page. But when I learn code, nothing happens, neither with the plugin, neither with the Java Kira application :(
Is the external IR input available when in standalone mode ?

Offline lolodomo

  • Master Member
  • *******
  • Posts: 3484
  • Karma: +74/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #37 on: May 17, 2013, 07:42:54 pm »
My last major problem is that the external IR input of the Kira is not working. I setup the Kira to use "External IR Receiver" in the option page. But when I learn code, nothing happens, neither with the plugin, neither with the Java Kira application :(
Is the external IR input available when in standalone mode ?

Finally, it seems that receiving from the external IR input is working with the Kira app but not with your plugin.
The problem might be that the code is totally different for the same remote button.
Here is the code with the internal IR receiver: K 2402 2220 08B4 01D6 2000
while here is the code when using the external IR receiver: K 2322 2267 1116 0224 021F 0241 0217 0225 023C 0225 0225 0242 0217 0225 023C 0225 0225 0242 0217 0225 0675 0242 066B 0223 0670 0224 0675 0242 0217 0225 0675 0242 0662 0225 0675 0225 0237 0224 0225 0242 021F 0224 0237 0225 0675 0225 0237 0224 021F 0241 021F 0224 0670 0242 0670 0224 0668 0226 0675 0242 0217 0225 0675 0242 0670 0224 0668 0225 2000
Note that with the internal IR, when learning the code with the Kira app, I see a long code immediately replaced by the short code. Maybe it can help ?

Offline RexBeckett

  • Master Member
  • *******
  • Posts: 3888
  • Karma: +477/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #38 on: May 17, 2013, 07:50:31 pm »
Quote
If the name field is not empty, the code is not sent.
It shouldn't make any difference what is in the Name field. It works OK on my system. Does it show Code sent? Does the red light flash on KIRA?

Quote
The code displayed in the KiraRx and KiraTx plugins have not the same format, maybe you could display the two formats, the original Kira format and your format ?
What would be the advantage in that?

KiraTx learns, imports, displays and transmits native KIRA code format. KiraRx learns and imports native Kira format but saves the codes in a compressed form for faster and more reliable recognition. If it is too difficult to learn the codes twice, learn them with KiraTx and then copy them from the display and paste/import them into KiraRx. What additional functionality would help?

Quote
Is the external IR input available when in standalone mode ?
It should be. Is your receiver a Keene product?

Offline lolodomo

  • Master Member
  • *******
  • Posts: 3484
  • Karma: +74/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #39 on: May 17, 2013, 07:59:05 pm »
Quote
Is the external IR input available when in standalone mode ?
It should be. Is your receiver a Keene product?

Yes, it is this one: http://www.keene.co.uk/electronic/keene-electronics/keene-standard-ir-receiver/IRSR.html
Ot looks like a problem with the learn feature of your plugin. When I push learn in the Rx or Tx plugin, I see "Waiting for code..." and then nothing.
And the same location and from the same remote, the Kira app succeeds in learning a code.

Offline RexBeckett

  • Master Member
  • *******
  • Posts: 3888
  • Karma: +477/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #40 on: May 17, 2013, 08:00:32 pm »
Quote
Here is the code with the internal IR receiver: K 2402 2220 08B4 01D6 2000
while here is the code when using the external IR receiver: K 2322 2267 1116 0224 021F 0241 0217 0225 023C 0225 0225 0242 0217 0225 023C 0225 0225 0242 0217 0225 0675 0242 066B 0223 0670 0224 0675 0242 0217 0225 0675 0242 0662 0225 0675 0225 0237 0224 0225 0242 021F 0224 0237 0225 0675 0225 0237 0224 021F 0241 021F 0224 0670 0242 0670 0224 0668 0226 0675 0242 0217 0225 0675 0242 0670 0224 0668 0225 2000
These are obviously totally different codes. My plugins do not care whether you use internal or external IR receivers. They just get UDP packets from KIRA.

Two possibilities occur to me: Some remote buttons output different codes for long or short button presses. If you want both codes you will need to learn them separately. Also I noticed significant variation in codes transmitted from near or far distances - although not so significant to explain the difference in two burst pairs to thirty-four burst-pairs...

Offline RexBeckett

  • Master Member
  • *******
  • Posts: 3888
  • Karma: +477/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #41 on: May 17, 2013, 08:09:30 pm »
Quote
When I push learn in the Rx or Tx plugin, I see "Waiting for code..." and then nothing.
Set Debug in the Advanced tab to 1 and Save/Relaod. Try the learn operation again and post the log covering the period from when you click Learn to about 35 seconds later when you should get a timeout message. If you don't get a timeout message there will be an error in the log.

Offline lolodomo

  • Master Member
  • *******
  • Posts: 3484
  • Karma: +74/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #42 on: May 17, 2013, 08:15:08 pm »
Quote
The code displayed in the KiraRx and KiraTx plugins have not the same format, maybe you could display the two formats, the original Kira format and your format ?
What would be the advantage in that?

KiraTx learns, imports, displays and transmits native KIRA code format. KiraRx learns and imports native Kira format but saves the codes in a compressed form for faster and more reliable recognition. If it is too difficult to learn the codes twice, learn them with KiraTx and then copy them from the display and paste/import them into KiraRx. What additional functionality would help?

There was just a misunderstanding on my side after reading this topic because I thought that the two plugins were sharing the same codes. But with your new explanation about your compressed format, I understand that this format is not usable for transmitting but better for recognition.
I can learn twice (or copy/paste like you explain), no problem.

Offline lolodomo

  • Master Member
  • *******
  • Posts: 3484
  • Karma: +74/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #43 on: May 17, 2013, 08:20:07 pm »
Quote
If the name field is not empty, the code is not sent.
It shouldn't make any difference what is in the Name field. It works OK on my system. Does it show Code sent? Does the red light flash on KIRA?

Yes and yes. But it is not systematic...
I need to make more tests, with and without the amp kit. My current feeling is that the transmitting is just not reliable with my current installation.
Will do more tests ... after sleeping.

Offline lolodomo

  • Master Member
  • *******
  • Posts: 3484
  • Karma: +74/-10
Re: Kira IR Receiver and Transmitter Plugins
« Reply #44 on: May 17, 2013, 08:21:18 pm »
Quote
When I push learn in the Rx or Tx plugin, I see "Waiting for code..." and then nothing.
Set Debug in the Advanced tab to 1 and Save/Relaod. Try the learn operation again and post the log covering the period from when you click Learn to about 35 seconds later when you should get a timeout message. If you don't get a timeout message there will be an error in the log.

Will do that after a night. It is now very very late in France.