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.
    • P Offline
      pyrophoenix
      last edited by

      Thanks! Great that YOU point it out! I cheated a bit and directly put the “fuel” on the URL as so

      https://developer.mercedes-benz.com/products/fuel_status/get_access?pm=free

      I just added it and I’ll try now.

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

        Not working…But it seems that the Bearer is not generated properly. If I try the test curl provided by the Mercedes Dev, it does work…

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

          @pyrophoenix Can you delete the app in Mercedes dev portal and create new one with correct scope ? also delete tokens.json file and restart the mirror. I think it is some caching issue.

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

            @ashishtank Remove and did a brand new app on console. Removed tokens.json and reboot…Same problem

            There is one thing that is on your step (Right from step 1) saying:

            AUTH CALLBACK URL: http://localhost

            Where that needs to be introduced?

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

              Details.PNG image url)

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