Skip to content

Unable to get BLID and password on j7 #81

@mpreissner

Description

@mpreissner

Following all instructions, get the following when using the getrobotpwd:

events.js:352
throw er; // Unhandled 'error' event
^

Error: Client network socket disconnected before secure TLS connection was established
at connResetException (internal/errors.js:628:14)
at TLSSocket.onConnectEnd (_tls_wrap.js:1561:19)
at TLSSocket.emit (events.js:387:35)
at endReadableNT (internal/streams/readable.js:1317:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
Emitted 'error' event on TLSSocket instance at:
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
code: 'ECONNRESET',
path: undefined,
host: '10.100.10.17',
port: 8883,
localAddress: undefined
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] getrobotpwd: cd node_modules/dorita980 && npm install && node ./bin/getpassword.js "10.100.10.17"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] getrobotpwd script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-10-14T16_10_01_846Z-debug.log

I tried using the workaround described in #8, but that didn't work either. I've confirmed that none of my mobile devices are logged into the iRobot app, disabled the roomba2 plugin in hombridge, rebooted the roomba, still can't get it to work.

Using the workaround with the produces the following:

root@homebridge:~/Roomba980-Python/roomba# python3 getpassword.py
2021-10-14 09:21:14 INFO [Roomba.Password] Using Password version 2.0a
2021-10-14 09:21:14 INFO [Roomba.Password] reading/writing info from config file ./config.ini
2021-10-14 09:21:14 INFO [Roomba.Password] waiting on port: 5678 for data
2021-10-14 09:21:14 INFO [Roomba.Password] Robot at IP: 10.100.10.17 Data: {
"ver": "4",
"hostname": "iRobot-1151264EEC834223B9F20FED66463386",
"robotname": "Roomba",
"robotid": "1151264EEC834223B9F20FED66463386",
"ip": "10.100.10.17",
"mac": "50:14:79:B1:E4:55",
"sw": "sapphire+1.0.17+Firmware-Production+52",
"sku": "j755020",
"nc": 0,
"proto": "mqtt",
"cap": {
"binFullDetect": 2,
"dockComm": 1,
"edge": 0,
"maps": 3,
"pmaps": 5,
"tLine": 2,
"area": 1,
"eco": 1,
"multiPass": 2,
"pose": 1,
"team": 1,
"pp": 0,
"lang": 2,
"5ghz": 1,
"prov": 3,
"sched": 1,
"svcConf": 1,
"ota": 2,
"log": 2,
"langOta": 0,
"expectingUserConf": 1
},
"cloudConnState": 10
}
2021-10-14 09:21:25 INFO [Roomba.Password] 0 robot(s) already defined in file./config.ini, found 1 robot(s) on network
2021-10-14 09:21:25 INFO [Roomba.Password] To add/update Your robot details,make sure your robot (Roomba) at IP 10.100.10.17 is on the Home Base and powered on (green lights on). Then press and hold the HOME button on your robot until it plays a series of tones (about 2 seconds). Release the button and your robot will flash WIFI light.
Press to continue...
s to skip configuring this robot:
2021-10-14 09:21:31 INFO [Roomba.Password] Roomba (Roomba) IP address is: 10.100.10.17
2021-10-14 09:21:31 DEBUG [Roomba.Password] Connection Successful
2021-10-14 09:21:31 DEBUG [Roomba.Password] Waiting for data
2021-10-14 09:21:41 ERROR [Roomba.Password] Connection Timeout Error (for 10.100.10.17): The read operation timed out
2021-10-14 09:21:41 ERROR [Roomba.Password] Unable to get password from roomba
2021-10-14 09:21:41 ERROR [Roomba.Password] Error getting password for robot Roomba at ip10.100.10.17, received 7 bytes. Follow the instructions and try again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportA support request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions