Page 3 of 3

Re: Onkyo 875

Posted: Tue Apr 20, 2010 6:03 pm
by Fiasco
Livin wrote:What is different between the old Onkyo plugin and the 875 plugin?
Can the ability to handle this be put into the plugin? (e.g. I must manually add the On or Off in the Event line)
I could put a check box in the plugin configuration for "append payload" so that it includes the payload as part of the event.

In the meantime you can change the commands from
self.TriggerEvent("Zone3Mute", self.onOffDict[value])

to

self.TriggerEvent("Zone3Mute." + self.onOffDict[value])

(replace , with + and add a . to the end of the event name)

Re: Onkyo 875

Posted: Wed Apr 21, 2010 4:10 am
by Livin
As a test I put back in the old plugin (.2 which 3 people, including yourself worked on) and it works perfectly.

The log shows: OnkyoSerial2.Power.Off
... when I drag it to the Macro it stays the same.
... so it looks like it is doing exactly what you stated.

I made the modifications to your .PY and it is working well.

It might be good to add the option as you suggested.

thx!

Re: Onkyo 875

Posted: Mon Apr 26, 2010 8:29 pm
by Fiasco
Currently my 875 is away for warranty work so I cant rewrite/test the plugin with the change.

I did put in a checkbox w/ "user seperate events" in the plugin config which is working fine.

I'll upload the revision as soon as I get my onkyo back and I can test it.

Re: Onkyo 875

Posted: Mon Apr 26, 2010 8:53 pm
by Livin
cool... thanks for the help!

Re: Onkyo 875

Posted: Sun Jun 06, 2010 6:22 am
by Livin
Oddly enough I'm now getting an error...

11:12:09 PM Traceback (most recent call last) (1262):
11:12:09 PM File "C:\Program Files (x86)\EventGhost\eg\Classes\SerialThread.py", line 419, in CallbackThreadProc
11:12:09 PM File "C:\Program Files (x86)\EventGhost\plugins\Onkyo 875\__init__.py", line 670, in OnReceive
11:12:09 PM TypeError: cannot concatenate 'str' and 'int' objects

?

Re: Onkyo 875

Posted: Mon Jun 21, 2010 1:03 am
by Livin
Fiasco,
Do you have an update on the plugin?