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

Anyone successfully using MMM-Tesla module?

Scheduled Pinned Locked Moved Unsolved Troubleshooting
10 Posts 5 Posters 2.9k Views 6 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.
  • J Offline
    jpiatt
    last edited by Feb 27, 2019, 2:08 AM

    I have coded the following but only get message “Loading …” in the assigned area. Any tips or tricks to getting this to work?

               {
                        module: "MMM-Tesla",
                        position: "bottom_left",
                        config: {
                                email: "REDACTED",
                                password: "REDACTED",
                                client_id: "81527cff06843c8634fdc09e8ac0abefb46...",
                                clent_secret: "c7257eb71a564034f9419ee651c7d0e5...",
                                vehicle_id: "REDACTED",
                                google_api_key: "REDACTED",
                                refreshInterval: 1000 * 60 * 10
                        }
    
                }
    
    S 1 Reply Last reply Mar 23, 2019, 8:17 PM Reply Quote 0
    • K Offline
      kellogg76
      last edited by Mar 23, 2019, 8:07 PM

      I’m in the same boat, with the same “Loading…” message. Did you ever get it working?

      1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @jpiatt
        last edited by Mar 23, 2019, 8:17 PM

        @jpiatt open the developers window with

        Ctrl-shift-i

        Or start mm in dev mode

        npm start dev

        Select the console tab, and scroll up to find any errors, red rext

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • C Offline
          CDT
          last edited by Jul 16, 2019, 12:26 AM

          @jpiatt

          I did, finally. Maybe this will help:

          I used the teslams command line program to get my vehicle_ID. There are two IDs that it presents: one is vehicle ID and was 10 characters. The one you want is just called “ID” and is 17 characters. Worked instantly after I changed that.

          See if that gets you there.

          J 1 Reply Last reply Sep 2, 2019, 3:39 PM Reply Quote 0
          • J Offline
            jpiatt @CDT
            last edited by Sep 2, 2019, 3:39 PM

            @CDT It’s obviously been a long time since I checked this post. This tip was very helpful. I was using the wrong vehicle_ID and have changed it. I’m still getting the “Loading…” message. Based on your experience though, I feel like I must have a problem in my config and I’m going to play with it some more today and see if I can straighten it out.

            The first error message I see in the console log (actually it’s written to stdout) is an UnhandledPromiseRejectionWarning with a Response Error: 404 Not Found. I’m considering just reinstalling the module in case I’ve edited something trying to troubleshoot and left out a comma or introduced bad line-ending with a funky editor or something.

            I will post here if I resolve the issue.

            S 1 Reply Last reply Sep 2, 2019, 3:51 PM Reply Quote 0
            • S Away
              sdetweil @jpiatt
              last edited by Sep 2, 2019, 3:51 PM

              @jpiatt said in Anyone successfully using MMM-Tesla module?:

              Response Error: 404 Not Found

              That means the url of the API didn’t work. So something is missing in the setup, or the API has changed

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Sep 2, 2019, 3:55 PM Reply Quote 0
              • J Offline
                jpiatt @sdetweil
                last edited by Sep 2, 2019, 3:55 PM

                @sdetweil Thanks, sam. That’s what I figured. I’ll post here when I figure out what I screwed up.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  CDT
                  last edited by Oct 28, 2019, 1:00 AM

                  One more tip. Your car’s ID seems to change monthly. So you have to run teslams to get it working.

                  I am working on my own version which is a bit more feature rich (not a lot more, because I have no training as a programmer). I think I have all the bugs worked out but want to see if I can address this ID update in an automated fashion.

                  C 1 Reply Last reply Oct 28, 2019, 2:35 AM Reply Quote 0
                  • C Offline
                    CDT @CDT
                    last edited by Oct 28, 2019, 2:35 AM

                    @CDT

                    0_1572230105644_c54b6794-1f25-442c-8d6e-47ff4486e2aa-image.png

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      antagon
                      last edited by Mar 22, 2020, 9:29 PM

                      I have started work on a fork from MMM-Tesla, since I could not get this working either.

                      It is located at https://github.com/martinburheimtingstad/MMM-Tesla2/

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