Help with XBMC integration

Posted on
Sun Jan 05, 2014 4:35 am
mattggarland offline
Posts: 49
Joined: Jan 06, 2013

Re: Help with XBMC integration

Ramon,
Thanks for the help! I am aware of the two different files, and indigo's plugin worked fine, it's just the XBMC one that isn't playing ball!

I am running Eden, Frodo's audio issues and my setup do not get along well unfortunately! I got a step further today with the file you posted, and now I am getting a 'dependancies not met' error message when I attempt to install. I'll keep playing and see how I get on.

Regards,

Matt

Posted on
Sun Jan 05, 2014 6:10 am
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

Matt,

Yes. From Eden to Frodo, the Addon API has changed.
(http://wiki.xbmc.org/index.php?title=Ed ... ges#Addons)
(http://wiki.xbmc.org/index.php?title=Frodo_API_changes)

If you read the addon.xml (inside the zip), you will see:
<requires>
<import addon="xbmc.python" version="2.1.0"/>
</requires>

And Eden API documentation says:
The version of the xbmc.python api is now 2.0
This will explain the "dependancies not met" error message.

If "Frodo" is the problem, maybe you can check if "Gotham" works for you.
http://wiki.xbmc.org/index.php?title=Development_builds

Regards,
Ramon

Posted on
Tue Mar 04, 2014 2:49 am
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

mattggarland wrote:
Ramon,
Thanks for the help! I am aware of the two different files, and indigo's plugin worked fine, it's just the XBMC one that isn't playing ball!

I am running Eden, Frodo's audio issues and my setup do not get along well unfortunately! I got a step further today with the file you posted, and now I am getting a 'dependancies not met' error message when I attempt to install. I'll keep playing and see how I get on.

Regards,

Matt



Hi Matt,
I remember you were still using XBMC Eden release, due to audio problems with Frodo release and your sound hardware.
I don't know the details about your audio issue. I understand you are running XBMC under OSX.

XBMC team is testing a new "sound approach" under OSX with Gotham release.
Maybe, you are interested to test this last release and check if it fixes your audio issue.

http://forum.xbmc.org/showthread.php?tid=185454
http://wiki.xbmc.org/index.php?title=Development_builds
http://mirrors.xbmc.org/nightlies/osx/x86_64/

Regards,
Ramon

Posted on
Tue Mar 25, 2014 6:20 pm
Chompy offline
User avatar
Posts: 84
Joined: Sep 07, 2009
Location: Seattle, WA

Re: Help with XBMC integration

telnallero: Is the most recent version of your RooWifi plugin v0.0.27?

Just checking to make sure I'm up to date. :wink:

Posted on
Wed Mar 26, 2014 2:14 am
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

Chompy wrote:
telnallero: Is the most recent version of your RooWifi plugin v0.0.27?

Just checking to make sure I'm up to date. :wink:


Hi Chompy,

Yes. No updates since 0.0.27

Posted on
Fri Mar 28, 2014 3:45 pm
koensayr offline
Posts: 90
Joined: Jul 10, 2013

Re: Help with XBMC integration

Has anybody tested this with Plex? I know the API used to be fairly compatible but not sure if its drifted.

Given some time over the weekend I may give it a go.

Posted on
Fri Mar 28, 2014 4:53 pm
rafsel offline
Posts: 51
Joined: Feb 24, 2009

Re: Help with XBMC integration

Hi,

I am having a problem getting Indigo to communicate with XMBC running on a separate machine.

Environment:
Machine 1: XMBC 12.3 on OSX 10.9.2; IP: 192.168.2.109
    XMBC Plugin Settings:
      Indigo IP Address: 192.168.2.107
      Indigo Plugin Port: 8189
      DEBUG: Yes
      Notification on Startup: Yes
    XMBC Services/Webserver Settings:
      Allow control of XBMC via HTTP: checked
      - Port: 8085
      - Username: xmbc
      - Password: xmbc
      Web Interface: Default
    XMBC Services/Remote control Settings:
      Allow programs on this system to control XMBC: checked
      Allow programs on other systems to control XMBC: checked

Machine 2: Indigo 6.0.10 on OSX 10.6.8 (I know I'm lazy!); IP: 192.168.2.107
    XBMC Plugin Configure:
      UDP port to listen: 8189
    XBMC Device Configure:
      XBMC IP Address: 192.168.2.109
      TCP port: 8085
      Use Authentication: checked
      Username: xmbc
      Password: xmbc

Immediately after creating the XMBC device I did the following:
    sent a status request: no response
    sent a "XBMC Home Theatre" on command: error message
    sent a "XBMC Home Theatre" off command: error message
and here the relevant excerpt from the Indigo log. Note that the first error is in response to the ON command. For some reason Indigo did not log this.
Mar 28, 2014, 6:26:39 PM
XBMC sent "XBMC Home Theatre" status request
XBMC Error XBMC Home Theatre: Only for XBMC in same machine than Indigo. XBMC address is: 192.198.2.109. Indigo address is: 192.168.2.107
XBMC sent "XBMC Home Theatre" off
XBMC Error XBMC Home Theatre: Request error : Max retries exceeded for url: /jsonrpc


And here is the xmbc.log entries for Indigo:
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Service start
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Player init
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Monitor init
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Creating socket
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Socket created
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: notifyEventApp(start)
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Sent message to Indigo plugin:<type>app</type><event>start</event>
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: notifyEventVolume(100)
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Sent message to Indigo plugin:<type>volume</type><volume>100</volume><muted>false</muted>
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Old menu = none. New menu = home
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: notifyEventMenu(home)
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Sent message to Indigo plugin:<type>menu</type><menu>home</menu>
18:18:26 T:4560285696 NOTICE: Indigo.Addon: Debug: Monitor onScreensaverActivated


It seems that the communication is not occurring.
Anyone have any ideas on what might be the problem?

Posted on
Sun Mar 30, 2014 3:35 am
henkjanvries offline
User avatar
Posts: 108
Joined: May 05, 2012

Re: Help with XBMC integration

koensayr wrote:
Has anybody tested this with Plex? I know the API used to be fairly compatible but not sure if its drifted.

Given some time over the weekend I may give it a go.


i was wondering the same thing, i have a big Plex setup and also have outsiders using my library, it wold be cool to have Indigo tell me what and who is watching my library. instead of using different apps for that.

Posted on
Sun Mar 30, 2014 5:49 am
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

rafsel wrote:
Hi,

I am having a problem getting Indigo to communicate with XMBC running on a separate machine.

Environment:
Machine 1: XMBC 12.3 on OSX 10.9.2; IP: 192.168.2.109
    XMBC Plugin Settings:
      Indigo IP Address: 192.168.2.107
      Indigo Plugin Port: 8189
      DEBUG: Yes
      Notification on Startup: Yes
    XMBC Services/Webserver Settings:
      Allow control of XBMC via HTTP: checked
      - Port: 8085
      - Username: xmbc
      - Password: xmbc
      Web Interface: Default
    XMBC Services/Remote control Settings:
      Allow programs on this system to control XMBC: checked
      Allow programs on other systems to control XMBC: checked

Machine 2: Indigo 6.0.10 on OSX 10.6.8 (I know I'm lazy!); IP: 192.168.2.107
    XBMC Plugin Configure:
      UDP port to listen: 8189
    XBMC Device Configure:
      XBMC IP Address: 192.168.2.109
      TCP port: 8085
      Use Authentication: checked
      Username: xmbc
      Password: xmbc

Immediately after creating the XMBC device I did the following:
    sent a status request: no response
    sent a "XBMC Home Theatre" on command: error message
    sent a "XBMC Home Theatre" off command: error message
and here the relevant excerpt from the Indigo log. Note that the first error is in response to the ON command. For some reason Indigo did not log this.
Mar 28, 2014, 6:26:39 PM
XBMC sent "XBMC Home Theatre" status request
XBMC Error XBMC Home Theatre: Only for XBMC in same machine than Indigo. XBMC address is: 192.198.2.109. Indigo address is: 192.168.2.107
XBMC sent "XBMC Home Theatre" off
XBMC Error XBMC Home Theatre: Request error : Max retries exceeded for url: /jsonrpc


And here is the xmbc.log entries for Indigo:
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Service start
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Player init
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Monitor init
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Creating socket
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Socket created
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: notifyEventApp(start)
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Sent message to Indigo plugin:<type>app</type><event>start</event>
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: notifyEventVolume(100)
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Sent message to Indigo plugin:<type>volume</type><volume>100</volume><muted>false</muted>
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Old menu = none. New menu = home
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: notifyEventMenu(home)
18:15:01 T:4560285696 NOTICE: Indigo.Addon: Debug: Sent message to Indigo plugin:<type>menu</type><menu>home</menu>
18:18:26 T:4560285696 NOTICE: Indigo.Addon: Debug: Monitor onScreensaverActivated


It seems that the communication is not occurring.
Anyone have any ideas on what might be the problem?



Hi,

The plugin's documentation says that starting xbmc can only be used if xbmc app is installed in the same machine where Indigo is running.
The error message indicates this also (red lines with "Only for XBMC in same machine than Indigo" text)
Indigo can say to OSX ... run ("xbmc.app") but only in the local machine. To do a "remote xbmc launch" ... further development must be done.

I don´t know if the only problem with your setup is starting xbmc.
Once xbmc is manually launched, you have problems sending commands to the remote running xbmc?
When you do something in your xmbc (playing, volume,...) can you see the changes in your Indigo screen?
Can you stop/pause playing your xbmc from Indigo? Can you change xbmc's volume level from Indigo?

Let me know

Posted on
Sun Mar 30, 2014 6:01 am
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

henkjanvries wrote:
koensayr wrote:
Has anybody tested this with Plex? I know the API used to be fairly compatible but not sure if its drifted.

Given some time over the weekend I may give it a go.


i was wondering the same thing, i have a big Plex setup and also have outsiders using my library, it wold be cool to have Indigo tell me what and who is watching my library. instead of using different apps for that.


Hi,

Plex is a xbmc's fork.
I don't know how much Plex code has evolved from XBMC's code since fork.

is Plex using the same API than actual XBMC?
http://dev.plexapp.com/docs/api/
http://wiki.xbmc.org/index.php?title=JSON-RPC_API

Is Plex using the same "contract" for plugins than actual XBMC?

In my opinion, the actual "Indigo's xbmc integration plugin" will not work with Plex.
But it could be adapted to Plex.
Remember that exist 2 pieces of code. One for Indigo, the other as a XBMC plugin. Both written with python.

Posted on
Tue Apr 29, 2014 9:01 am
Korey offline
User avatar
Posts: 813
Joined: Jun 04, 2008
Location: Henderson, NV

Re: Help with XBMC integration

Just an FYI: plugin is working great with XBMC 13 RC1.

Thanks again! :D

--
Korey

Posted on
Tue May 06, 2014 11:01 am
sandconformgorgecloud offline
Posts: 85
Joined: Jun 22, 2007

Re: Help with XBMC integration

Hello... I'm trying to find (again) the RooWifi plugin, because now I received my module... But the doc link is no more working and I don't find the link to the plugin...
Thanks for your help :)

Posted on
Wed May 07, 2014 1:54 am
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

ssciboz wrote:
Hello... I'm trying to find (again) the RooWifi plugin, because now I received my module... But the doc link is no more working and I don't find the link to the plugin...
Thanks for your help :)


Hi,
Apologies for the dropbox link.

The link for the documentation is now:
https://www.dropbox.com/s/lq17ebqadts1a ... plugin.pdf

The link for the plugin:
https://www.dropbox.com/s/z73ntc1w35jn6 ... Plugin.zip

Posted on
Wed May 07, 2014 11:44 am
sandconformgorgecloud offline
Posts: 85
Joined: Jun 22, 2007

Re: Help with XBMC integration

Great, thank you so much.
It's really well made, love it, thanks.

Just not working for me when the Roomba IS cleaning, the stop is not working. I think it sends a "stop" (should send a clean to stop for my model) and then send a dock command... If I can help, I'll with pleasure. I can easily workaround with a script to test if device on then send clean (with a curl) and then a dock.

Love this plugin !

Posted on
Fri May 09, 2014 4:15 am
tenallero offline
Posts: 94
Joined: Oct 31, 2011
Location: Barcelona

Re: Help with XBMC integration

ssciboz wrote:
Great, thank you so much.
It's really well made, love it, thanks.

Just not working for me when the Roomba IS cleaning, the stop is not working. I think it sends a "stop" (should send a clean to stop for my model) and then send a dock command... If I can help, I'll with pleasure. I can easily workaround with a script to test if device on then send clean (with a curl) and then a dock.

Love this plugin !


Hi,

Thank you. I am happy you enjoy the plugin.

I am trying to understand your problem.
About "the stop is not working" issue ...
* I don't know if your Roomba's model has a different interface behaviour. Mine is a 6xx series. What's your model?
* What do you try to do? Simply "stop"? or "Return to dock"?
* When you say .. "stop is not working" ... What is really happening? Your Roomba does not stop, so continue cleaning? Your Roomba stops, but does not back to dock?
* When you say ... "sould send a clean to stop" ... what do you mean?

* In order to know if some requests are lost (or not correctly processed by the roowifi board) ... are you sure that you are not accesing concurrenty to the roowifi board IP address with a desktop browser or a iPhone/Android app? The roowifi board is not a powerfull hardware, and I think it can be "saturated" if different devices (including Indigo) are requesting data (status, speed, etc).

* When the "not working stop" occurs ... is your Roomba far away your wifi coberture?

* Did you activated "Roomba plugin" debug log? Any error message inside?

I will try to help, but actually, my Roomba robot is not working :evil: due a mechanical problem I will fix soon.


Regards,

Page 3 of 8 1, 2, 3, 4, 5, 6 ... 8

Who is online

Users browsing this forum: No registered users and 11 guests