MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-WeConnect - Show data from your electric Volkswagen

    Transport
    4
    6
    852
    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
      ottopaulsen last edited by

      WeConnect screenshot

      Se MMM-WeConnect at Github for more information.

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

        @ottopaulsen cool!

        Sam

        Create a working config
        How to add modules

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

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • A
                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
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy