Roomba Plugin - Discontinued

Bollar
Posts: 528
Joined: Sun Aug 11, 2013 3:14 pm

Re: Roomba Plugin - beta tests

Post by Bollar »

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
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Roomba Plugin - beta tests

Post by FlyingDiver »

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
Bollar
Posts: 528
Joined: Sun Aug 11, 2013 3:14 pm

Re: Roomba Plugin - beta tests

Post by Bollar »

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
Bollar
Posts: 528
Joined: Sun Aug 11, 2013 3:14 pm

Re: Roomba Plugin - beta tests

Post by Bollar »

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
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Roomba Plugin - beta tests

Post by FlyingDiver »

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
Bollar
Posts: 528
Joined: Sun Aug 11, 2013 3:14 pm

Re: Roomba Plugin - beta tests

Post by Bollar »

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
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Roomba Plugin - beta tests

Post by FlyingDiver »

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
Bollar
Posts: 528
Joined: Sun Aug 11, 2013 3:14 pm

Re: Roomba Plugin - beta tests

Post by Bollar »

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
User avatar
GlennNZ
Posts: 1872
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

Re: Roomba Plugin - beta tests

Post by GlennNZ »

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
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Roomba Plugin - beta tests

Post by FlyingDiver »

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
JaceJenkins
Posts: 59
Joined: Fri Oct 16, 2015 6:41 am

Re: Roomba Plugin - beta tests

Post by JaceJenkins »

First off, Thanks to both for the Fantastic work. 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
JaceJenkins
Posts: 59
Joined: Fri Oct 16, 2015 6:41 am

Re: Roomba Plugin - beta tests

Post by JaceJenkins »

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)
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Roomba Plugin - beta tests

Post by FlyingDiver »

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
JaceJenkins
Posts: 59
Joined: Fri Oct 16, 2015 6:41 am

Re: Roomba Plugin - beta tests

Post by JaceJenkins »

You Rock!
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Roomba Plugin - beta tests

Post by FlyingDiver »

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
Locked

Return to “Discontinued Plugins”