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.

    MMM-MercedesMe

    Scheduled Pinned Locked Moved Transport
    52 Posts 9 Posters 23.5k Views 8 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.
    • A Offline
      ashishtank Module Developer @pyrophoenix
      last edited by

      @pyrophoenix things looks correct, http://localhost:8080/MMM_MercedesMe/callback is important other localhost urls in callback are optional. I have sent you PM what we can do next.

      1 Reply Last reply Reply Quote 0
      • A Offline
        ashishtank Module Developer @pyrophoenix
        last edited by

        @pyrophoenix Let me know if changing the scope solves the issue. I will update the documentation accordingly.

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          pyrophoenix @ashishtank
          last edited by

          @ashishtank Hi! Unfortunatly it didn’t :/ Mercedes are looking at this matter and they will get back to me normally on Monday.

          Thanks again for your help and I’ll keep you informed!

          1 Reply Last reply Reply Quote 0
          • A Offline
            Andreas Heins
            last edited by Andreas Heins

            When i press “Authenticate” i only get “Handle OAuth callback” in the Log and nothing more.

            Any Ideas?

            Mit freundlichen Grüßen
            Andreas

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              ashishtank Module Developer @Andreas Heins
              last edited by

              @andreas-heins Is your configuration correct ? if you have already logged in then it will not display login screen and will directly get token. Did you check if tokens.json file is created and updated after authentication ?

              1 Reply Last reply Reply Quote 0
              • A Offline
                Andreas Heins
                last edited by

                @ashishtank i checkend my configuration and now i have another error „ 400 - Invalid redirect_uri“.

                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  ashishtank Module Developer @Andreas Heins
                  last edited by

                  @andreas-heins looks like you are missing Step 7 from https://github.com/ashishtank/MMM-MercedesMe documentation. Please check, also which version of Magic Mirror are you using ? there are breaking changes in v2.15 in MM core and issue i have not fixed for my module yet.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rogers0072002 @ashishtank
                    last edited by

                    @ashishtank hello i folow all steps and i had initial auth form
                    i install oauth module ( explain by sdetweil in gitlab issues).
                    My was created correctly but i receive no data.

                    My version of MM is 2.15

                    in mm log i found this

                    0|MagicMirror | [28.06.2021 22:13.20.726] [ERROR]
                    0|MagicMirror | Failed to fetch git data for MMM-homeassistant-sensors: Error: block timeout reached
                    0|MagicMirror | [28.06.2021 22:13.21.674] [LOG]
                    0|MagicMirror | 403 - Forbidden
                    0|MagicMirror | [28.06.2021 22:13.21.678] [LOG]
                    0|MagicMirror | 403 - Forbidden
                    0|MagicMirror | [28.06.2021 22:13.21.866] [LOG]

                    thk in advance

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      rogers0072002 @rogers0072002
                      last edited by

                      @rogers0072002 sorry is not good log

                      0|MagicMirror | Vehicle data url https://api.mercedes-benz.com/vehicledata/v2/vehicles/WDCXXXXXXXXXXXXXX/containers/fuelstatus
                      0|MagicMirror | [28.06.2021 22:35.42.737] [LOG]
                      0|MagicMirror | 403 - Forbidden
                      0|MagicMirror | [28.06.2021 22:38.15.691] [LOG]
                      0|MagicMirror | Vehicle data url https://api.mercedes-benz.com/vehicledata/v2/vehicles/WDCXXXXXXXXXXXXXX/containers/fuelstatus
                      0|MagicMirror | [28.06.2021 22:38.16.209] [LOG]
                      0|MagicMirror | 403 - Forbidden
                      0|MagicMirror | [28.06.2021 22:38.21.119] [INFO]

                      A 1 Reply Last reply Reply Quote 0
                      • A Offline
                        ashishtank Module Developer @rogers0072002
                        last edited by

                        @rogers0072002 As per logs it looks like you have not added scope or token is not valid can you delete the tokens.json file and try login again ? make sure you have linked right scope (electric or fuel) in the Mercedes app.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 2 / 6
                        • First post
                          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