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.

    Volvo on Call

    Scheduled Pinned Locked Moved Solved Troubleshooting
    34 Posts 4 Posters 8.5k Views 4 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.
    • MZ-BERM Offline
      MZ-BER
      last edited by

      Hello there - I’m discovering the Volvo on Call API and I noticed that Volvo added a screenshot from a MagicMirror on their website. Does anyone knows to whom that belongs?

      I tried to install the https://github.com/eouia/MMM-VolvoOnCall but I’m stuck. I’m getting an 401 Error with the message I’m unauthorised. :-/

      https://developer.volvocars.com/volvo-api/

      6e088e37-0f02-4f9b-b3f1-7249cec02d7b-image.png

      1 Reply Last reply Reply Quote 0
      • MZ-BERM Offline
        MZ-BER
        last edited by

        I was able to fix the problem with the authorization issue (just reseted my password). So I’m able to pull the information with the python script from https://github.com/molobrakos/volvooncall.

        Now I’m getting the following error as soon as I start the Mirror:

        [28.02.2022 22:03.38.534] [LOG]   [VOC] ERROR: No vehicle found. Check your account. Module stopped.
        

        Which is weird because I can pull the data from my car by just typing voc list or voc dashboard

        Any advice would be really appreciated.

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

          @mz-ber
          What is your config look like?

          MZ-BERM 1 Reply Last reply Reply Quote 0
          • MZ-BERM Offline
            MZ-BER @JerryP
            last edited by MZ-BER

            Hey @jerryp - I’m getting the output as soon as I write voc list. So that seems to work.

            f60f9ae1-a829-42ba-8a4d-fc17b43b10c6-image.png

            My config:

            {
              module: "MMM-VolvoOnCall",
              position: "top_right",
              config: {
            	scanInterval: 1000 * 60 * 30,
                    units: "metric", 
                    timestampFormat: "MMM D. HH:mm:ss",
            	durationFormat: "HH:mm",
                    }
            },
            

            @JerryP Can you please share your config? I’m not sure what I’m doing wrong.

            JerryPJ 1 Reply Last reply Reply Quote 0
            • JerryPJ Offline
              JerryP @MZ-BER
              last edited by JerryP

              @mz-ber
              yes but now you miss the data in the config

              			module: "MMM-VolvoOnCall",
              			disabled: false, //false, true
              			position: "bottom_left",
              			config: {
              			units: "metric", 
              			mapConfig: {
              				apiKey: "",  // Your Google Map API Key
              			display: { // You can control which section will be displayed or not.
              				info: false,
              				position: false,
              				status: true,
              				notice: true,
              				trip: false,
              		}}},
              
              MZ-BERM 1 Reply Last reply Reply Quote 0
              • MZ-BERM Offline
                MZ-BER @JerryP
                last edited by

                @jerryp Okay, do I need an api key from google maps?

                JerryPJ 1 Reply Last reply Reply Quote 0
                • JerryPJ Offline
                  JerryP @MZ-BER
                  last edited by

                  @mz-ber
                  yes i’f you use the map function. I have add the api and it’s working fine

                  MZ-BERM 1 Reply Last reply Reply Quote 0
                  • MZ-BERM Offline
                    MZ-BER @JerryP
                    last edited by

                    @jerryp is it working for you without the map function? I’m actually not interested in it.

                    JerryPJ 1 Reply Last reply Reply Quote 0
                    • JerryPJ Offline
                      JerryP @MZ-BER
                      last edited by

                      @mz-ber
                      Yes but i have put the api key in the config. I dont have try it whitout the key

                      MZ-BERM 1 Reply Last reply Reply Quote 0
                      • MZ-BERM Offline
                        MZ-BER @JerryP
                        last edited by

                        @jerryp Would you do me a favor and test it without the key or a wrong key? Just wondering if that is the issue

                        JerryPJ 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 1 / 4
                        • 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