Closed steedferns closed 7 years ago
I dont have 2 robots to try and I dont kwno how homebridge works no idea :/
If you use the dorita980 example snippet duplicated to send commands to 2 robots. that works?
Testing dorita980 alone with 2 robots on the same network -
can you share that code?
I run the code below for each robot. (Not in the same program!)
They both return ok, but the second does not start.
var dorita980 = require('dorita980');
var myRobotViaLocal = new dorita980.Local('id', 'password', 'ip'); // robot IP address
myRobotViaLocal.on('connect', function () {
// start!
myRobotViaLocal.start().then(() => {
myRobotViaLocal.end(); // disconnect to leave free the channel for the mobile app.
}).catch((err) => {
console.log(err);
});
});
Are both robots on firmware 2.0.0-34? Sounds like the old cloud api. It still answers like expected but does not trigger the robot.
Yes, both are the same firmware. I can only get robot 2 to work if the other is "inactive/sleeping"? Its a hit or miss.
The irobot app always works.
maybe the robots talk with each others when an action is performed? and the channel is occuped. Have you the mobile app offline? Can you send commands at the same time with 2 mobile apps to the robots?
Yes, I can send commands at the same time using the app.
I will try disconnecting from the internet and using the app for both.
news?
reopen if needed
Have two 980 on the same network and when both are running at the same time they both don't complete the job. One will work for an hour and return back to base as complete. In fact only 1/3 of the home has been completed.
I created a homebridge (homekit) plugin. It works fine for 1 robot at a time. The second robot returns { ok:null } but never starts . Anyone know why this would happen?