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.
    • K Offline
      kar1507
      last edited by kar1507

      Hello.
      Thank you @ashishtank @sdetweil @JerryP
      It works now and the data is displayed.

      A JerryPJ 2 Replies Last reply Reply Quote 1
      • A Offline
        ashishtank Module Developer @kar1507
        last edited by

        @kar1507 Good to know that issues is solved, may be it was temporary issue from Mercedes Api, they have some downtime every now and then. Also I noticed that you have not included offline_access scope in config ? if you do not include that then refresh token will not be generated and thus you will need to re login again and again once the access token is expirers.

        1 Reply Last reply Reply Quote 0
        • JerryPJ Offline
          JerryP @kar1507
          last edited by

          @kar1507
          cen you post a picture of the screen???

          1 Reply Last reply Reply Quote 0
          • K Offline
            kar1507
            last edited by

            @ashishtank
            That explains why I always had Authenticate there. I’ve added it now. Thank you very much.

            @JerryP

            DECBA413-E560-431A-BE7B-633B952DF5B5.jpeg

            JerryPJ 1 Reply Last reply Reply Quote 0
            • JerryPJ Offline
              JerryP @kar1507
              last edited by

              @kar1507 Nice. that is the same as over her white the electric car.
              Thanks for the screen view

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

                Hi,

                First of all Thank you for this module. I followed the full setup and unfortunately I have no update.

                Here is my setup:

                {
                  module: 'MMM-MercedesMe',
                  position: 'bottom_left',
                  header: 'Mercedes Fuel',
                  config: {
                          client_id: '**********************************************',
                          client_secret: '**************************************************',
                          vehicleType: 'Petrol',
                      scope: 'mb:vehicle:mbdata:vehiclestatus offline_access',
                          vehicleId: 'W*****************************9',
                          displayStyle: 'twodial',
                          updateInterval: 300000,
                      debug: true,
                          maxRange: 520
                  }
                

                },

                On the log I do have this error:

                [05.04.2021 23:33.58.329] [LOG] Vehicle data url https://api.mercedes-benz.com/vehicledata/v2/vehicles/W**************9/containers/electricvehicle
                [05.04.2021 23:33.58.575] [LOG] 403 - Forbidden

                Despite it says electricvehicule the setup on MercedesMe Dev is exactly as per the instruction.

                I’m a bit lost at this point.

                Thank you in advance for any help!

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

                  dsiplay.PNG

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

                    @pyrophoenix can you please restart the mirror and check if it works ? did you login to get the token ?

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

                      Hi @ashishtank

                      Yes I did reboot and it ask to authenticate everytime that I reboot it. I have to click on it then it goes blank page and the picture I’ve sent appear

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

                        @pyrophoenix can you delete the tokens.json file in MercedesMe directory and then restart the mirror ? it should show you login button and then you should be able to login and get token. after that check if tokens.json file is created or not…

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