jordevorstenbosch / xbmc-crestron

Automatically exported from code.google.com/p/xbmc-crestron
1 stars 1 forks source link

Will no longer connect to XBMC #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The only change I can think of that I made recently was installing the Crestron 
Studio software.  At some point after doing that, I wanted to make a change to 
my system.  After compiling and uploading I noticed I could no longer control 
my XBMC.  So I loaded the pre-compiled version from the download (xbmc-test) 
and it connected fine.

I was using version .6 but updated to the latest 1.01beta to see if that would 
fix it.

The error I'm getting in debugger anytime I try to send a command is "Not 
connected to XBMC at 192.168.1.201. Socket Error number is -1."

The processor is a Prodigy PMC3, my machine is Win7 x64, and I have the latest 
version of all Crestron software.

Have you seen this error before?

Original issue reported on code.google.com by matthews...@gmail.com on 29 Dec 2012 at 2:04

GoogleCodeExporter commented 9 years ago
The error message you are seeing is caused by a failure to connect to the Xbmc 
Eventserver api on port 9777. First check that the correct settings are enabled 
in Xbmc (Both radio buttons need to be enabled in 
System>Settings>Services>Remote Control)

You could also try temporarily disabling your windows firewall and see if that 
fixes the problem. 

User METDeath reported that he could not connect to a Raspberry Pi using a PMC3 
however his MC3 would connect just fine so the problem _might_ be PMC3 
specific... but my guess is that its one of the other two things.

Original comment by neil.car...@gmail.com on 1 Jan 2013 at 11:18

GoogleCodeExporter commented 9 years ago
Thanks for the reply and Happy New Year!

I checked the settings in XBMC and its all good. I also disabled my firewall 
temporarily and that didn't help.

My "Constellation" xbmc app on my phone still works fine so I don't think it's 
anything on my network either. 

I also don't think it's the processor. It has been working on the pmc3 up until 
now. And when I loaded the sample program that I first used to test this out 
(several months ago - after changing the parameters to match my local system) 
it worked. After this test I recompiled that same program without making any 
other changes and once again it stopped working. 

So I'm convinced it has something to do with crestron updates or something. I 
think my next test is to get my hands on another PC, load older crestron 
software, compile n test. 

Any other thoughts?

Original comment by matthews...@gmail.com on 1 Jan 2013 at 11:40

GoogleCodeExporter commented 9 years ago
What version of XBMC are you running?

The newer module is designed for XBMC v12, the older ones are for v11.

Original comment by METDeathX on 2 Jan 2013 at 8:24

GoogleCodeExporter commented 9 years ago
I'm running 12.0

Original comment by matthews...@gmail.com on 3 Jan 2013 at 12:33

GoogleCodeExporter commented 9 years ago
Firstly thanks a lot for the update, it seems to have delt with quite a few 
issues. One thing i have noticed though is you have no feedback to drive the 
search page button, there is no join on either the xpanel or ipad. looking 
forward to hearing from you,

Adam.

Original comment by adamhenl...@gmail.com on 3 Feb 2013 at 7:36

GoogleCodeExporter commented 9 years ago
Any resolution to this?  I am also getting the "Not connected to XBMC at 
192.168.1.201. Socket Error number is -1" message.  Running Frodo with SIMPL 
1.02Beta on a CP3.  I don't have Design Studio installed on this machine.

Original comment by floyd1...@gmail.com on 6 Feb 2013 at 10:49

GoogleCodeExporter commented 9 years ago
also one other thing when you get a chance, is there any possibility of being 
able to activate "party mode" from a single press?

Original comment by adamhenl...@gmail.com on 15 Feb 2013 at 12:47

GoogleCodeExporter commented 9 years ago
Any idea what to make of this?

  6. Error: USER SPECIFIED: Module S-9.1:S-15 : XBMCMain(XBMCMain) at line 2680: Process_OnPlayPauseSeek: Unknown property: sender
     TimeStamp: 20:19:23  2-22-13   UpTime: 0 days 12:24:14.01  Task: R004009
  7. Error: USER SPECIFIED: Module S-9.1:S-15 : XBMCMain(XBMCMain) at line 2760: Process_PlayerNotification: Unknown property: xbmc
     TimeStamp: 20:19:23  2-22-13   UpTime: 0 days 12:24:14.02  Task: R004009
  8. Error: USER SPECIFIED: Module S-9.1:S-15 : XBMCMain(XBMCMain) at line 2601: Process_OnPlayItem: Unknown property: title
     TimeStamp: 20:19:24  2-22-13   UpTime: 0 days 12:24:14.24  Task: R004009
  9. Error: USER SPECIFIED: Module S-9.1:S-15 : XBMCMain(XBMCMain) at line 2680: Process_OnPlayPauseSeek: Unknown property: sender
     TimeStamp: 20:40:22  2-22-13   UpTime: 0 days 12:45:12.52  Task: R004009
 10. Error: USER SPECIFIED: Module S-9.1:S-15 : XBMCMain(XBMCMain) at line 2760: Process_PlayerNotification: Unknown property: xbmc
     TimeStamp: 20:40:22  2-22-13   UpTime: 0 days 12:45:12.53  Task: R004009
 11. Error: USER SPECIFIED: Module S-9.1:S-15 : XBMCMain(XBMCMain) at line 2601: Process_OnPlayItem: Unknown property: title

Original comment by adamhenl...@gmail.com on 22 Feb 2013 at 12:21

GoogleCodeExporter commented 9 years ago
Hi all,

I've got also the same issue ("Not connected to XBMC at x.x.x.x. Socket Error 
number is -1.").
I've also have PMC3.
What I've checked so far is that XBMC-ES module inside XBMC moodule :) is 
working fine.
Because all I needed was basic control (buttons, etc.) I'm done.
But If someone wants me to check something - write to me. I will be glad to 
help.

Original comment by marcin.g...@gmail.com on 1 Mar 2013 at 9:44

GoogleCodeExporter commented 9 years ago
@#7
In XBMC-ES add the following:

#DEFINE_CONSTANT ACTN_PARTMODE                        191 <--change to correct 
sequence #
Case (ACTN_PARTYMODE)                   : { SendAction(ACTION_EXECBUILTIN, 
"PlayerControl(PartyMode)"); }

Original comment by Martyf...@gmail.com on 10 Mar 2013 at 7:35

GoogleCodeExporter commented 9 years ago
Adam,
I know it has been a while since you posted that msg, but I am getting the same 
error logs:

Error: splusmanagerapp.exe [App 1] # 11:23:31 12-07-2013  # Module S-2.5.1:S-15 
: XBMCMain(XBMCMain) at line 2680: USER SPECIFIED: Process_OnPlayPauseSeek: 
Unknown property: sender 
  7. Error: splusmanagerapp.exe [App 1] # 11:23:31 12-07-2013  # Module S-2.5.1:S-15 : XBMCMain(XBMCMain) at line 2760: USER SPECIFIED: Process_PlayerNotification: Unknown property: xbmc 
  8. Error: splusmanagerapp.exe [App 1] # 11:23:31 12-07-2013  # Module S-2.5.1:S-15 : XBMCMain(XBMCMain) at line 2601: USER SPECIFIED: Process_OnPlayItem: Unknown property: title 
  9. Error: splusmanagerapp.exe [App 1] # 11:24:09 12-07-2013  # Module S-2.5.1:S-15 : XBMCMain(XBMCMain) at line 2680: USER SPECIFIED: Process_OnPlayPauseSeek: Unknown property: sender 
 10. Error: splusmanagerapp.exe [App 1] # 11:24:09 12-07-2013  # Module S-2.5.1:S-15 : XBMCMain(XBMCMain) at line 2760: USER SPECIFIED: Process_PlayerNotification: Unknown property: xbmc 
 11. Error: splusmanagerapp.exe [App 1] # 11:24:09 12-07-2013  # Module S-2.5.1:S-15 : XBMCMain(XBMCMain) at line 2601: USER SPECIFIED: Process_OnPlayItem: Unknown property: title 
 12. Error: splusmanagerapp.exe [App 1] # 11:24:11 12-07-2013  # Module S-2.5.1:S-15 : XBMCMain(XBMCMain) at line 2601: USER SPECIFIED: Process_OnPlayItem: Unknown property: title 
 13. Error: splusmanagerapp.exe [App 1] # 11:24:13 12-07-2013  # Module S-2.5.1:S-15 : XBMCMain(XBMCMain) at line 2601: USER SPECIFIED: Process_OnPlayItem: Unknown property: title 
 14. Error: splusmanagerapp.exe [App 1] # 11:24:36 12-07-2013  # Module S-2.5.1:S-15 : XBMCMain(XBMCMain) at line 2601: USER SPECIFIED: Process_OnPlayItem: Unknown property: title 

and sometimes this overflow messages:

  4. Error: splusmanagerapp.exe [App 1] # 05:23:04 12-04-2013  # Module S-2.5.1:S-15 : XBMCMain(XBMCMain) at line 482: Overflow. Capacity = 15. Length = 19

It totally kills my CP3 processor. So i am interested in whether you have found 
some solution in the meantime?

Thanks in advance

Original comment by miki.bgd...@gmail.com on 9 Dec 2013 at 11:06

GoogleCodeExporter commented 9 years ago
@11

Miki, Try the latest svn version of the code. If that still fails then
 pm me.

Neil

Original comment by neil.car...@gmail.com on 18 Dec 2013 at 11:01

GoogleCodeExporter commented 9 years ago
got an ATV1 up w/XBMC yesterday
had an older version of xbmc-crestron (early 2013) in my code (MC3) and checked 
the signals in the debugger & was connected and it responded to button presses
saw the newer version (1.04) and loaded the new modules - won't connect!

 mark

Crestron CSP

Original comment by mark.r.k...@gmail.com on 6 Jan 2014 at 8:43

GoogleCodeExporter commented 9 years ago
@ Mark

There's not a lot to go on in your message. Please post with more information 
or it will be impossible to help you. 

Start with your OS version, Xbmc version and maybe some links to debug logs in 
pastebin or similar

Original comment by neil.car...@gmail.com on 13 Jan 2014 at 4:25

GoogleCodeExporter commented 9 years ago
Neil,
Thanks a lot for the response. 
And sorry to respond this late. I have been busy on another stuff :)
I will try, and than I will contact you with results.

Thanks again,
Miki

Original comment by miki.bgd...@gmail.com on 13 Feb 2014 at 12:10

GoogleCodeExporter commented 9 years ago
I am currently using the latest module available for download with a CP3N 
running the latest Crestron firmware.  I am using an openElec machine and it 
works flawlessly.  UNTIL I add another machine to the mix.  I simply cannot 
connect to the second machine and am getting the socket error others have 
mentioned.Have you ever tried to use this module with more than one machine?  I 
have no issues at all doing it with Control4 so I assume there is something 
specific to the way that Crestron connects/disconnects from the unit.

Original comment by Joseph.M...@gmail.com on 6 Mar 2014 at 5:12

GoogleCodeExporter commented 9 years ago
Hmm... is the second machine another Xbmc unit or another CP3N?

If its a CP3N are you using the dedicated Crestron control subnet 
functionality? Then it might be a NAT problem.

Original comment by neil.car...@gmail.com on 6 Mar 2014 at 6:03

GoogleCodeExporter commented 9 years ago
The second machine is another Openelec XBMC machine.  Just one Crestron 
Processor, the CP3N.  Not using the Crestron control subnet.  Simply trying to 
be able to playback 2 movies at a time on two different players.  The video is 
distributed to multiple displays throughout the house.

Original comment by Joseph.M...@gmail.com on 10 Mar 2014 at 7:17

GoogleCodeExporter commented 9 years ago
I guess the Crestron processor cannot maintain two persistent connections to 
two different IP addresses on the same port (9090). Try changing the tcp port 
on one machine to something other than 9090. 
See http://wiki.xbmc.org/?title=JSON-RPC_API#TCP and 
http://wiki.xbmc.org/index.php?title=Advancedsettings.xml#.3Cjsonrpc.3E

Original comment by neil.car...@gmail.com on 11 Mar 2014 at 9:53

GoogleCodeExporter commented 9 years ago
Hmm... you might also have to change the eventserver udp port (9777). It is 
more tricky to change that but see here: 
http://forum.xbmc.org/showthread.php?tid=125693&pid=1085302#pid1085302 and you 
will need to update the port number (9777) in XBMC-ES.usp

Test the tcp port change (9090) first by connecting and using the browse 
functionality. Then test the transport functions (left, right, up, down etc.).

Then make sure both machines allow the required ports through their firewalls

pm me if unsure

Original comment by neil.car...@gmail.com on 11 Mar 2014 at 10:00

GoogleCodeExporter commented 9 years ago
Hi everyone,

I opened one more thread/issue a week ago, but i think that nobody gets 
notified of it :).
So I write her to get some attention on that thread. It is regarding some 
issues with the list.

Thanks in advance for help,
Miki

Original comment by miki.bgd...@gmail.com on 28 May 2014 at 9:24