MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    UNSOLVED Ring Doorbell Problem

    Troubleshooting
    3
    5
    152
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      Nicoh last edited by

      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)
      (Use electron --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)

      N S S 3 Replies Last reply Reply Quote 0
      • N
        Nicoh @Nicoh last edited by

        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…

        N 1 Reply Last reply Reply Quote 0
        • S
          sdetweil @Nicoh last edited by

          @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?

          Sam

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • N
            Nicoh @Nicoh last edited by

            @sdetweil i refresh the token but Same Happen. Do you think i deleted it and Test it again?

            1 Reply Last reply Reply Quote 0
            • S
              SdeGeata @Nicoh last edited by SdeGeata

              @Nicoh

              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.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy