Page 8 of 14
Re: OnkyoISCP plugin
Posted: Tue Jun 25, 2013 8:15 am
by jott_st
Livin wrote:abraxxa wrote:That's because of your auto-repeat option, not some direct problem of the plugin.
There is nothing I can do in the plugin to prevent you from shooting you in the foot.
Autorepeat has nothing to do with the problem - it is a option in the XBMC plugin and has nothing to do with any other plugin/command/etc
When the problem occurs all human input/activity has stopped and the Onkyo is in standby (network is always alive).
Please look at this with an open mind and lets try to figure out why this is happening. It does not happen all the time but about once every day two. The PC is rebooted every night.
Log when things work as they should...
Log from when OnkyoISCP plugin went into its loop...
2013-03-16 22:30:19 OnkyoISCP: [Errno 10054] An existing connection was forcibly closed by the remote host
2013-03-16 22:30:19 OnkyoISCP: [Errno 10054] An existing connection was forcibly closed by the remote host
2013-03-16 22:30:19 OnkyoISCP: [Errno 10054] An existing connection was forcibly closed by the remote host
2013-03-16 22:30:19 OnkyoISCP: [Errno 10054] An existing connection was forcibly closed by the remote host
2013-03-16 22:30:19 OnkyoISCP: [Errno 10054] An existing connection was forcibly closed by the remote host
I ran into the same problem and fixed it by adding a break in line 88. Like this:
Code: Select all
[...]
86 except Exception as e:
87 self.PrintError("OnkyoISCP: " + str(e))
88 break
89
90 def Connect(self):
[...]
Re: OnkyoISCP plugin
Posted: Mon Jul 01, 2013 12:59 am
by Livin
Jott - thanks!
Re: OnkyoISCP plugin
Posted: Mon Jul 01, 2013 1:17 am
by Livin
Jott -- I get an indent error no matter what level I indent to?
Re: OnkyoISCP plugin
Posted: Mon Jul 01, 2013 1:24 am
by Livin
I figured it out... I mimic'd your post and it was not happy.
So I went into Windows Notepad (I was using Notepad ++) and copied the spaces before the previous line (to get the same "indent") and it worked... then I looked at it again in Notepad ++ and it shows this...
Code: Select all
except Exception as e:
self.PrintError("OnkyoISCP: " + str(e))
break
def Connect(self):
Re: OnkyoISCP plugin
Posted: Mon Jul 01, 2013 7:12 pm
by Livin
Now I'm getting other errors...
Code: Select all
12:11:31 Error in Action: "Onkyo ISCP: SendCommand: ZPW00"
12:11:31 Traceback (most recent call last) (1610):
12:11:31 File "C:\Users\ha\Documents\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
12:11:31 return self(*args)
12:11:31 File "C:\Users\ha\Documents\EventGhost\plugins\OnkyoISCP\__init__.py", line 159, in __call__
12:11:31 self.PrintError("OnkyoISCP: Error sending command, retrying: " + msg)
12:11:31 TypeError: cannot concatenate 'str' and 'error' objects
Re: OnkyoISCP plugin
Posted: Tue Jul 02, 2013 9:34 pm
by abraxxa
It seems you don't have the latest version of my plugin which is 0.06, see the github repo.
Re: OnkyoISCP plugin
Posted: Thu Jul 04, 2013 5:36 am
by Livin
thx, I installed the latest version - did not realize I was behind

Re: OnkyoISCP plugin
Posted: Fri Jul 05, 2013 2:33 am
by blaher
I'm using 0.06 and get the same error, as I can tell. I can fix it by going to the IP address of the Receiver via a web page and issuing a command, but the wget method doesn't fix it either. Until I do that, the plugin won't connect.
Re: OnkyoISCP plugin
Posted: Fri Jul 05, 2013 10:09 am
by jonib
I don't know anything about this plugin, but the TypeError should be easy to fix:
Change this line:
Code: Select all
self.PrintError("OnkyoISCP: Error sending command, retrying: " + msg)
To this:
Code: Select all
self.PrintError("OnkyoISCP: Error sending command, retrying: " + str(msg))
But I'm guessing it wont help the functionality of the plugin.
jonib
Re: OnkyoISCP plugin
Posted: Sat Jul 06, 2013 6:42 am
by abraxxa
I just checked and saw that I didn't do a release after this and one other type error was fixed.
In the meantime please use github master, I'll try to find some time to release it as 0.07.
Re: OnkyoISCP plugin
Posted: Wed Jul 10, 2013 6:09 am
by blaher
jonib wrote:I don't know anything about this plugin, but the TypeError should be easy to fix:
Change this line:
Code: Select all
self.PrintError("OnkyoISCP: Error sending command, retrying: " + msg)
To this:
Code: Select all
self.PrintError("OnkyoISCP: Error sending command, retrying: " + str(msg))
But I'm guessing it wont help the functionality of the plugin.
jonib
Cheers, you're correct: that fixes the error message itself, but not the plugin connecting.
I've attached the plugin with the changes that you and jott_st have suggested so it's easier for others to use. It no longer crashes Eventghost when you disable the NIC that the Onkyo plugin is using, but I haven't found a way to automate the reconnection yet. I can detect the crash with
viewtopic.php?f=9&t=3881 but am not sure the steps to reconnect.
The closest I've come is changing inputs back & forth with wget.exe, and then disabling/enabling the Onkyo plugin, and restarting EventGhost. That works, but not very consistently.
Re: OnkyoISCP plugin
Posted: Thu Oct 10, 2013 1:42 pm
by DirtDiver
Whenever my receiver sends a NJA (Jacket Art) event the plugin stops receiving further events. I have to restart Eventghost to get it running again. Has anyone had this problem? Below is the part of the log where the error occurs.
15:09:32 OnkyoISCP.NJA '00424D360401000000000036040000280000008000000080000000010008000000000000000000000000000000000000010000000100002B6173FF4B677EFF163285FFB1CAECFF101E7EFFB4C5D1FF3B53CFFF252E68FF2A3D64FF80C7D4FF6B9CCFFF2E34B4FF4E62A0FF6C74C7FF303C51FF3258A9FF2151D2FF82'
15:09:32 OnkyoISCP.NJA00424D360401000000000036040000280000008000000080000000010008000000000000000000000000000000000000010000000100002B6173FF4B677EFF163285FFB1CAECFF101E7EFFB4C5D1FF3B53CFFF252E68FF2A3D64FF80C7D4FF6B9CCFFF2E34B4FF4E62A0FF6C74C7FF303C51FF3258A9FF2151D2FF82
15:09:32 OnkyoISCP.NJA '019DD4FF182137FF4E9B9EFF383DC1FF7C85DAFF0D1122FF6A7A8AFFA4B4CEFFEDF7FBFF5C6679FF305FDFFF2E37A1FF8393ADFF5D789FFF2D36C3FF71B4D6FF355FC2FFBED9EAFF465D77FF121A39FFC4D0E3FF142859FF152A6CFF4E667BFF273EC3FF0A103BFF555C68FF5C656FFF384FA1FFA2BAEEFF4679A3FF'
15:09:32 OnkyoISCP: Received packet not ISCP
15:09:32 OnkyoISCP.NJA019DD4FF182137FF4E9B9EFF383DC1FF7C85DAFF0D1122FF6A7A8AFFA4B4CEFFEDF7FBFF5C6679FF305FDFFF2E37A1FF8393ADFF5D789FFF2D36C3FF71B4D6FF355FC2FFBED9EAFF465D77FF121A39FFC4D0E3FF142859FF152A6CFF4E667BFF273EC3FF0A103BFF555C68FF5C656FFF384FA1FFA2BAEEFF4679A3FF
Re: OnkyoISCP plugin
Posted: Tue Mar 24, 2015 6:26 am
by Pliind
Want to give an heads up to anybody else using this plugin and just bought a Vera-controller. You might have a bug in your receiver locking up the whole networkcontrolling function. Update firmware on Onkyo to fix it!
Re: OnkyoISCP plugin
Posted: Fri May 08, 2015 12:55 am
by adamsweet
@ pliind do you have an onkyo 2014 model working with ev? I have nr737 and can only get vera to control not ideal at all
Re: OnkyoISCP plugin
Posted: Sun Jul 05, 2015 9:43 pm
by logikz
Is this plugin still supported?
I'm trying to use it to connect to my onkyo receiver, I can discover/send commands to it using an external python script but when I try to send commands to it through event ghost nothing happens. When I connect to my device in EG, it connects just fine and I can even see events on my onkyo in EG, it just doesn't respond to the events I send through EG.
Any debugging I can look into? Is this some weird windows permission/compatibility issue? I'm on Windows 8.1
Thanks