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-Fuel lässt mich verzweifeln

    Scheduled Pinned Locked Moved Forum
    10 Posts 5 Posters 2.3k Views 5 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
      Michel 0
      last edited by

      Hallo, bin neu in puncto programmieren, habe aber schon einige Module im MMM zum laufen gebracht z.B. I-Frame, Covic, aber MMM-Fuel lässt mich verzweifeln. Ich mache alles wie beschrieben, aber Fehlanzeige.
      Habe unter Tankerkönig den API-Key und die Tankstellen in meiner Nähe in einer Liste ( Stadion.json ) gespeichert. wenn ich die Test URL: mit meinen Geodaten im Broser eingebe, erscheint eine Liste mit den ausgewählten Tankstellen mit Adresse,Preis…
      Fuel versucht immer zu laden, aber findet nichts. Muss ich die Stadion.json liste irgendwo hinterlegen ???
      Vielen Dank im voraus.

      JalibuJ 1 Reply Last reply Reply Quote 0
      • JalibuJ Offline
        Jalibu Module Developer @Michel 0
        last edited by

        @michel-0 wo in der Doku steht denn etwas mit einer Stadion.json?
        Du

        1. clonst das Modul in deinen MagicMirror/modules/ Ordner
        2. installierst die Dependencies mittels npm install,
        3. fügst die Konfiguration in die config.jsein und setzt da noch den API Key rein.

        Et voila, zack fertig. Spritpreise.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          Michel 0 @Jalibu
          last edited by

          @jalibu danke für deine Nachfrage, ja, ich habe es genau so gemacht, wie gesagt habe ich schon andere Module zum Laufen gebracht und das mit der Liste war eine Verzweiflungstat.

          strawberry 3.141S 1 Reply Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @Michel 0
            last edited by

            @michel-0 you probably have the issue with the expired certificate. Which version of MagicMirror are you using?

            Please create a github issue if you need help, so I can keep track

            1 Reply Last reply Reply Quote 0
            • strawberry 3.141S Offline
              strawberry 3.141 Project Sponsor Module Developer
              last edited by

              @Michel-0 I just tested it, please make sure you use the newest version of MagicMirror + dependencies to contain the fix https://github.com/MichMich/MagicMirror/pull/2674

              fuel.png

              Please create a github issue if you need help, so I can keep track

              1 Reply Last reply Reply Quote 0
              • M Offline
                Michel 0
                last edited by

                IMG_3193.JPG

                1. Bild der Installation
                  IMG_3194.JPG
                2. Bild der config.sys natürlich mit meinen Geodaten und dpi-key
                  IMG_3195.JPG
                3. Magic Mirror.

                Was hab ich falsch gemacht, danke im Voraus.

                L.G Michel.

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  Biebermann @Michel 0
                  last edited by

                  @michel-0

                  also meine Konfig sieht anders aus und vorallem länger…
                  {
                  module: “MMM-Fuel”,
                  position: “top_center”,
                  config: {
                  provider: “tankerkoenig”,
                  api_key: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”,
                  lat: xx.xxxxxx,
                  lng: xx.xxxxx,
                  types: [“e5”],
                  radius: 5,
                  rotateInterval: 60000,
                  updateInterval: 900000,
                  showDistance: ‘true’,
                  open: ‘true’,
                  colored: ‘true’,
                  max: 5,
                  map_api_key: ‘xxxxxxxxxxx_xxxxxxxxxxxx-xxxxx’,
                  height: ‘400’,
                  width: ‘400’,
                  zoom: ‘12’,
                  }
                  },

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

                    Hallo Michel 0,
                    lösche den Ordner MMM-Fuel aus Deinem modules-Ordner.
                    Dann per

                    git clone https://github.com/fewieden/MMM-Fuel.git
                    

                    neu aufspielen.
                    In den Ordner modules/MMM-Fuel gehen und folgendes ausführen:

                    npm i --production
                    

                    Nur noch die config.js anpassen, aber das hast Du ja schon.

                    So sollte es funktionieren.

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      Michel 0 @rantanplan
                      last edited by

                      @rantanplan
                      Danke erstmal, dass ihr euch die Zeit nehmt.

                      ich habe es genau so gemacht wie rantanplan geschrieben, ohne Erfolg.
                      Ich habe herausgefunden , dass jedesmal wenn ich den Api-Key eingebe, egal ob bei MMM-Tankerkoenig oder MMM-Fuel, dann zeigt MMM nicht einmal mehr " laden" an, habe es auch schon mit einem zweiten Api von Tankerkönig probiert, auch ohne Erfolg, IMG_3217.JPG

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

                        @michel-0
                        es läuft, ich habe das System ganz neu aufgesetzt und es geht alles.

                        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