Page 4 of 8

Re: Help with XBMC integration

PostPosted: Fri May 09, 2014 9:30 am
by sandconformgorgecloud
I have a 770.
Well, when it's cleaing, if I press stop (on Indigo) it does nothing, and continue cleaning.
I tried by http commands to test and effectively when it's cleaning or spotting you can only send another CLEAN command to stop it. Any other commands are ignored. When it's stopped, then you can send the DOCK command.
It's not because the board is busy because my test I make it with a terminal command (curl http…) and nothing else enabled (before I added your plugin too).
And the Wifi is working well, I'm sure :)

Well I can use debug if you need.
No stress :)

Thanks

EDIT:
When I manually press "DOCK" button on my roomba (assuming it need time to go to the base station), your plugin says :
RooWIFI Roomba: changed state to clean
When Roomba arrive :
RooWIFI Roomba: changed state to stop
RooWIFI Roomba: changed state to dock

Re: Help with XBMC integration

PostPosted: Sat Jun 14, 2014 4:50 pm
by T-Power
Hello All,

Has anyone had any success with getting the RooWIFI plugin to work with a Roomba Rootooth Bluetooth Adapter?

T.I.A.
Toran

Re: Help with XBMC integration

PostPosted: Sun Jun 15, 2014 10:49 am
by tenallero
ssciboz wrote:
I have a 770.
Well, when it's cleaing, if I press stop (on Indigo) it does nothing, and continue cleaning.
I tried by http commands to test and effectively when it's cleaning or spotting you can only send another CLEAN command to stop it. Any other commands are ignored. When it's stopped, then you can send the DOCK command.
It's not because the board is busy because my test I make it with a terminal command (curl http…) and nothing else enabled (before I added your plugin too).
And the Wifi is working well, I'm sure :)

Well I can use debug if you need.
No stress :)

Thanks

EDIT:
When I manually press "DOCK" button on my roomba (assuming it need time to go to the base station), your plugin says :
RooWIFI Roomba: changed state to clean
When Roomba arrive :
RooWIFI Roomba: changed state to stop
RooWIFI Roomba: changed state to dock


Hi ssciboz,,
I am sorry.
I am away from my Indigo setup for some weeks.
I will try to answer you as soon as possible.

Re: Help with XBMC integration

PostPosted: Sun Jun 15, 2014 10:53 am
by tenallero
T-Power wrote:
Hello All,

Has anyone had any success with getting the RooWIFI plugin to work with a Roomba Rootooth Bluetooth Adapter?

T.I.A.
Toran



Hi Toran,

Rootooth is a different animal than Roowifi.
Rootooth is connected via bluetooth to your Mac/Windows machine.
Roowifi is connected to your home wifi.
A Java server is required to transmit your commands to Roomba.
The actual plugin will not understand the RooTooth interface. Maybe, you can adapt it to Rootooth.

Re: Help with XBMC integration

PostPosted: Sun Jun 15, 2014 3:47 pm
by T-Power
Thanks for the response.
I have a RooWIFI coming soon.
I'll try to do something interesting with the RooTooth and report my findings.

Thanks,
Toran

Re: Help with XBMC integration

PostPosted: Wed Jul 16, 2014 4:38 pm
by dherren
> The plugins is developed around a little board that is plugged to the Roomba's serial connector.
> I have not developed the hardware. It is a brilliant work from an engineer nearby I live.
> I will publish the contact info to get the board. I am sure he is selling to USA and Europe.

I would love to get the information about the the board.

Re: Help with XBMC integration

PostPosted: Thu Jul 17, 2014 2:48 am
by tenallero

Re: Help with XBMC integration

PostPosted: Mon Aug 25, 2014 6:27 pm
by tatrog
Love the RooWIFI module and plugin but finding a problem. When the roomba is out cleaning I am getting constancy state changes. Roomba (my device name) change state to x. See log output below. I also added some debug info below the normal log output. I have roomba set to clean when my house is set to away and send me and SMS that its started to clean. However because the of the constant state change I get a new SMS every few min that its started to clean.

Aug 25, 2014, 8:18:57 PM
RooWIFI Roomba: changed state to stop
RooWIFI Roomba: changed state to clean

Aug 25, 2014, 8:19:38 PM
RooWIFI Roomba: changed state to stop
RooWIFI Roomba: changed state to clean
RooWIFI Roomba: changed state to stop
RooWIFI Roomba: changed state to clean

Aug 25, 2014, 8:20:44 PM
RooWIFI Roomba: changed state to stop
RooWIFI Roomba: changed state to clean

Aug 25, 2014, 8:21:16 PM
RooWIFI Roomba: changed state to stop
RooWIFI Roomba: changed state to clean
RooWIFI Roomba: changed state to stop
RooWIFI Roomba: changed state to clean

Aug 25, 2014, 8:22:29 PM
RooWIFI Roomba: changed state to stop
RooWIFI Roomba: changed state to clean
RooWIFI Roomba: changed state to stop
RooWIFI Roomba: changed state to clean
RooWIFI Roomba: changed state to stop
RooWIFI Roomba: changed state to clean
RooWIFI Roomba: changed state to stop
RooWIFI Roomba: changed state to clean


debug report:
Aug 25, 2014, 8:24:11 PM
RooWIFI Preferences were updated, reloading Preferences...
RooWIFI Debug Thread. Roomba State = clean
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Debug Thread. Roomba State = clean
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.

RooWIFI Debug Thread. Roomba State = clean
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Roomba: changed state to stop
RooWIFI Debug Thread. Roomba State = stop
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Roomba: changed state to clean
RooWIFI Debug Thread. Roomba State = clean
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Debug Thread. Roomba State = clean
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Debug Thread. Roomba State = clean
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Debug Thread. Roomba State = clean
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Roomba: changed state to stop
RooWIFI Debug Thread. Roomba State = stop
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Roomba: changed state to clean
RooWIFI Debug Thread. Roomba State = clean
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Debug Thread. Roomba State = clean
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Debug Thread. Roomba State = clean
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Debug Thread. Roomba State = clean
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Roomba: changed state to stop
RooWIFI Debug Thread. Roomba State = stop
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Roomba: changed state to clean
RooWIFI Debug Thread. Roomba State = clean
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Debug Thread. Roomba State = clean
RooWIFI Debug Thread. Pooling interval = 3
RooWIFI Debug Roomba: Requesting status.
RooWIFI Debug Roomba: Status received.
RooWIFI Debug validating Prefs called
RooWIFI Preferences were updated, reloading Preferences...

Re: Help with XBMC integration

PostPosted: Thu Sep 25, 2014 11:23 am
by Sleepy81
Having an issue with the XBMC plugin...

I have set up events to change the lights based on "playing", "paused" and "stopped" values. However, I can't seem to get this to work properly.

I first tried to use simeple triggers like this:

Trigger: XBMC media.video becomes on
Action: Dim lights to 0%

Trigger: XBMC player.paused becomes on
Action: Dim lights to 50%

Trigger: XBMC player.stopped becomes on
Action: Dim lights to 100%

The play and stopped triggers works perfectly. However the paused does not work as I want.
When i am playing a movie, and i press paused, the lights dim to 50% as programmed, however, when I press play again, they do not dim down again to 0%, thay remain at 50%. To get the lights to dim down to 0%, I have to hit stop (inturn turning the lights full on), and then play again.

So going from paused to play does not seam to work for me...

I also tried to generate some variables, and executing light commands based on those, but same results. When i am paused in the XBMC, and click play again, the variable does not change from paused to playing status.

The wierd thing is tha I can see, in the Custom States box when I select the XBMC device, that the player value changes correctly.
So that changes from "paused" to "playing", when I hit play on my XBMC from a paused state.
So the plugin detects the change, but I cannot figure out how to get it to use this value....

Anybody know what I'm doing wrong?

Re: Help with XBMC integration

PostPosted: Sat Dec 13, 2014 7:47 am
by DrLove
Hi!

New to Indigo (moving from HomeSeer, like yesterday). The XBMC plugin works great for XBMC -> Indigo but if I try to control XBMC (like sending OFF) I get the following error:

XBMC: Request error : Max retries exceeded for url: /jsonrpc


Any suggestions? I have restarted XBMC and Indigo server to no avail.

Best regards, L

Re: Help with XBMC integration

PostPosted: Tue Dec 23, 2014 12:30 pm
by Korey
tenallero wrote:
Korey wrote:
tenallero wrote:

In the following link, you will find documentation for the XBMC plugin:
https://www.dropbox.com/s/swg416uu7u2f5 ... plugin.pdf

I hope the plugin cover what you need.
Let us know your feedback.

Regards,
Ramon


Just installed and configured the plugin, it works great!

Now I can get rid of all the scripting in XBMC that I was using to trigger Indigo events :P

Thank you very much for this Fantastic Plugin! :D


Hi Korey,

I remember your target was syncronizing your room lights with xmbc player status.
Thanks for your feedback.

Ramon


Hi Ramon,

Any chance of getting an updated "XBMC" plugin for Kodi now that it is released?

Code: Select all
10:23:40 T:4599205888   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named simplejson
                                            Traceback (most recent call last):
                                              File "/Users/Indigo/Library/Application Support/Kodi/addons/service.indigo/default.py", line 26, in <module>
                                                import simplejson
                                            ImportError: No module named simplejson
                                            -->End of Python script error report<--


Thank you and happy holidays.

Re: Help with XBMC integration

PostPosted: Fri Dec 26, 2014 6:44 am
by DrLove
Korey wrote:

Code: Select all
10:23:40 T:4599205888   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named simplejson
                                            Traceback (most recent call last):
                                              File "/Users/Indigo/Library/Application Support/Kodi/addons/service.indigo/default.py", line 26, in <module>
                                                import simplejson
                                            ImportError: No module named simplejson
                                            -->End of Python script error report<--


Thank you and happy holidays.


I get the exact same error on 13.2 after "test upgrade" to 14 and then reverting back w/ clean install. Used to work on 13.2 before.. What am I missing?

//L

Re: Help with XBMC integration

PostPosted: Fri Dec 26, 2014 6:54 am
by DrLove
PS. After installing Add-on: Simplejson it works again.. May be it works on Kodi if you install it on Kodi to.

Best regards, L

Re: Help with XBMC integration

PostPosted: Fri Dec 26, 2014 9:00 am
by Korey
DrLove wrote:
PS. After installing Add-on: Simplejson it works again.. May be it works on Kodi if you install it on Kodi to.

Best regards, L



I had the simplejson plugin installed (Kodi moved it over during install from XBMC). But I tried to install it from the repository but still no luck. :cry:

Thanks anyway.

Sticking with XBMC 13.2 until there is an updated plugin for Kodi 14.

Re: Help with XBMC integration

PostPosted: Thu Jan 08, 2015 12:17 pm
by Korey
I now have the plugin working with Kodi V14.

The fix I found was to change line 26 in : "/Users/Indigo/Library/Application Support/Kodi/addons/service.indigo/default.py"


From: import simplejson
To: import json

So far so good. :D

Going to run it like this until Ramon comes by with a proper update.