Describe The Bug:
I enabled the plugin before registering my LR4 on the Website. When the child bridge starts it tries to enumerate the devices and fails with an unhandled error which leeads to a restart loop of the child bridge
To Reproduce:
Remove all devices from the LitterRobot account or create an empty account with no devices registered
Install and configure plugin with the correct credentials
Restarted homebridge
Expected behavior:
The plug in to start, detect 0 devices and regularly poll for new devices.
Actual behavior:
The child bridge keeps restarting with the below error
Logs:
[10/21/2024, 8:02:30 PM] [homebridge-litter-robot-4] Launched child bridge with PID 24544
[10/21/2024, 8:02:30 PM] [homebridge-litter-robot-4] Loaded homebridge-litter-robot-4 v3.0.0 child bridge successfully
[10/21/2024, 8:02:34 PM] [homebridge-litter-robot-4] Child bridge process ended
[10/21/2024, 8:02:34 PM] [homebridge-litter-robot-4] Process Ended. Code: 1, Signal: null
[10/21/2024, 8:02:41 PM] [homebridge-litter-robot-4] Restarting Process...
[10/21/2024, 8:02:42 PM] [homebridge-litter-robot-4] Launched child bridge with PID 24570
[10/21/2024, 8:02:42 PM] The plugin "homebridge-litter-robot-4" requires Node.js version of ^18.17.0 which does not satisfy the current Node.js version of v20.18.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
[10/21/2024, 8:02:42 PM] Registering platform 'homebridge-litter-robot-4.LitterRobot4'
[10/21/2024, 8:02:42 PM] [homebridge-litter-robot-4] Loaded homebridge-litter-robot-4 v3.0.0 child bridge successfully
[10/21/2024, 8:02:42 PM] Homebridge v1.8.4 (HAP v0.12.2) (homebridge-litter-robot-4) is running on port 59201.
[10/21/2024, 8:02:42 PM]
NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0
TypeError: Cannot read properties of null (reading 'forEach')
at /var/lib/homebridge/node_modules/homebridge-litter-robot-4/src/platform.ts:115:12
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[10/21/2024, 8:02:46 PM] [homebridge-litter-robot-4] Child bridge process ended
[10/21/2024, 8:02:46 PM] [homebridge-litter-robot-4] Process Ended. Code: 1, Signal: null
[10/21/2024, 8:02:53 PM] [homebridge-litter-robot-4] Restarting Process...
[10/21/2024, 8:02:54 PM] [homebridge-litter-robot-4] Launched child bridge with PID 24584
[10/21/2024, 8:02:54 PM] The plugin "homebridge-litter-robot-4" requires Node.js version of ^18.17.0 which does not satisfy the current Node.js version of v20.18.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
Describe The Bug: I enabled the plugin before registering my LR4 on the Website. When the child bridge starts it tries to enumerate the devices and fails with an unhandled error which leeads to a restart loop of the child bridge
To Reproduce: Remove all devices from the LitterRobot account or create an empty account with no devices registered Install and configure plugin with the correct credentials Restarted homebridge
Expected behavior: The plug in to start, detect 0 devices and regularly poll for new devices.
Actual behavior: The child bridge keeps restarting with the below error
Logs:
Plugin Config:
Screenshots:
Environment: