koalazak / dorita980

Unofficial iRobot Roomba and Braava (i7/i7+, 980, 960, 900, e5, 690, 675, m6, etc) node.js library (SDK) to control your robot
MIT License
961 stars 149 forks source link

New firmware 3.3.43-73 #90

Closed MarkyMarc35 closed 5 years ago

MarkyMarc35 commented 5 years ago

Hi, I just got my roomba (671 wifi) and it has firmeware 3.3.43-73. When i run the app to get the password, i don't get any data back and only a connection error is displayed. The roomba is turn on and it did make a sound when i pressed the home button for a few second and the wifi indicator does flash.

koalazak commented 5 years ago

Hi @MarkyMarc35,

can you run this code and share the output please?

var dorita980 = require('dorita980');

dorita980.discovery((ierr, data) => {
  console.log(data);
});

thank you

MarkyMarc35 commented 5 years ago

Here is the result:

Looking for robots... Robot found! with blid/username: 3177091840544730 { ver: '3', hostname: 'Roomba-3177091840544730', robotname: 'Irma Labrosse', ip: '192.168.10.100', mac: 'D0:C5:D3:BE:8E:70', sw: '3.3.43', sku: 'R671020', nc: 0, proto: 'mqtt', cap: { ota: 1, eco: 1, svcConf: 1 } } { ver: '3', hostname: 'Roomba-3177091840544730', robotname: 'Irma Labrosse', ip: '192.168.10.100', mac: 'D0:C5:D3:BE:8E:70', sw: '3.3.43', sku: 'R671020', nc: 0, proto: 'mqtt', cap: { ota: 1, eco: 1, svcConf: 1 } }

If i try to get the password, i get this:

Robot Data: undefined events.js:174 throw er; // Unhandled 'error' event ^

Error: connect ETIMEDOUT 192.168.10.100:8883 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1106:14) Emitted 'error' event at: at emitErrorNT (internal/streams/destroy.js:91:8) at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) at process._tickCallback (internal/process/next_tick.js:63:19)

koalazak commented 5 years ago

seems like you have the mobile app open, Please close it and try again. Or maybe you have a firewall blocking port 8883 on your roomba.

MarkyMarc35 commented 5 years ago

Turned off my phone to make sure the mobile app wasn't a factor, turned off my firewall as well and i get the same result. I'll try it on my wife's laptop and see if it makes a difference.

koalazak commented 5 years ago

can you nmap your robot ip?