Roomba Plugin - Discontinued

Posted on
Fri Dec 02, 2016 4:11 pm
Bollar offline
Posts: 528
Joined: Aug 11, 2013

Re: Roomba Plugin - beta tests

FlyingDiver wrote:
I get mostly the same, except mine is currently showing Cycle=quick. Mine is set for single pass. Is yours single or double?

The version I'm running (0.0.4) is showing batPct, ExpireM, and RechrgM. Do you need to stretch the window?

Ah, I see them there, but they aren't displayed when I try to make a trigger condition. Maybe that "DBatPctate" is related?

Also, seeing the time displayed as "16:4" messes with my OCD. :D

I have double pass.

Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts

Posted on
Fri Dec 02, 2016 4:16 pm
FlyingDiver offline
User avatar
Posts: 7190
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Roomba Plugin - beta tests

Bollar wrote:
FlyingDiver wrote:
I get mostly the same, except mine is currently showing Cycle=quick. Mine is set for single pass. Is yours single or double?

The version I'm running (0.0.4) is showing batPct, ExpireM, and RechrgM. Do you need to stretch the window?

Ah, I see them there, but they aren't displayed when I try to make a trigger condition. Maybe that "DBatPctate" is related?

Also, seeing the time displayed as "16:4" messes with my OCD. :D

I have double pass.


Yup, typo. It's actually BatPct, it's just labeled wrong. You can use it. I can't find any reason the other two aren't showing up.

It's your time formatting code. I didn't change it. But I will.

So 'clean' is double pass, 'quick' is single. Good to know, I guess. ;)

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Dec 02, 2016 4:20 pm
Bollar offline
Posts: 528
Joined: Aug 11, 2013

Re: Roomba Plugin - beta tests

FlyingDiver wrote:
It's your time formatting code. I didn't change it. But I will.

You should have figured out by now that I don't know what I'm doing and my code always requires QA.

Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts

Posted on
Fri Dec 02, 2016 4:28 pm
Bollar offline
Posts: 528
Joined: Aug 11, 2013

Re: Roomba Plugin - beta tests

I wonder what is the most useful state to display as the device's state? Phase?

Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts

Posted on
Fri Dec 02, 2016 4:31 pm
FlyingDiver offline
User avatar
Posts: 7190
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Roomba Plugin - beta tests

Bollar wrote:
I wonder what is the most useful state to display as the device's state? Phase?


Maybe. Or maybe we make one up and I construct it on every update based on a couple of the other values. Easy enough to do.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Dec 04, 2016 3:23 pm
Bollar offline
Posts: 528
Joined: Aug 11, 2013

Re: Roomba Plugin - beta tests

FlyingDiver wrote:
So 'clean' is double pass, 'quick' is single. Good to know, I guess. ;)

'quick' is apparently a clean that is started off the dock - like when you take the robot to another room or floor and start it from there.. I get 'clean' with automatic, single & double passes.

Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts

Posted on
Sun Dec 04, 2016 3:33 pm
FlyingDiver offline
User avatar
Posts: 7190
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Roomba Plugin - beta tests

Interesting in an abstract kind of way. :)

Any thoughts on constructing a useful device status?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Dec 04, 2016 3:44 pm
Bollar offline
Posts: 528
Joined: Aug 11, 2013

Re: Roomba Plugin - beta tests

FlyingDiver wrote:
Any thoughts on constructing a useful device status?

Without making it too complex, I think I'd be happy with a 1/0 state:

A green one (1) that indicates the current phase (run, charging, etc.) and a red one (0) with a not ready or error.

Yes, the other stuff is interesting to me, especially battery % and maybe pause time remaining, but I don't know if it really has to be in the main Device State.

Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts

Posted on
Sun Dec 04, 2016 5:23 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Roomba Plugin - beta tests

Thanks for the work in this. (Already have it added to control page)

From a control page image point of view - would be nice to distinguish whether running, or in-dock. ( regardless of charging or otherwise)

Glenn

Posted on
Sun Dec 04, 2016 5:29 pm
FlyingDiver offline
User avatar
Posts: 7190
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Roomba Plugin - beta tests

GlennNZ wrote:
Thanks for the work in this. (Already have it added to control page)

From a control page image point of view - would be nice to distinguish whether running, or in-dock. ( regardless of charging or otherwise)

Glenn


I'm playing around with the device state indicators now. Should have something better in a day or two.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Dec 29, 2016 8:38 pm
JaceJenkins offline
Posts: 51
Joined: Oct 16, 2015

Re: Roomba Plugin - beta tests

First off, Thanks to both for the Fantastic work.
Code: Select all


I can get v0.02 working fine, but its missing all your great updates that are in v0.03 and v0.04. However if I run v.0.04 I get all sorts of errors.

- I have tried upgrading a working v0.02 to v0.04. After upgrade I tried to:
- edit and existing roomba device then saving
- deleting and readding the roomba device
- i have tried a clean install of v0.04 with a new roomba device setup from scratch

On Install:

Code: Select all
   
Installing and enabling plugin Roomba v0.0.4
   Loading plugin "Roomba 0.0.4"
   Starting plugin "Roomba 0.0.4" (pid 29947)
   Started plugin "Roomba 0.0.4"
   Roomba                          Starting Roomba
   Error                           device "Roomba 980" state key blid not defined (ignoring update request)
   Error                           device "Roomba 980" state key umi not defined (ignoring update request)
   Error                           device "Roomba 980" state key pid not defined (ignoring update request)
   Error                           device "Roomba 980" state key sw not defined (ignoring update request)
   Error                           device "Roomba 980" state key cfg not defined (ignoring update request)
   Error                           device "Roomba 980" state key boot not defined (ignoring update request)
   Error                           device "Roomba 980" state key main not defined (ignoring update request)
   Error                           device "Roomba 980" state key wifi not defined (ignoring update request)
   Error                           device "Roomba 980" state key nav not defined (ignoring update request)
   Error                           device "Roomba 980" state key ui not defined (ignoring update request)
   Error                           device "Roomba 980" state key audio not defined (ignoring update request)
   Error                           device "Roomba 980" state key bat not defined (ignoring update request)
   Error                           device "Roomba 980" state key NotReadyText not defined (ignoring update request)
   Roomba Error                    exception in deviceStartComm(Test): 'key blid not found in dict'
   Roomba                          Checking for updates...
   Roomba                          No updates are available
   Error                           device "Roomba 980" state key blid not defined (ignoring update request)
   Error                           device "Roomba 980" state key umi not defined (ignoring update request)
   Error                           device "Roomba 980" state key pid not defined (ignoring update request)
   Error                           device "Roomba 980" state key sw not defined (ignoring update request)
   Error                           device "Roomba 980" state key cfg not defined (ignoring update request)
   Error                           device "Roomba 980" state key boot not defined (ignoring update request)
   Error                           device "Roomba 980" state key main not defined (ignoring update request)
   Error                           device "Roomba 980" state key wifi not defined (ignoring update request)
   Error                           device "Roomba 980" state key nav not defined (ignoring update request)
   Error                           device "Roomba 980" state key ui not defined (ignoring update request)
   Error                           device "Roomba 980" state key audio not defined (ignoring update request)
   Error                           device "Roomba 980" state key bat not defined (ignoring update request)
   Error                           device "Roomba 980" state key NotReadyText not defined (ignoring update request)
   Roomba Error                    Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 94, in runConcurrentThread
  File "plugin.py", line 461, in checkAllRoombas
  File "plugin.py", line 358, in getRoombaStatus
KeyError: 'key blid not found in dict'

   Roomba Error                    plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)



When Adding a New Roomba

Code: Select all
   Roomba Error                    getRoombaInfo: Roomba Password not valid.
   Roomba Error                    Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1175, in deviceUpdated
  File "plugin.py", line 120, in deviceStartComm
  File "plugin.py", line 358, in getRoombaStatus
KeyError: key blid not found in dict

   Roomba Error                    getRoombaInfo: Roomba Password not valid.
   Roomba Error                    Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1175, in deviceUpdated
  File "plugin.py", line 120, in deviceStartComm
  File "plugin.py", line 358, in getRoombaStatus
KeyError: key blid not found in dict


After I do the "Get Password" Process on the new roomba I just added

Code: Select all

Roomba Error                    Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1175, in deviceUpdated
  File "plugin.py", line 120, in deviceStartComm
  File "plugin.py", line 358, in getRoombaStatus
KeyError: key blid not found in dict



Ill post more errors as I find them

Posted on
Thu Dec 29, 2016 8:43 pm
JaceJenkins offline
Posts: 51
Joined: Oct 16, 2015

Re: Roomba Plugin - beta tests

Here is an Error I get when I tell the Roomba to clean via Indigo: (it does start and stop btw, i can tell the roomba to do things, I just get all these errors)

Code: Select all
   Action Group                    Roomba Start
   Roomba Error                    Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 467, in startRoombaAction
  File "plugin.py", line 510, in tellRoomba
  File "plugin.py", line 358, in getRoombaStatus
KeyError: key blid not found in dict


And here is a re-occuring error on the event log

Code: Select all
Traceback (most recent call last):
  File "plugin.py", line 94, in runConcurrentThread
  File "plugin.py", line 461, in checkAllRoombas
  File "plugin.py", line 358, in getRoombaStatus
KeyError: 'key blid not found in dict'

   Roomba Error                    plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Posted on
Fri Dec 30, 2016 7:05 am
FlyingDiver offline
User avatar
Posts: 7190
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Roomba Plugin - beta tests

I found the bug causing the 'key blid not found in dict' error messages. I'll have an updated version later today.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Dec 30, 2016 7:40 am
JaceJenkins offline
Posts: 51
Joined: Oct 16, 2015

Re: Roomba Plugin - beta tests

You Rock!

Posted on
Fri Dec 30, 2016 9:35 am
FlyingDiver offline
User avatar
Posts: 7190
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Roomba Plugin - beta tests

v0.0.5 available now. The reported error is fixed. Also, this version moves the "Get Password" processing to the Edit Device dialog, so the menu command to do this has been removed.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Who is online

Users browsing this forum: No registered users and 0 guests