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-BMWConnected (BMW Connected Drive data)

    Scheduled Pinned Locked Moved Transport
    32 Posts 15 Posters 15.5k Views 14 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.
    • hdurdleH Offline
      hdurdle
      last edited by hdurdle

      Description:

      Day two of knowing Magic Mirror was a thing. I built something for my car. If you have a BMW with active BMW Connected Drive service, you can use this module to show:

      • lock status
      • charging/unplugged
      • battery charge
      • total miles driven
      • electric only range (miles)
      • fuel range (miles)
      • last time the Connected Drive portal received data from the car

      It also downloads the image of the car itself from the BMW API, so I would be really interested to see someone else running it, to see if that works for anything other than the i8. If you do, send me pics at https://twitter.com/hdurdle

      Screenshots:

      MMM-BMWConnected

      Download:

      [card:hdurdle/MMM-BMWConnected]


      Version 1

      • Initial release
      iMAGiCI 2 Replies Last reply Reply Quote 3
      • P Offline
        philmavedzenge
        last edited by

        Hi, Greetings from South Africa, i have tried the module but it only shows as loading. I followed your instructions for powershell and i get some data for my car. Could you please point me in the right direction so that it works on MagicMirror? i used the …co.za apiBase and i get the vehicle data

        1 Reply Last reply Reply Quote 0
        • iMAGiCI Offline
          iMAGiC @hdurdle
          last edited by iMAGiC

          @hdurdle This is cool, the picture is correct, but icons. (I live in Taiwan)
          Could you help? what should I do to fix icon links? thank you very much.
          BMW

          Choice * Judgment * Values

          iMAGiCI 1 Reply Last reply Reply Quote 0
          • iMAGiCI Offline
            iMAGiC @iMAGiC
            last edited by iMAGiC

            I found an error in css "faIcon.classList.add(“fas”); – that’s why no icon show up.
            and NaN Km – my car it’s not hybrid…

            @hdurdle does BMW API has “Current location” feature? thanks.

            BMW

            Choice * Judgment * Values

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              philmavedzenge @iMAGiC
              last edited by

              @iMAGiC hi yes it does have longitude and latitude values. Download the powershell scripts and play around with them to see what values are available. I have changed mine to remove electric vehicle specific parameters and added things like fuel remaining, window/sunroof status and also the vehicle pictures that change after a set time.

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

                @hdurdle: Hi Howard, pretty cool module!

                Can it be tweaked to work for Mini vehicles as well? I do have access to a connected service for my car using: https://www.mini-connected.com/germany/de/

                Thanks in advance!

                1 Reply Last reply Reply Quote 0
                • iMAGiCI Offline
                  iMAGiC @hdurdle
                  last edited by

                  @hdurdle Is this module still working on your side?
                  It has stopped work since last week.
                  Is it a token issue or BWM has already modified API?

                  Thank you~
                  Jake

                  Choice * Judgment * Values

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    musicnrw @iMAGiC
                    last edited by

                    @imagic , since yesterday I only got the information from the module, “Lade …”, so for english user “loading …”. Whats going wrong here?

                    iMAGiCI 1 Reply Last reply Reply Quote 0
                    • iMAGiCI Offline
                      iMAGiC @musicnrw
                      last edited by

                      @musicnrw I don’t know, either. already sent message to @hdurdle.

                      Choice * Judgment * Values

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

                        @imagic Is this problem solved?
                        Just installed this module and also says “bezig met laden”
                        I can’t reach @hdurdle , don’t have facebook, twitter, instagram and other social media ;-)
                        Also don’t know how to use the shell scripts.

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sdetweil @Klassieker
                          last edited by

                          @klassieker said in MMM-BMWConnected (BMW Connected Drive data):

                          Also don’t know how to use the shell scripts.

                          shell scripts are just commands (written in text form)

                          so u can execute a bunch of commands and use logic…

                          to execute one of those, you would open a terminal window
                          ctrl-alt-t on the pi desktop, or open an ssh session from your windows/mac box to the pi

                          (to minimize MM to get to the desktop, alt-spacebar, n just line on windows for minimze fullscreen app)

                          I don’t know about the module…

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          K 1 Reply Last reply Reply Quote 0
                          • K Offline
                            Klassieker @sdetweil
                            last edited by

                            @sdetweil Hi Sam, Thanks for your answer. I can’t get it to run on the pi (not enough knowledge of the pi, i’m learning),
                            but I managed running it on my Windows PC and got some data from the script.
                            So I think there is a problem in the module.

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

                              @klassieker
                              I have made some changes in the module and now it is working for me (changed defaults: apiBase, couldn’t get it to work with config: apiBase)
                              Also put an extra variable in the defaults: for selecting my cars

                              S C 2 Replies Last reply Reply Quote 0
                              • S Offline
                                sdetweil @Klassieker
                                last edited by

                                @klassieker said in MMM-BMWConnected (BMW Connected Drive data):

                                changed defaults: apiBase, couldn’t get it to work with config: apiBase

                                what happened there? we should figure that out as its part of the base MM design

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                K 1 Reply Last reply Reply Quote 0
                                • K Offline
                                  Klassieker @sdetweil
                                  last edited by

                                  @sdetweil
                                  the module didn’t react on config: apiBase. after changing the url in the default, I could go further.
                                  Furthermore, I added a car: element in the config and copied the module, so I could see both my cars.

                                  689871cc-742f-4280-9a13-7f8bb374217e-image.png

                                  c879b95f-bff5-4175-aff3-213070905f6a-image.png

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sdetweil @Klassieker
                                    last edited by sdetweil

                                    @klassieker said in MMM-BMWConnected (BMW Connected Drive data):

                                    the module didn’t react on config: apiBase

                                    ok, don’t know what that means…

                                    what did u try to do in the module config that didn’t work

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    K 1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      Klassieker @sdetweil
                                      last edited by

                                      @sdetweil
                                      Adding the row:
                                      apiBase: “https://www.bmw-connecteddrive.com”,

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sdetweil @Klassieker
                                        last edited by

                                        @klassieker >apiBase: “https://www.bmw-connecteddrive.com”,

                                        it doesn’t want the “https://” in the front, it adds that internally

                                        apiBase	The location of the base API URL for your region.
                                        
                                        Default: www.bmw-connecteddrive.co.uk
                                        

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        K 1 Reply Last reply Reply Quote 0
                                        • K Offline
                                          Klassieker @sdetweil
                                          last edited by

                                          @sdetweil
                                          Ah, I overread that part of https://.
                                          I changed it back and it is still working .
                                          Many thanks for helping me.

                                          1 Reply Last reply Reply Quote 1
                                          • W Offline
                                            wwats
                                            last edited by

                                            I still have the problem with “Loading”, and nothing happened. My module looks like the print screen. What is my fault?

                                            3ec74e4d-a939-485e-95ac-45fb1a89c33c-image.png

                                            Thanks a lot !

                                            D 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • 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