dgreif / ring

Unofficial packages for Ring Doorbells, Cameras, Alarm System, and Smart Lighting
MIT License
1.17k stars 155 forks source link

API no longer returning cameras or devices #1415

Closed Darrilla closed 2 months ago

Darrilla commented 2 months ago

Is there an existing issue for this?

Describe The Bug

Up until a few days ago, I was able to log in, get the locations and then I'd have my array of cameras and location.getDevices() would be returned. No changes have been made for months to our implementation. Latest version of this library also is not returning cameras or devices.

To Reproduce

Using the standard API, after authentication and 2fa, the locations API returns without a list of cameras, and getDevices() on the location also returns an empty array. The Devices are showing up in my ring mobile app.

Expected behavior

I should receive a list of my cameras and other devices

Relevant log output

ringApi.getLocations: [
  Location {
    subscriptions: [ [SafeSubscriber], [SafeSubscriber] ],
    locationDetails: {
      location_id: 'a3efa74f-7943-4ed7-b917-6c7df7b88225',
      owner_id: 87975986,
      name: 'Kaysville',
      geo_coordinates: [Object],
      address: [Object],
      user_verified: true,
      geo_service_verified: 'unverified',
      created_at: '2023-01-02T17:09:32Z',
      updated_at: '2023-01-02T17:09:32Z',
      location_type: 'residential',
      is_jobsite: false,
      is_owner: true
    },
    cameras: [],
    chimes: [],
    intercoms: [],
    options: {
      hasHubs: false,
      hasAlarmBaseStation: false,
      locationModePollingSeconds: undefined
    },
...

location.getDevices: []

Screenshots

No response

Additional context

No response

OS

Linux and OSX - both environments

Node.js Version

v19.9.0

NPM Version

v9.6.3

ring-client-api

v11.7.6

Operating System

macOs

Darrilla commented 2 months ago

This might have been a temporary issue. Seems to be working again