-
-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
problem to retrieve doorbell item Ring Intercom from Ring cloud using Ring plugin #1248
Comments
I update issue with ne logs with lastest error (ring plugin retrieve always only item with DeviceProvider type):
}, native dependencies (up to date). got socket.io-client node modules /data/scrypted_data/plugins/@scrypted/webrtc/node18-linux-x64-20240103 plugin loaded i Scrypted Core loaded @scrypted/core i WebRTC Plugin loaded @scrypted/webrtc no device was returned by the plugin 47 i Ring Plugin loaded @scrypted/ring node modules /data/scrypted_data/plugins/@scrypted/webrtc/node18-linux-x64-20240103 (node:134) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. error occured retrieving device from plugin RPCResultError [TypeError]: Cannot read properties of undefined (reading 'find') |
add more logs: plugin loaded i WebRTC Plugin loaded @scrypted/webrtc no device was returned by the plugin 44 (node:121) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. installing package @scrypted/ring 0.0.136 native dependencies (outdated) got socket.io-client installing package @scrypted/prebuffer-mixin 0.10.11 downloaded tarball 195053 plugin loaded i Rebroadcast Plugin loaded @scrypted/prebuffer-mixin added 55 packages, and audited 56 packages in 11s 10 packages are looking for funding found 0 vulnerabilities native dependencies installed. plugin loaded discovery failure Error: refresh token, username, and password are missing. i Ring Plugin loaded @scrypted/ring a Ring Plugin Check your email or texts for your Ring login code, then enter it into the Two Factor Code setting to conplete login. e Ring Plugin unhandledRejection TypeError: Cannot read properties of undefined (reading 'getLocations') login success, trying discovery discovery completed successfully (node:164) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. |
Same issue on my side. Would love to integrate the ring intercom |
Any updates? |
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:
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

Desktop (please complete the following information):
Smartphone (please complete the following information):
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 detailsfound 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)The text was updated successfully, but these errors were encountered: