Read the statement by Michael Teeuw here.
Ring Doorbell Problem
-
Hello everyone, i have a Problem with my Ring Doorbell. I install it in February and it works. Now i i ring the doorbell nothing happen on the Mirror. Please Help me.
ejected (/home/pi/MagicMirror/modules/MMM-Ring/node_modules/ring-client-api/lib/api/rest-client.js:6:65)
(Useelectron --trace-warnings ...
to show where the warning was created)
[13.03.2022 10:28.47.080] [ERROR] (node:7421) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
[13.03.2022 10:28.47.082] [ERROR] (node:7421) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[13.03.2022 10:28.47.083] [ERROR] (node:7421) UnhandledPromiseRejectionWarning: Error: Refresh token is not valid. Unable to authenticate with Ring servers. See https://github.com/dgreif/ring/wiki/Refresh-Tokens
at RingRestClient.getGrantData (/home/pi/MagicMirror/modules/MMM-Ring/node_modules/ring-client-api/lib/api/rest-client.js:109:15)
at RingRestClient. (/home/pi/MagicMirror/modules/MMM-Ring/node_modules/ring-client-api/lib/api/rest-client.js:113:36)
at Generator.next ()
at /home/pi/MagicMirror/modules/MMM-Ring/node_modules/ring-client-api/lib/api/rest-client.js:8:71
at new Promise ()
at __awaiter (/home/pi/MagicMirror/modules/MMM-Ring/node_modules/ring-client-api/lib/api/rest-client.js:4:12)
at RingRestClient.getAuth (/home/pi/MagicMirror/modules/MMM-Ring/node_modules/ring-client-api/lib/api/rest-client.js:112:16)
at RingRestClient. (/home/pi/MagicMirror/modules/MMM-Ring/node_modules/ring-client-api/lib/api/rest-client.js:137:33)
at Generator.throw ()
at rejected (/home/pi/MagicMirror/modules/MMM-Ring/node_modules/ring-client-api/lib/api/rest-client.js:6:65)
[13.03.2022 10:28.47.085] [ERROR] (node:7421) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3) -
and i get this if i ring it:
[13.03.2022 10:51.23.475] [LOG] MMM-Ring at (13.3.2022, 10:51:23): Stopping module helper: MMM-Ring
[13.03.2022 10:51.23.482] [LOG] Shutting down MMM-RTSPStream streams that were using vlc
[13.03.2022 10:51.23.492] [LOG] Killing DevilsPie2…
[13.03.2022 10:51.23.496] [LOG] Killing All VLC Streams… -
@nicoh said in Ring Doorbell Problem:
UnhandledPromiseRejectionWarning: Error: Refresh token is not valid. Unable to authenticate with Ring servers. See https://github.com/dgreif/ring/wiki/Refresh-Tokens
looks like the process of authentication may have changed or the module doesn’t handle the refresh token properly.
if u get a new token, per the module instructions, does it work for a little while?
-
@sdetweil i refresh the token but Same Happen. Do you think i deleted it and Test it again?
-
This is a Ring Doorbell authentication issue. You have to go through the process again to generate the Ring Authentication Bearer Token and plug that into your Magic Mirror config file. You will have to repeat this process every month as Ring deactivates that bearer token every 30 days.
Hope this helps, at least until ring sets up another option for us.