You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example.ts script was hanging after logging the "Connected to location" message. I traced through the code and found that it stalls at the await location.getDevices() because the message received for DeviceInfoDocGetList doesn't pass some of the criteria that's currently required to return data for getDevices.
To Reproduce
Steps to reproduce the behavior:
I'm not sure what in my set up is causing the issue. I have a single location with 9 cameras and an offline Ring Alarm base station without any sensors ever connected.
Attempt to run example.ts script.
Notice it never gets past the "Connected to location" message.
Expected behavior
Runs to completion listing the 9 cameras.
Screenshots/Logs
If applicable, add screenshots and log output to help explain your problem.
Additional context
Here's the DeviceInfoDocGetList message I get back (IDs redacted):
The offline alarm base station is the reason it hangs. If you have no intention of using it, the easiest fix would be to remove the alarm from Ring. If the base station is offline, you can’t interact with it and get the device list from it, so I wait for all base stations to come online before reporting the full device list.
Bug Report
Describe the Bug
The
example.ts
script was hanging after logging the "Connected to location" message. I traced through the code and found that it stalls at theawait location.getDevices()
because the message received forDeviceInfoDocGetList
doesn't pass some of the criteria that's currently required to return data forgetDevices
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots/Logs
If applicable, add screenshots and log output to help explain your problem.Additional context
Here's the
DeviceInfoDocGetList
message I get back (IDs redacted):Environment
The text was updated successfully, but these errors were encountered: