Error messages in homebridge log with robot configured but not contactable
To Reproduce:
Have a robot that is configured in the app, but for some reason I snot connect dto local ip
Expected behavior:
Shouldn't throw up the error messages shown, a nd should just show a single error message
Logs:
[1/3/2023, 10:26:12 AM] [iRobot] Robbie: Connecting...
[1/3/2023, 10:26:12 AM] [homebridge-irobot] This plugin threw an error from the characteristic 'Status Low Battery': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'batPct'). See https://homebridge.io/w/JtMGR for more info.
[1/3/2023, 10:26:12 AM] [homebridge-irobot] This plugin threw an error from the characteristic 'Battery Level': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'batPct'). See https://homebridge.io/w/JtMGR for more info.
[1/3/2023, 10:26:12 AM] [homebridge-irobot] This plugin threw an error from the characteristic 'Charging State': Unhandled error thrown inside read handler for characteristic: Cannot use 'in' operator to search for 'cleanMissionStatus' in undefined. See https://homebridge.io/w/JtMGR for more info.
[1/3/2023, 10:26:12 AM] [iRobot] Robbie: Updating IP Address To 192.168.4.72
[1/3/2023, 10:26:12 AM] [iRobot] Robbie: Unavailable
[1/3/2023, 10:26:12 AM] [iRobot] Robbie: Disconnected
[1/3/2023, 10:26:13 AM] [iRobot] Robbie: Disconnected
Describe The Bug:
Error messages in homebridge log with robot configured but not contactable
To Reproduce:
Have a robot that is configured in the app, but for some reason I snot connect dto local ip
Expected behavior:
Shouldn't throw up the error messages shown, a nd should just show a single error message
Logs:
Config:
Node Version:
16.14.0
NPM Version:
8.3.1
Homebridge Version:
1.6.0
Plugin Version:
4.0.4
Operating System:
MacOS