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
932 stars 147 forks source link

Map and current region from current mission? #131

Closed 1075dn closed 3 years ago

1075dn commented 3 years ago

This package is AMAZING! Kudos!

Is there a way to get which map and region a robot is cleaning? (I know the iRobot HOME app can.)

Thanks so much for your help!

koalazak commented 3 years ago

It is not in cleanMissionStatus state object? (.getState()) Or emmited in mission event? Please, check that and confirm. Thank you!

1075dn commented 3 years ago

Thanks so much for answering. I can't check yet because I have a new problem - when a robot hasn't been controlled remotely for a few days - does it stop responding to discovery/getRobotIP? I can't connect anymore... It's really weird, because I can control it now using the iRobot home app, but not dorita980. This happened to me again around two weeks ago, and then two days later it started responding again - I'm not sure why. Do you have any idea why this might happen? Thanks!

mad73923 commented 3 years ago

Thanks so much for answering. I can't check yet because I have a new problem - when a robot hasn't been controlled remotely for a few days - does it stop responding to discovery/getRobotIP? I can't connect anymore... It's really weird, because I can control it now using the iRobot home app, but not dorita980. This happened to me again around two weeks ago, and then two days later it started responding again - I'm not sure why. Do you have any idea why this might happen? Thanks!

Did you check if you have only one active connection (server or app)? The robot only supports 1 connection! This solved this issue for me.

1075dn commented 3 years ago

I don't believe it was connected to anything else (I force closed the app). Maybe it was connected to the cloud? Does that count as a connection?

mad73923 commented 3 years ago

I can't answer this, since I blocked every outgoing connection for my vacuum in my router firewall settings.

1075dn commented 3 years ago

Hmm... I don't know if I could try that, as until my project is finished we regularly use the app...

koalazak commented 3 years ago

hello @1075dn,

can you test if the region is here? (reset your robot if it is not accepting connections please)

It is not in cleanMissionStatus state object? (.getState()) Or emmited in mission event? Please, check that and confirm. Thank you!