Skip to content

Commit

Permalink
Add extra info to the logging when failing to reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
taurgis committed Jul 30, 2024
1 parent dbbf6d1 commit 6ee4a26
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/platformAccessory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,13 @@ export class iRobotPlatformAccessory {
'\n',
'This is probably related due to the limited (1) connection slots on the Roomba, try closing any other application',
'on services that might be connected to the Roomba.',
'\n',
'If this error persists, try restarting the Homebridge service or the Roomba, it is possible the IP address',
'of the Roomba has changed.',
);

this.roomba.end();

this.platform.log.error('Roomba', this.device.name, ' has been stopped, trying to reconnect in 5 minutes...');

// Let us try again in five minutes
Expand Down

0 comments on commit 6ee4a26

Please sign in to comment.