Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Kira keene plugin: transmit IR problem

If you have a question or need help, this is the place to be.
Post Reply
swisswolf
Posts: 8
Joined: Sat Mar 26, 2011 10:28 pm

Kira keene plugin: transmit IR problem

Post by swisswolf »

hello
within keene electronics iranywhere application
I have catched the onkyo 595 volume up signal : (learn)
K 2322 23A2 11B4 0223 0239 0222 0697 0240 021C 0222 023A 023F 0678 0223 0239 0222 069C 0223 0691 023F 067E 0223 0239 0223 0691 023F 067E 0240 021B 0240 0678 0222 0697 0240 021C 023F 021C 0240 0222 023F 021C 0222 023A 023F 021C 0222 023A 0222 023A 0222 0239 0222 0697 0240 0678 0240 0678 0240 067E 0223 068F 0222 069D 023F 0678 0222 0697 023F 2000

I ve tested with iranywhere it works: so I can send the signal to the ampli

In eventghost I ve removed the "k" copied in action when i execute I got:

00:38:47 IR code does not conform to protocol

the same with the eventghost event where I remove kira.raw
00:34:03 KIRA.Raw.2222 22A2 11D8 0240 0209 0240 065A 0222 0209 0240 0209 0240 0654 023F 0209 0240 065A 0240 065A 0222 0673 0222 0228 0222 0654 023F 065A 0240 0209 0240 065A 0240 065A 023F 0204 0240 0209 0240 063C 025B 01EC 0240 0209 025C 01EC 0240 0209 0240 0209 023F 0209 0240 0654 023F 0209 0240 065A 0222 065A 0240 065A 0240 0653 025C 063C 023F 065A 0240 2000

I ve checked the code:
class Transmit(eg.ActionClass):
name = 'Transmit IR'
description = Text.transmitDesc

def __call__(self, mesg):
mesg = eg.ParseString(mesg)
codes = mesg.split()
try:
info = codes.pop(0)
frequency = int(info[:2], 16)
numpairs = int(info[2:], 16)
data = [int(i, 16) for i in codes]
if (
len(codes) == (numpairs * 2)
and
codes[len(codes) - 1] == '2000'
):
self.plugin.Send('K ' + mesg)
else:
raise self.Exception()
except:
raise self.Exception('IR code does not conform to protocol')

can someone help?
thanks
rgds
cc
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Kira keene plugin: transmit IR problem

Post by krambriw »

It is nothing wrong with your ir codes, they work fine for me (at least the Keene accepts them and sends without error messages)

The error message might be a bit misleading. Also if the "Send" command fails, if there is something wrong with the device, you get the same error

I did setup my device as a standalone, see picture below

Attached is a version with some added print statements to allow some debugging, the result from my test, see below

Best regards, Walter

Code: Select all

11:07:21   Keene IR Anywhere: Transmit IR: 2222 22A2 11D8 0240 0209 0240 065A 0222 0209 0240 0209 0240 0654 023F 0209 0240 065A 0240 065A 0222 0673 0222 0228 0222 0654 023F 065A 0240 0209 0240 065A 0240 065A 023F 0204 0240 0209 0240 063C 025B 01EC 0240 0209 025C 01EC 0240 0209 0240 0209 023F 0209 0240 0654 023F 0209 0240 065A 0222 065A 0240 065A 0240 0653 025C 063C 023F 065A 0240 2000
11:07:21      These two values must be the same:  68 ,  68
11:07:21      This value must be equal to 2000:  2000
11:07:21      Try to send... K 2222 22A2 11D8 0240 0209 0240 065A 0222 0209 0240 0209 0240 0654 023F 0209 0240 065A 0240 065A 0222 0673 0222 0228 0222 0654 023F 065A 0240 0209 0240 065A 0240 065A 023F 0204 0240 0209 0240 063C 025B 01EC 0240 0209 025C 01EC 0240 0209 0240 0209 023F 0209 0240 0654 023F 0209 0240 065A 0222 065A 0240 065A 0240 0653 025C 063C 023F 065A 0240 2000
11:07:21   ACK
11:07:21   KIRA.Acknowledgement
Image1.jpg
__init__.py
(11.07 KiB) Downloaded 135 times
swisswolf
Posts: 8
Joined: Sat Mar 26, 2011 10:28 pm

Re: Kira keene plugin: transmit IR problem

Post by swisswolf »

thanks a lot Walter

I ran your debug version here the results:
eventghostlog&pluginconfig.jpg
so it looks like the command is ok but it still doesn't work

so I had a look to the kira configuration:
kira128 config.jpg
I m using a external ir receiver

but again, the same code send from kira software works; so I doubt taht this is a hardware issue

thanks
cc
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Kira keene plugin: transmit IR problem

Post by krambriw »

Hi,

I notice that you have another model, the KIRA 128.

I only have the "normal" model. I do not think this available when the plugin was developed. Wether it is fully compatible, I have no idea

Something obviously goes wrong during sending so there must be some kind of compatibilty issue

Best regards, Walter
swisswolf
Posts: 8
Joined: Sat Mar 26, 2011 10:28 pm

Re: Kira keene plugin: transmit IR problem

Post by swisswolf »

hi Walter

thanks for the remark
does any body own a kira128?
well the only diff is that the kira128 stored some code internaly.. i m really wondering how it should impact the transmit ir function
ir codes are accessible trought a webpage
a alternative is to call the js from perl or similar ..
lot of work ..
anyidea ?
cc
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Kira keene plugin: transmit IR problem

Post by krambriw »

Hi Swisswolf,

If not already done, pls upgrade the firmware to the latest (1.75) just to be sure we have the latest. I did so yesterday with my KIRA's and they work just fine (as before)

I have looked into the api and the devices should be fully compatible as you say

I suggest the following that we try each others devices; I have made a portforwarding in my firewall to my Keene so that you can test it from your EG application. You just have to change the host name in the plugin setting (I'll pm you the host name) and I suggest you do same so I can try yours

Best regards, Walter
swisswolf
Posts: 8
Joined: Sat Mar 26, 2011 10:28 pm

Re: Kira keene plugin: transmit IR problem

Post by swisswolf »

hi Walter

thanks a lot I ve checked I m running the 1.75 version
I m ready for the test, waiting your PM
best regards
Cedric
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Kira keene plugin: transmit IR problem

Post by krambriw »

I've sent a PM already this morning, check your inbox in the user control panel

Best regards, Walter
swisswolf
Posts: 8
Joined: Sat Mar 26, 2011 10:28 pm

Re: Kira keene plugin: transmit IR problem

Post by swisswolf »

hello Walter
thanks, it sounds it works
i do not have error message
did you see my call on your device?
regards
cedric
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Kira keene plugin: transmit IR problem

Post by krambriw »

Hi, yes I think so, you sent this?

K 2622 115E 1144 022B 0655 022B 022B 022B 0655 022B 0655 022B 022B 022B 0655 022B 022B 022B 022B 022B 0655 022B 022B 022B 0655 022B 0655 022B 022B 022B 0655 022B 022B 022B 022B 022B 0655 022B 022B 022B 0655 022B 022B 022B 0655 022B 0655 022B 0655 022B 022B 022B 022B 022B 0655 022B 022B 022B 0655 022B 022B 022B 022B 022B 022B 022B 0655 022B 2000

If so we know my device is working and your code is fine. Next is to find out why your device is responding like that. Maybe stupid question but is the IR code working anyway? I mean is it only the device that reports error but the IR code anyway is transmitted?

If you like you can do the reverse, forward the port in your firewall and I can try to connect to your device. You can pm me with the details. When we are finished, we will close the ports in the firewall again

Best regards, Walter
swisswolf
Posts: 8
Joined: Sat Mar 26, 2011 10:28 pm

Re: Kira keene plugin: transmit IR problem

Post by swisswolf »

hi Walter
well that was not me!?
I sent:
1A0D 0098 0286 0074 0330 0092 0122 0074 0127 0092 0271 0092 0122 0074 0127 0074 013F 0091 0122 0074 01E6 0075 01CA 0091 0127 0074 2000
and just resent again: march 29 7:34 swiss local time
I m away for a couple of day. I ll open my port next week
rgds
cc
swisswolf
Posts: 8
Joined: Sat Mar 26, 2011 10:28 pm

Re: Kira keene plugin: transmit IR problem

Post by swisswolf »

hi

FIXED!
well I ve always let "Standalone" in field: "Host" which was I guess default value!
(as in your screen shot)
but by introducing your address I realized ....
I put the IP address of the device and it works!
so so stupid
I apologize... just started with that stuff a couple of day
thanks
cc
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Kira keene plugin: transmit IR problem

Post by krambriw »

Oh great, happy to hear...

I'm working on an updated version that is supporting also pronto codes directly, maybe you are interested to use it/test later

Can you send the code one more time to my Keene and I will se if I can catch it?

Best regards, Walter
Post Reply