• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Ring Doorbell Problem

Scheduled Pinned Locked Moved Unsolved Troubleshooting
5 Posts 3 Posters 887 Views 3 Watching
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 Offline
    Nicoh
    last edited by Mar 13, 2022, 9:40 AM

    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 Mar 13, 2022, 9:56 AM Reply Quote 0
    • N Offline
      Nicoh @Nicoh
      last edited by Mar 13, 2022, 9:56 AM

      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 Mar 13, 2022, 7:33 PM Reply Quote 0
      • S Offline
        sdetweil @Nicoh
        last edited by Mar 13, 2022, 11:59 AM

        @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

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • N Offline
          Nicoh @Nicoh
          last edited by Mar 13, 2022, 7:33 PM

          @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 Offline
            SdeGeata @Nicoh
            last edited by SdeGeata Mar 20, 2022, 4:57 PM Mar 20, 2022, 4:56 PM

            @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
            1 / 1
            • First post
              3/5
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy