iRoomba iRobot Plugin

Posted on
Mon Jan 31, 2022 9:25 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

iRoomba iRobot Plugin

Short answer No.

It doesn’t seem to be reported via the info we receive received. As you know the app doesn’t always report the room all the time either. I’ll have a better look - but couldn’t find when first looked..

I wonder whether it calculates based on x / y values? But to do that would have to parse map which don’t have access to.


Glenn


Sent from my iPhone using Tapatalk
Last edited by GlennNZ on Tue Feb 01, 2022 1:24 am, edited 1 time in total.

Posted on
Mon Jan 31, 2022 10:19 pm
t-star offline
Posts: 114
Joined: Oct 26, 2007

Re: iRoomba iRobot Plugin

I was wondering if the app was doing it on the fly. As well. Thanks and thanks for the plug-in!!

Posted on
Sat Oct 29, 2022 7:14 pm
Mark offline
User avatar
Posts: 262
Joined: Apr 21, 2005
Location: California

Re: iRoomba iRobot Plugin

Hey Glenn! Hope you are doing well.

It looks like you've upgraded your Roomba plug-in to work with Indigo 2022.1. Thank you for that!!

I installed 2022.1 today, and I have the new Roomba version installed. I get this error:

Code: Select all
   iRobot-Roomba Error             ==================================================================================================================================
   iRobot-Roomba Error             Need to install module Mqtt for this plugin to work.  See Forum.
   iRobot-Roomba Error             ==================================================================================================================================
   iRobot-Roomba Error             Error Connect: ("'AttributeError' object is not subscriptable",)


I must have installed that module before, but I cannot for the life of me figure out how to install it again. Your instructions to use:

Code: Select all
<sudo> pip install paho-mqtt


in Terminal just return the Terminal error "No such file or directory."

And I'm still confused about where Indigo's Python 3 gets installed, and whether I need to install paho-mqtt within Python 3 or what. All very confusing.

Any help you can offer about what I'm doing wrong would be sooooooo appreciated!

Posted on
Sat Oct 29, 2022 7:22 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iRoomba iRobot Plugin

Hi

Sorry for hassle.

Any python3 'new' Indigo plugion will need its dependencies reinstalled - as per the error you have received.

But command should be

Code: Select all
pip3 install paho-mqtt


Note the pip3 (3=Python 3 install) ==

This bit - is also on the first page of this thread..... (but will update plugin messaging as well)

Or if using soon to be released version of Indigo 2022.1 and python 3 version of plugin 0.9.13+
pip3 install paho-mqtt


Let me know if doesn't fix! Thanks

Posted on
Sat Oct 29, 2022 9:21 pm
Mark offline
User avatar
Posts: 262
Joined: Apr 21, 2005
Location: California

Re: iRoomba iRobot Plugin

Fixed! Thank you for the quick response. I was looking through the read me and even on git hub. I didn't think to look at the first post of this thread. Duh, my bad. I'll test it more, but it's vacuumng my kitchen as I write, so... so far so good.

Posted on
Mon Oct 31, 2022 9:30 am
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

Re: iRoomba iRobot Plugin

I have no intention of enabling any cloud interaction between my robot vacuum and its new, privacy destroying company.

Should I anticipate any problems with this plugin because I have my Roomba blocked from the internet?

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Mon Oct 31, 2022 2:04 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

iRoomba iRobot Plugin

The plugin does not need internet and will work fine.

What it will not be able to do - is to download your rooms/smart map and use that as actions. eg. clean bedroom. This information is only stored on the cloud it would seem. The typical usage for this is to download this information once setup; once and only once. Once downloaded if unchanged - will continue to work without internet.

The other irobot account online usage is to download the local password for the iroomba. This greatly simplifies getting the password - but the local method still works just a bit fiddling timing of button pressing. Again once received - does not need any ongoing access what-so-ever.


Glenn


Sent from my iPad using Tapatalk

Posted on
Tue Nov 01, 2022 7:35 pm
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

Re: iRoomba iRobot Plugin

GlennNZ wrote:
The plugin does not need internet and will work fine.

What it will not be able to do - is to download your rooms/smart map and use that as actions. eg. clean bedroom. This information is only stored on the cloud it would seem. The typical usage for this is to download this information once setup; once and only once. Once downloaded if unchanged - will continue to work without internet.

The other irobot account online usage is to download the local password for the iroomba. This greatly simplifies getting the password - but the local method still works just a bit fiddling timing of button pressing. Again once received - does not need any ongoing access what-so-ever.


Glenn


Sent from my iPad using Tapatalk



Great! Exactly what I hoped for.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Wed Oct 04, 2023 10:44 am
hensed offline
Posts: 58
Joined: Feb 01, 2012
Location: Oakland, CA

Re: iRoomba iRobot Plugin

viewtopic.php?f=265&t=27454 post here too, just in case.

Posted on
Mon Jan 15, 2024 10:29 am
vintonc offline
Posts: 8
Joined: Mar 25, 2016

Re: iRoomba iRobot Plugin

I'm having an issue ading my Roomba i7+ to the plugin.I was able to get the local password but I haven't been able to get the cloud configuration to work. Maybe I'm missing something in the process. It wan't clear if you need to do both the local "Get Password" and the Cloud sections or just the cloud section for the i7. I tried both the with and without the forced SSL setting.

Here's the error from the log

Code: Select all
iRobot-Roomba                   File should equal:/Library/Application Support/Perceptive Automation/Indigo 2023.1/Preferences/Plugins/com.GlennNZ.indigoplugin.irobot/192.168.69.126-config.ini
   iRobot-Roomba                   Sending discovery to any iRoombas on network... Please wait...
   iRobot-Roomba                   Getting Roomba information from iRobot aws cloud...
   iRobot-Roomba Error             Caught Exception:'sessionInfo'
Traceback (most recent call last):
  File "plugin.py", line 709, in threadgetPassword
    result = password(self, address=roombaIP, file=filename, useCloud=useCloud, cloudLogin=cloudLogin, cloudPassword=cloudPassword, forceSSL=forceSSL)
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/iRobot-Roomba.indigoPlugin/Contents/Server Plugin/roomba.py", line 156, in __init__
    self.get_password(address)
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/iRobot-Roomba.indigoPlugin/Contents/Server Plugin/roomba.py", line 250, in get_password
    iRobot.login()
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/iRobot-Roomba.indigoPlugin/Contents/Server Plugin/getcloudpassword.py", line 128, in login
    "oauth_token": response['sessionInfo']['sessionToken'],
KeyError: 'sessionInfo'


I checked the git site and the plugin page but neither have the updated configuration menu. My i7 only gives a two note tone when holding down the home button and then the circle indicator is blue. It's in another room so it takes 10 seconds or so to get back to my Mac to click the "Get Password" button. Any suggestions to try next?
Attachments
Screenshot 2024-01-15 at 11.13.02 AM.png
Screenshot 2024-01-15 at 11.13.02 AM.png (287.19 KiB) Viewed 529 times

Posted on
Mon Jan 15, 2024 2:12 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iRoomba iRobot Plugin

Hi

The timing of pushing button is very tight. 10 seconds is probably to long - I do it via a ipad remoted into the indigo Mac.

But essentially the annoyance of local password getting which everyone finds (across a lot of implementations) is what lead to the icloud password.

My advice is just use that - typically what I do now when needed. Only need one or another not both.

Can get the password via icloud -it’s saved locally in file, and then if wish can remove password info from dialogues (is only used when button is pressed)

Glenn


Sent from my iPad using Tapatalk

Posted on
Mon Jan 15, 2024 5:42 pm
vintonc offline
Posts: 8
Joined: Mar 25, 2016

Re: iRoomba iRobot Plugin

I tried using a VNC client on my iphone but that didn't make any difference. I get the same error.

Code: Select all
   iRobot-Roomba                   Getting Roomba information from iRobot aws cloud...
   iRobot-Roomba Error             Caught Exception:'sessionInfo'
Traceback (most recent call last):
  File "plugin.py", line 709, in threadgetPassword
    result = password(self, address=roombaIP, file=filename, useCloud=useCloud, cloudLogin=cloudLogin, cloudPassword=cloudPassword, forceSSL=forceSSL)
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/iRobot-Roomba.indigoPlugin/Contents/Server Plugin/roomba.py", line 156, in __init__
    self.get_password(address)
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/iRobot-Roomba.indigoPlugin/Contents/Server Plugin/roomba.py", line 250, in get_password
    iRobot.login()
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/iRobot-Roomba.indigoPlugin/Contents/Server Plugin/getcloudpassword.py", line 128, in login
    "oauth_token": response['sessionInfo']['sessionToken'],
KeyError: 'sessionInfo'


I also noticed the plugin screen on my 0.9.20, from the plugin store, doesn't have all the fields as the one in the docs and forum pages. Is there something wrong with my install?
Attachments
Screenshot 2024-01-15 at 6.37.39 PM.png
Screenshot 2024-01-15 at 6.37.39 PM.png (387.63 KiB) Viewed 489 times

Posted on
Mon Jan 15, 2024 6:18 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iRoomba iRobot Plugin

Hi

What are you comparing to? would seem unlikely related, as you have installed 0.9.20 - which is latest version.

When use the Cloud get password - don't need to press any buttons on local iroomba. Checks iCloud for saved roombas - matches to iroomba you have selected and saves password for local use.

The getpassword using iroomba cloud is failing for some reason.
If you enable debug logging in plugin config might let us know why

Otherwise would check username, password is correct

Posted on
Tue Jan 16, 2024 9:53 am
vintonc offline
Posts: 8
Joined: Mar 25, 2016

Re: iRoomba iRobot Plugin

Should I put fill in the "Roomba Cloud Login" and "Roomba Cloud Password" or will both of those be filled by the "iRobot Cloud Settings -> Get Password" like the local Get Password?

This is an i7 Roomba. What I want to be able to do turn on lights when it starts up and turn them off when its done. I plan to use the iRobot app to set cleaning schedules. Is the cloud config necessary or appropriate for this model and task?

Here's the debug with both of those fields empty.

Code: Select all
Jan 16, 2024 at 10:35:40 AM
   iRobot-Roomba Debug             logLevel = 10
   iRobot-Roomba Debug             updateFrequency = 86400.0
   iRobot-Roomba Debug             Updating Master States....
   iRobot-Roomba Debug             updateMasterStates called.
   iRobot-Roomba Debug             saveMasterStateDevice called.  FromonMessage:False and currentstate:Charging
   iRobot-Roomba Debug             Writing Master State Device:103593257:{"state": {"reported": {"audio": {"volume": 100}, "batPct": 76, "batteryType": "F12432832R", "batInfo": {"mDate": "2018-6-12", "mName": "PanasonicEnergy", "mDaySerial": 24113, "mData": "303030333034303200000000000000000000000000", "mLife": "0C720B56107D09C34E8F001C04C0F41500C7FE5E2F11FFFF25138C3A00000000", "cCount": 170, "afCount": 0}, "batAuthEnable": null, "bbchg": {"nChatters": 12, "nKnockoffs": 2, "nLithF": 18, "nChgOk": 173, "aborts": [0, 10, 6], "chgErr": [0, 0, 0, 0, 0], "smberr": 8, "nChgErr": 0}, "bbchg3": {"estCap": 1610, "nAvail": 730, "hOnDock": 43122, "avgMin": 41}, "bbmssn": {"aCycleM": 56, "nMssnF": 25, "nMssnC": 14, "nMssnOk": 169, "aMssnM": 145, "nMssn": 210}, "bbnav": {"aMtrack": 68, "nGoodLmrks": 16, "aGain": 10, "aExpo": 37}, "bbpause": {"pauses": [46, 18, 46, 46, 2, 46, 46, 2, 46, 46]}, "bbrstinfo": {"nNavRst": 257, "nOomRst": 1, "nMapLoadRst": 0, "nMobRst": 176, "nSafRst": 0, "safCauses": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}, "bbrun": {"nCBump": 0, "nMBStll": 1097, "nPanics": 778, "nOvertemps": 0, "nPicks": 477, "nOpticalDD": 232, "nPiezoDD": 127, "nWStll": 3, "nScrubs": 539, "nEvacs": 324, "nStuck": 1548, "nCliffsF": 8537, "nCliffsR": 0}, "bbswitch": {"nBumper": 228693, "nDrops": 1328, "nDock": 43, "nSpot": 23, "nClean": 49}, "bbsys": {"min": 37, "hr": 36895}, "behaviorFwk": null, "bin": {"present": true, "full": false, "type": "std"}, "binPause": true, "binTypeDetect": 0, "bleDevLoc": true, "cap": {"binFullDetect": 2, "addOnHw": 1, "oMode": 2, "dockComm": 1, "wDevLoc": 2, "bleDevLoc": 1, "maps": 3, "pmaps": 10, "mc": 2, "tLine": 2, "area": 1, "eco": 1, "multiPass": 2, "edge": 0, "pp": 0, "team": 1, "pose": 2, "lang": 2, "5ghz": 1, "prov": 3, "sched": 2, "svcConf": 1, "ota": 2, "log": 2, "langOta": 0, "ns": 1, "tileScan": 1}, "carpetBoost": false, "childLock": false, "chrgLrPtrn": 0, "cleanMissionStatus": {"cycle": "none", "phase": "charge", "expireM": 0, "rechrgM": 0, "error": 0, "notReady": 0, "condNotReady": [], "mssnM": 0, "expireTm": 0, "rechrgTm": 0, "mssnStrtTm": 1705417190, "operatingMode": 0, "initiator": "schedule", "nMssn": 210, "missionId": "01HM9CJAKGHQAAFNS84A1BSS60"}, "cleanSchedule2": [{"enabled": true, "type": 0, "start": {"day": [1, 2, 3, 4, 5], "hour": 10, "min": 0}, "cmdStr": "{'command': 'start', 'ordered': 1, 'pmap_id': 'yRca4mQ3SfeTH07Ysijd-Q', 'regions': [{'params': {'noAutoPasses': true, 'twoPass': true}, 'region_id': '24', 'type': 'rid'}], 'user_pmapv_id': '231208T161139', 'time': 1705417200, 'initiator': 'schedule'}"}, {"enabled": true, "type": 0, "start": {"day": [6], "hour": 12, "min": 0}, "cmdStr": "{'command': 'start', 'ordered': 1, 'pmap_id': 'yRca4mQ3SfeTH07Ysijd-Q', 'regions': [{'params': {'noAutoPasses': true, 'twoPass': false}, 'region_id': '6', 'type': 'rid'}, {'params': {'noAutoPasses': true, 'twoPass': false}, 'region_id': '19', 'type': 'rid'}, {'params': {'noAutoPasses': true, 'twoPass': false}, 'region_id': '23', 'type': 'rid'}, {'params': {'noAutoPasses': true, 'twoPass': false}, 'region_id': '24', 'type': 'rid'}, {'params': {'noAutoPasses': true, 'twoPass': false}, 'region_id': '1', 'type': 'rid'}], 'user_pmapv_id': '231208T161139'}"}], "cloudEnv": "prod", "connected": true, "country": "US", "deploymentState": 0, "dock": {"known": true, "pn": "4604317", "state": 301, "id": "752116421501042103573711614920884116107", "fwVer": "4.8.8", "hwRev": 255, "varID": 0}, "evacAllowed": true, "ecoCharge": false, "featureFlags": {"pmapSharing": 0, "reachableSpaceFlags": 0, "wallE": 0, "stratParams": 0, "childLockEnable": 1, "covHybridPlan": 0, "rugTraversal": 1, "trainingStrategy": 201, "covPlan": 0, "mapCleanup": 0, "chrgLrPtrnEnable": 1, "clearHaz": true}, "hwPartsRev": {"mobBrd": 6, "mobBlid": "14B5BD0A748CBDB24A52C9AB339752B4", "imuPartNo": "BMI055", "lrDrv": "STP16", "navSerialNo": "CF087551D", "wlan0HwAddr": "50:14:79:0f:2d:b0", "NavBrd": 0}, "hwDbgr": null, "langs2": {"sVer": "1.0", "dLangs": {"ver": "0.37", "langs": ["ar-SA_1", "ar-SA_2", "cs-CZ_1", "cs-CZ_2", "da-DK_1", "da-DK_2", "de-DE_1", "de-DE_2", "en-GB_1", "en-GB_2", "en-US_1", "en-US_2", "es-ES_1", "es-ES_2", "es-XL_1", "es-XL_2", "fi-FI_1", "fi-FI_2", "fr-CA_1", "fr-CA_2", "fr-FR_1", "fr-FR_2", "he-IL_1", "he-IL_2", "it-IT_1", "it-IT_2", "ja-JP_1", "ja-JP_2", "ko-KR_1", "ko-KR_2", "nb-NO_1", "nb-NO_2", "nl-NL_1", "nl-NL_2", "pl-PL_1", "pl-PL_2", "pt-BR_1", "pt-BR_2", "pt-PT_1", "pt-PT_2", "ru-RU_1", "ru-RU_2", "sv-SE_1", "sv-SE_2", "tr-TR_1", "tr-TR_2", "zh-CN_1", "zh-CN_2", "zh-HK_1", "zh-HK_2", "zh-TW_1", "zh-TW_2"]}, "sLang": "en-US_1", "aSlots": 0}, "lastCommand": {"command": "start", "initiator": "schedule", "time": 1705417200, "ordered": 1, "pmap_id": "yRca4mQ3SfeTH07Ysijd-Q", "regions": [{"params": {"noAutoPasses": true, "twoPass": true}, "region_id": "24", "type": "rid"}], "user_pmapv_id": "231208T161139"}, "lastDisconnect": 4, "mapUploadAllowed": true, "missionTelemetry": {"aux_comms": 1, "bat_stats": 1, "behaviors_report": 1, "camera_settings": 1, "coverage_report": 1, "learned_policy_report": 1, "map_hypotheses": 1, "map_load": 1, "map_save": 1, "pmap_navigability": 1, "roomseg_report": 1, "sensor_stats": 1, "tumor_classifier_report": 1, "visual_stasis_report": 1, "vital_stats": 1, "vslam_report": 1}, "mssnNavStats": {"nMssn": 210, "missionId": "01HM9CJAKGHQAAFNS84A1BSS60", "gLmk": 16, "lmk": 7, "reLc": 2, "plnErr": "none", "mTrk": 68, "kdp": 0, "sfkdp": 0, "nmc": 2, "nmmc": 1, "nrmc": 0, "mpSt": "idle", "l_drift": 0, "h_drift": 0, "l_squal": 86, "h_squal": 0}, "name": "Amee", "noAutoPasses": false, "openOnly": false, "optFeats": {"pmaps": null}, "pmapLearningAllowed": true, "pmaps": [{"YAPKDTlnQd23CxGdRuNGjg": "181015T224418"}, {"yRca4mQ3SfeTH07Ysijd-Q": "231208T161139"}], "pmapCL": true, "pmapSGen": 4, "pmapShare": {"copy": [1, 2, 4, 6], "share": null}, "rankOverlap": 15, "reflexSettings": {"rlWheelDrop": {"enabled": 6}}, "runtimeStats": {"min": 39, "sqft": 382, "hr": 159}, "sceneRecog": null, "schedHold": false, "secureBoot": {"log": 2, "flip": 0, "sbl1Ver": "B2.5.04_PPUB", "stublVer": "B3.2.03_PPUB", "efuse": 1, "blType": 1, "enforce": 2, "lastRst": "200000001", "recov": "linux+5.2.0+Firmware-Build+3870", "idSwitch": 0, "permReq": 0, "perm": "none"}, "sku": "i755020", "softwareVer": "lewis+22.52.10+2023-10-03-e032ab4903c+Firmware-Build+4820", "subModSwVer": {"nav": "lewis-nav+22.52.10+ubuntu-HEAD-e032ab4903c+4820", "mob": "22.52.10+ubuntu-HEAD-e032ab4903c+4820", "pwr": "0.6.1+ubuntu-HEAD-e032ab4903c+4820", "sft": "1.4.0+ubuntu-HEAD-9a9a5d0c891+36", "mobBtl": "4.0", "linux": "linux+5.2.0+Firmware-Build+4820", "con": "3.14.14-tags/release-3.14.14@37d7d5a8/ubuntu(*)"}, "svcEndpoints": {"svcDeplId": "v005"}, "timezone": "America/New_York", "tls": {"tzbChk": 1, "privKType": 1, "lcCiphers": [0, 0, 0, 0, 0, 0, 0, 0, 0, 50380848]}, "twoPass": false, "tz": {"events": [{"dt": 1704110400, "off": -300}, {"dt": 1710054001, "off": -240}, {"dt": 1730613601, "off": -300}], "ver": 21}, "vacHigh": false, "wDevLoc": true}}}
   iRobot-Roomba Debug             Errorcode and notReady:0
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:3
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:3
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:3
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:3
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:3
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:3
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:3
   iRobot-Roomba Debug             getRoombaPassword called: 103593257
   iRobot-Roomba Debug             validatePrefsConfigUi called
   iRobot-Roomba Debug             Thread:Get Password called. & Number of Active Threads:4
   iRobot-Roomba                   File should equal:/Library/Application Support/Perceptive Automation/Indigo 2023.1/Preferences/Plugins/com.GlennNZ.indigoplugin.irobot/192.168.69.126-config.ini
   iRobot-Roomba                   Sending discovery to any iRoombas on network... Please wait...
   iRobot-Roomba Debug             waiting on port: 5678 for data
   iRobot-Roomba Debug             Robot at IP: 192.168.69.126 Data: {
  "ver": "3",
  "hostname": "iRobot-2F3B6340D46F4F86BD3F0CC0D491D1E0",
  "robotname": "Amee",
  "robotid": "2F3B6340D46F4F86BD3F0CC0D491D1E0",
  "ip": "192.168.69.126",
  "mac": "50:14:79:0F:2D:B0",
  "sw": "lewis+22.52.10+2023-10-03-e032ab4903c+Firmware-Build+4820",
  "sku": "i755020",
  "nc": 1,
  "proto": "mqtt",
  "cap": {
    "binFullDetect": 2,
    "addOnHw": 1,
    "oMode": 2,
    "dockComm": 1,
    "wDevLoc": 2,
    "bleDevLoc": 1,
    "maps": 3,
    "pmaps": 10,
    "mc": 2,
    "tLine": 2,
    "area": 1,
    "eco": 1,
    "multiPass": 2,
    "edge": 0,
    "pp": 0,
    "team": 1,
    "pose": 2,
    "lang": 2,
    "5ghz": 1,
    "prov": 3,
    "sched": 2,
    "svcConf": 1,
    "ota": 2,
    "log": 2,
    "langOta": 0,
    "ns": 1,
    "tileScan": 1
  }
}
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:4
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:4
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:4
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:4
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:4
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:4
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:4
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:4
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:4
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:4
   iRobot-Roomba Debug             Looking for Roomba with IP Address:192.168.69.126
   iRobot-Roomba                   Getting Roomba information from iRobot aws cloud...
   iRobot-Roomba Debug             {'callId': 'ff8a39cf78d3443a88d42f207d929a31', 'errorCode': 400002, 'errorDetails': 'Missing required parameter: password', 'errorMessage': 'Missing required parameter', 'apiVersion': 2, 'statusCode': 400, 'statusReason': 'Bad Request', 'time': '2024-01-16T15:36:07.295Z'}
   iRobot-Roomba Error             Caught Exception:'sessionInfo'
Traceback (most recent call last):
  File "plugin.py", line 709, in threadgetPassword
    result = password(self, address=roombaIP, file=filename, useCloud=useCloud, cloudLogin=cloudLogin, cloudPassword=cloudPassword, forceSSL=forceSSL)
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/iRobot-Roomba.indigoPlugin/Contents/Server Plugin/roomba.py", line 156, in __init__
    self.get_password(address)
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/iRobot-Roomba.indigoPlugin/Contents/Server Plugin/roomba.py", line 250, in get_password
    iRobot.login()
  File "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Plugins/iRobot-Roomba.indigoPlugin/Contents/Server Plugin/getcloudpassword.py", line 128, in login
    "oauth_token": response['sessionInfo']['sessionToken'],
KeyError: 'sessionInfo'
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:3
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:3
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:3
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:3
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:3
   iRobot-Roomba Debug             prefsRefreshCallback called
   iRobot-Roomba Debug             Checking Number of Active Threads:3
   iRobot-Roomba Debug             on_message: msg.topic:$aws/things/2F3B6340D46F4F86BD3F0CC0D491D1E0/shadow/update msg.qos:0 payload:b'{"state":{"reported":{"batPct":90}}}'
   iRobot-Roomba Debug             check on_message called by on_message iroomba function: For Device:192.168.69.126
   iRobot-Roomba Debug             Found Device: 192.168.69.126 Matching device IP192.168.69.126
   iRobot-Roomba Debug             saveMasterStateDevice called.  FromonMessage:True and currentstate:Charging
   iRobot-Roomba Debug             Writing Master State Device:103593257:{"state": {"reported": {"audio": {"volume": 100}, "batPct": 90, "batteryType": "F12432832R", "batInfo": {"mDate": "2018-6-12", "mName": "PanasonicEnergy", "mDaySerial": 24113, "mData": "303030333034303200000000000000000000000000", "mLife": "0C720B56107D09C34E8F001C04C0F41500C7FE5E2F11FFFF25138C3A00000000", "cCount": 170, "afCount": 0}, "batAuthEnable": null, "bbchg": {"nChatters": 12, "nKnockoffs": 2, "nLithF": 18, "nChgOk": 173, "aborts": [0, 10, 6], "chgErr": [0, 0, 0, 0, 0], "smberr": 8, "nChgErr": 0}, "bbchg3": {"estCap": 1610, "nAvail": 730, "hOnDock": 43122, "avgMin": 41}, "bbmssn": {"aCycleM": 56, "nMssnF": 25, "nMssnC": 14, "nMssnOk": 169, "aMssnM": 145, "nMssn": 210}, "bbnav": {"aMtrack": 68, "nGoodLmrks": 16, "aGain": 10, "aExpo": 37}, "bbpause": {"pauses": [46, 18, 46, 46, 2, 46, 46, 2, 46, 46]}, "bbrstinfo": {"nNavRst": 257, "nOomRst": 1, "nMapLoadRst": 0, "nMobRst": 176, "nSafRst": 0, "safCauses": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}, "bbrun": {"nCBump": 0, "nMBStll": 1097, "nPanics": 778, "nOvertemps": 0, "nPicks": 477, "nOpticalDD": 232, "nPiezoDD": 127, "nWStll": 3, "nScrubs": 539, "nEvacs": 324, "nStuck": 1548, "nCliffsF": 8537, "nCliffsR": 0}, "bbswitch": {"nBumper": 228693, "nDrops": 1328, "nDock": 43, "nSpot": 23, "nClean": 49}, "bbsys": {"min": 37, "hr": 36895}, "behaviorFwk": null, "bin": {"present": true, "full": false, "type": "std"}, "binPause": true, "binTypeDetect": 0, "bleDevLoc": true, "cap": {"binFullDetect": 2, "addOnHw": 1, "oMode": 2, "dockComm": 1, "wDevLoc": 2, "bleDevLoc": 1, "maps": 3, "pmaps": 10, "mc": 2, "tLine": 2, "area": 1, "eco": 1, "multiPass": 2, "edge": 0, "pp": 0, "team": 1, "pose": 2, "lang": 2, "5ghz": 1, "prov": 3, "sched": 2, "svcConf": 1, "ota": 2, "log": 2, "langOta": 0, "ns": 1, "tileScan": 1}, "carpetBoost": false, "childLock": false, "chrgLrPtrn": 0, "cleanMissionStatus": {"cycle": "none", "phase": "charge", "expireM": 0, "rechrgM": 0, "error": 0, "notReady": 0, "condNotReady": [], "mssnM": 0, "expireTm": 0, "rechrgTm": 0, "mssnStrtTm": 1705417190, "operatingMode": 0, "initiator": "schedule", "nMssn": 210, "missionId": "01HM9CJAKGHQAAFNS84A1BSS60"}, "cleanSchedule2": [{"enabled": true, "type": 0, "start": {"day": [1, 2, 3, 4, 5], "hour": 10, "min": 0}, "cmdStr": "{'command': 'start', 'ordered': 1, 'pmap_id': 'yRca4mQ3SfeTH07Ysijd-Q', 'regions': [{'params': {'noAutoPasses': true, 'twoPass': true}, 'region_id': '24', 'type': 'rid'}], 'user_pmapv_id': '231208T161139', 'time': 1705417200, 'initiator': 'schedule'}"}, {"enabled": true, "type": 0, "start": {"day": [6], "hour": 12, "min": 0}, "cmdStr": "{'command': 'start', 'ordered': 1, 'pmap_id': 'yRca4mQ3SfeTH07Ysijd-Q', 'regions': [{'params': {'noAutoPasses': true, 'twoPass': false}, 'region_id': '6', 'type': 'rid'}, {'params': {'noAutoPasses': true, 'twoPass': false}, 'region_id': '19', 'type': 'rid'}, {'params': {'noAutoPasses': true, 'twoPass': false}, 'region_id': '23', 'type': 'rid'}, {'params': {'noAutoPasses': true, 'twoPass': false}, 'region_id': '24', 'type': 'rid'}, {'params': {'noAutoPasses': true, 'twoPass': false}, 'region_id': '1', 'type': 'rid'}], 'user_pmapv_id': '231208T161139'}"}], "cloudEnv": "prod", "connected": true, "country": "US", "deploymentState": 0, "dock": {"known": true, "pn": "4604317", "state": 301, "id": "752116421501042103573711614920884116107", "fwVer": "4.8.8", "hwRev": 255, "varID": 0}, "evacAllowed": true, "ecoCharge": false, "featureFlags": {"pmapSharing": 0, "reachableSpaceFlags": 0, "wallE": 0, "stratParams": 0, "childLockEnable": 1, "covHybridPlan": 0, "rugTraversal": 1, "trainingStrategy": 201, "covPlan": 0, "mapCleanup": 0, "chrgLrPtrnEnable": 1, "clearHaz": true}, "hwPartsRev": {"mobBrd": 6, "mobBlid": "14B5BD0A748CBDB24A52C9AB339752B4", "imuPartNo": "BMI055", "lrDrv": "STP16", "navSerialNo": "CF087551D", "wlan0HwAddr": "50:14:79:0f:2d:b0", "NavBrd": 0}, "hwDbgr": null, "langs2": {"sVer": "1.0", "dLangs": {"ver": "0.37", "langs": ["ar-SA_1", "ar-SA_2", "cs-CZ_1", "cs-CZ_2", "da-DK_1", "da-DK_2", "de-DE_1", "de-DE_2", "en-GB_1", "en-GB_2", "en-US_1", "en-US_2", "es-ES_1", "es-ES_2", "es-XL_1", "es-XL_2", "fi-FI_1", "fi-FI_2", "fr-CA_1", "fr-CA_2", "fr-FR_1", "fr-FR_2", "he-IL_1", "he-IL_2", "it-IT_1", "it-IT_2", "ja-JP_1", "ja-JP_2", "ko-KR_1", "ko-KR_2", "nb-NO_1", "nb-NO_2", "nl-NL_1", "nl-NL_2", "pl-PL_1", "pl-PL_2", "pt-BR_1", "pt-BR_2", "pt-PT_1", "pt-PT_2", "ru-RU_1", "ru-RU_2", "sv-SE_1", "sv-SE_2", "tr-TR_1", "tr-TR_2", "zh-CN_1", "zh-CN_2", "zh-HK_1", "zh-HK_2", "zh-TW_1", "zh-TW_2"]}, "sLang": "en-US_1", "aSlots": 0}, "lastCommand": {"command": "start", "initiator": "schedule", "time": 1705417200, "ordered": 1, "pmap_id": "yRca4mQ3SfeTH07Ysijd-Q", "regions": [{"params": {"noAutoPasses": true, "twoPass": true}, "region_id": "24", "type": "rid"}], "user_pmapv_id": "231208T161139"}, "lastDisconnect": 4, "mapUploadAllowed": true, "missionTelemetry": {"aux_comms": 1, "bat_stats": 1, "behaviors_report": 1, "camera_settings": 1, "coverage_report": 1, "learned_policy_report": 1, "map_hypotheses": 1, "map_load": 1, "map_save": 1, "pmap_navigability": 1, "roomseg_report": 1, "sensor_stats": 1, "tumor_classifier_report": 1, "visual_stasis_report": 1, "vital_stats": 1, "vslam_report": 1}, "mssnNavStats": {"nMssn": 210, "missionId": "01HM9CJAKGHQAAFNS84A1BSS60", "gLmk": 16, "lmk": 7, "reLc": 2, "plnErr": "none", "mTrk": 68, "kdp": 0, "sfkdp": 0, "nmc": 2, "nmmc": 1, "nrmc": 0, "mpSt": "idle", "l_drift": 0, "h_drift": 0, "l_squal": 86, "h_squal": 0}, "name": "Amee", "noAutoPasses": false, "openOnly": false, "optFeats": {"pmaps": null}, "pmapLearningAllowed": true, "pmaps": [{"YAPKDTlnQd23CxGdRuNGjg": "181015T224418"}, {"yRca4mQ3SfeTH07Ysijd-Q": "231208T161139"}], "pmapCL": true, "pmapSGen": 4, "pmapShare": {"copy": [1, 2, 4, 6], "share": null}, "rankOverlap": 15, "reflexSettings": {"rlWheelDrop": {"enabled": 6}}, "runtimeStats": {"min": 39, "sqft": 382, "hr": 159}, "sceneRecog": null, "schedHold": false, "secureBoot": {"log": 2, "flip": 0, "sbl1Ver": "B2.5.04_PPUB", "stublVer": "B3.2.03_PPUB", "efuse": 1, "blType": 1, "enforce": 2, "lastRst": "200000001", "recov": "linux+5.2.0+Firmware-Build+3870", "idSwitch": 0, "permReq": 0, "perm": "none"}, "sku": "i755020", "softwareVer": "lewis+22.52.10+2023-10-03-e032ab4903c+Firmware-Build+4820", "subModSwVer": {"nav": "lewis-nav+22.52.10+ubuntu-HEAD-e032ab4903c+4820", "mob": "22.52.10+ubuntu-HEAD-e032ab4903c+4820", "pwr": "0.6.1+ubuntu-HEAD-e032ab4903c+4820", "sft": "1.4.0+ubuntu-HEAD-9a9a5d0c891+36", "mobBtl": "4.0", "linux": "linux+5.2.0+Firmware-Build+4820", "con": "3.14.14-tags/release-3.14.14@37d7d5a8/ubuntu(*)"}, "svcEndpoints": {"svcDeplId": "v005"}, "timezone": "America/New_York", "tls": {"tzbChk": 1, "privKType": 1, "lcCiphers": [0, 0, 0, 0, 0, 0, 0, 0, 0, 50380848]}, "twoPass": false, "tz": {"events": [{"dt": 1704110400, "off": -300}, {"dt": 1710054001, "off": -240}, {"dt": 1730613601, "off": -300}], "ver": 21}, "vacHigh": false, "wDevLoc": true}}}
   iRobot-Roomba Debug             Errorcode and notReady:0
   iRobot-Roomba Debug             Publishing master_state Amee
   iRobot-Roomba Debug             closedDeviceConfigUi(self, valuesDict, userCancelled, typeId, devId):
   iRobot-Roomba Debug                  (UiValuesDict : (dict)
     AllowOnStateChange : true (bool)
     AllowSensorValueChange : false (bool)
     SupportsOnState : true (bool)
     SupportsSensorValue : true (bool)
     SupportsStatusRequest : false (bool)
     address : 192.168.69.126 (string)
     cloudLogin :  (string)
     cloudPassword :  (string)
     forceSSL : true (bool)
     password : OK.  Using Saved Config File. (string)
     refreshCallbackMethod : refreshThreadData (string)
     roombaName : Amee (string)
     useCloud : true (bool), True, roombaDevice, 103593257)
   iRobot-Roomba Debug             validatePrefsConfigUi called

Posted on
Tue Jan 16, 2024 9:56 am
vintonc offline
Posts: 8
Joined: Mar 25, 2016

Re: iRoomba iRobot Plugin

Regard the menu being different

Here is the one from the plugin page and what I think is the same page on mine that is missing a couple config fields

How do I change the devices update frequency or did you decide that is not necessary and removed it?
Attachments
Screenshot 2024-01-15 at 6.37.39 PM.png
Screenshot 2024-01-15 at 6.37.39 PM.png (387.63 KiB) Viewed 409 times
iRobot Plugin-Config .png
iRobot Plugin-Config .png (78.71 KiB) Viewed 409 times

Who is online

Users browsing this forum: No registered users and 1 guest