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-WeConnect - Show data from your electric Volkswagen

    Scheduled Pinned Locked Moved Transport
    6 Posts 4 Posters 2.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.
    • O Offline
      ottopaulsen
      last edited by

      WeConnect screenshot

      Se MMM-WeConnect at Github for more information.

      S A 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @ottopaulsen
        last edited by

        @ottopaulsen cool!

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • R Offline
          Radon
          last edited by sdetweil

          Hi Otto, thanks for making this. But I cant get it to work. MM just keeps restarting when I add this code.

          Also, the username and password for weconnect. How do you enter that. Is it just ‘username’ ‘password’? Or do you need the whole <weconnect.username> etc?

          Thanks again.

          Btw, i removed two of the locations, since i dont need them. Not sure if this breaks anything…

          {
                  module: 'MMM-WeConnect',
                  position: 'top_right',
                  config: {
                      email: 'xxx',
                      password: 'xxx',
                      refreshIntervalSeconds: 180,
                      size: 300, // This is the size of the drawing
                      showDistance: true,
                      showPosition: true,
                      showBatteryPercent: true,
                      showRange: true,
                      showConnectionStatus: true,
                      showDriving: true,
                      showBattery: true,
                      logging: false, // Write some data to console.log()
                      colors: {
                          car: "gray",
                          text: "#ccc",
                          rangeText: "black",
                          chargingSign: "yellow",
                          lightsOn: "yellow",
                          lightsOff: "#222",
                          wheels: "#222"
                      },
                      batteryColors: [
                          { upTo: 20, background: "pink", forground: "red", text: "yellow" },
                          { upTo: 50, background: "pink", forground: "orange", text: "yellow" },
                          { upTo: 75, background: "#666", forground: "blue", text: "yellow" },
                          { upTo: 100, background: "#666", forground: "green", text: "yellow" }
                      ],
                      positions: [
                          {name: "Hjemme", lat: 59.422110,  lon: 5.264839, marginMeters: 50}
                      ],
                      homePosition: "Hjemme"
                  }
              },
          
          1 Reply Last reply Reply Quote 0
          • A Offline
            Andi1927 @ottopaulsen
            last edited by

            @ottopaulsen great job, but I can not connect to the portal and login. See Error in Log: at Request.plumbing.callback (/home/pi/MagicMirror/modules/MMM-WeConnect/node_modules/request-promise-core/lib/plumbing.js:87:29)
            at Request.RP$callback [as _callback] (/home/pi/MagicMirror/modules/MMM-WeConnect/node_modules/request-promise-core/lib/plumbing.js:46:31)
            at self.callback (/home/pi/MagicMirror/modules/MMM-WeConnect/node_modules/request/request.js:185:22)
            at Request.emit (events.js:182:13)
            at Request.onRequestError (/home/pi/MagicMirror/modules/MMM-WeConnect/node_modules/request/request.js:881:8)
            at ClientRequest.emit (events.js:182:13)
            at TLSSocket.socketErrorListener (_http_client.js:382:9)
            at TLSSocket.emit (events.js:182:13)
            at emitErrorNT (internal/streams/destroy.js:82:8)
            at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
            at process._tickCallback (internal/process/next_tick.js:63:19)
            name: ‘RequestError’,
            message: ‘Error: unable to verify the first certificate’,
            cause:
            { Error: unable to verify the first certificate
            at TLSSocket.onConnectSecure (_tls_wrap.js:1055:34)
            at TLSSocket.emit (events.js:182:13)
            at TLSSocket._finishInit (_tls_wrap.js:635:8) code: ‘UNABLE_TO_VERIFY_LEAF_SIGNATURE’ },
            error:
            { Error: unable to verify the first certificate
            at TLSSocket.onConnectSecure (_tls_wrap.js:1055:34)
            at TLSSocket.emit (events.js:182:13)
            at TLSSocket._finishInit (_tls_wrap.js:635:8) code: ‘UNABLE_TO_VERIFY_LEAF_SIGNATURE’ },

            Any idea ?

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

              @Andi1927 said in MMM-WeConnect - Show data from your electric Volkswagen:

              message: ‘Error: unable to verify the first certificate’,

              some certificate error…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • A Offline
                Andi1927
                last edited by

                I see the certifcate error but why the Url to the VW page is correct in the browser there is no error ?

                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 / 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