Skip to content

problem to retrieve doorbell item Ring Intercom from Ring cloud using Ring plugin #1248

@pilot1981

Description

@pilot1981

Describe the bug
after successfully login in Ring plugin, unable to retrieve item Ring Intercom from Ring cloud; no any problem to login in Ring account

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Ring Plugin' and add this plugin
  2. insert username e password + token 2FA
  3. Scroll down to 'Providing Things'
  4. I only see an item with DeviceProvider type

Expected behavior
I would retrieve Ring Intercom doorbell, but I only see a DeviceProvider type, not any change to retrieve doorbell
Already tried to remove Ring plugin and add it again: same result!

Screenshots
image

Desktop (please complete the following information):

  • OS: iOS
  • Browser: chrome
  • Version:120.0

Smartphone (please complete the following information):

  • Device: iPhone mini 12
  • OS: 17.2.1
  • Browser: chrome
  • Version: 120.0

Additional context
logs:
linux x64 #1 SMP PREEMPT_DYNAMIC Thu Jan 4 22:07:55 UTC 2024
server version: 0.80.0
plugin version: @scrypted/ring 0.0.136
full
########################
1/7/2024, 10:17:43 PM
########################
node modules /data/scrypted_data/plugins/@scrypted/ring/node18-linux-x64-20240103
native dependencies (outdated) got socket.io-client

added 55 packages, and audited 56 packages in 14s

10 packages are looking for funding
run npm fund for details

found 0 vulnerabilities
native dependencies installed.
plugin loaded
discovery failure Error: refresh token, username, and password are missing.
at Vr.tryLogin (/src/main.ts:157:19)
at Vr.discoverDevices (/src/main.ts:204:20)
at new Vr (/src/main.ts:104:14)
at Object.onLoadZip (/server/node_modules/@scrypted/server/src/plugin/plugin-remote-worker.ts:384:38)
at Object.loadZip (/server/node_modules/@scrypted/server/src/plugin/plugin-remote.ts:660:28)
at RpcPeer.handleMessageInternal (/server/node_modules/@scrypted/server/src/rpc.ts:759:37)
login success, trying discovery
unhandledRejection TypeError: Cannot read properties of undefined (reading 'getLocations')
at Vr.discoverDevices (/src/main.ts:206:41)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Vr.clearTryDiscoverDevices (/src/main.ts:119:52)
login completed successfully with 2 factor code
login success, trying discovery
discovery completed successfully
(node:17919) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use node --trace-deprecation ... to show where the warning was created)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions