• 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.

Volvo on Call

Scheduled Pinned Locked Moved Solved Troubleshooting
34 Posts 4 Posters 8.0k 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.
  • M Offline
    MZ-BER
    last edited by Feb 28, 2022, 10:42 AM

    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
    • M Offline
      MZ-BER
      last edited by Feb 28, 2022, 9:25 PM

      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
      • J Offline
        JerryP
        last edited by Mar 1, 2022, 10:49 AM

        @mz-ber
        What is your config look like?

        M 1 Reply Last reply Mar 1, 2022, 3:43 PM Reply Quote 0
        • M Offline
          MZ-BER @JerryP
          last edited by MZ-BER Mar 1, 2022, 3:48 PM Mar 1, 2022, 3:43 PM

          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.

          J 1 Reply Last reply Mar 1, 2022, 3:48 PM Reply Quote 0
          • J Offline
            JerryP @MZ-BER
            last edited by JerryP Mar 1, 2022, 5:24 PM Mar 1, 2022, 3:48 PM

            @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,
            		}}},
            
            M 1 Reply Last reply Mar 1, 2022, 3:55 PM Reply Quote 0
            • M Offline
              MZ-BER @JerryP
              last edited by Mar 1, 2022, 3:55 PM

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

              J 1 Reply Last reply Mar 1, 2022, 3:56 PM Reply Quote 0
              • J Offline
                JerryP @MZ-BER
                last edited by Mar 1, 2022, 3:56 PM

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

                M 1 Reply Last reply Mar 1, 2022, 4:01 PM Reply Quote 0
                • M Offline
                  MZ-BER @JerryP
                  last edited by Mar 1, 2022, 4:01 PM

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

                  J 1 Reply Last reply Mar 1, 2022, 4:16 PM Reply Quote 0
                  • J Offline
                    JerryP @MZ-BER
                    last edited by Mar 1, 2022, 4:16 PM

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

                    M 1 Reply Last reply Mar 1, 2022, 4:24 PM Reply Quote 0
                    • M Offline
                      MZ-BER @JerryP
                      last edited by Mar 1, 2022, 4:24 PM

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

                      J 1 Reply Last reply Mar 1, 2022, 5:25 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        4/34
                        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