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.
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:
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
Jott -- I get an indent error no matter what level I indent to?
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
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...
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
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
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
thx, I installed the latest version - did not realize I was behind
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
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.
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.
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.
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
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!
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