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

MMM-Fuel lässt mich verzweifeln

Scheduled Pinned Locked Moved Forum
10 Posts 5 Posters 2.1k 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 Oct 18, 2021, 10:33 AM

    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.

    J 1 Reply Last reply Oct 18, 2021, 11:30 AM Reply Quote 0
    • J Offline
      Jalibu Module Developer @Michel 0
      last edited by Oct 18, 2021, 11:30 AM

      @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 Oct 18, 2021, 1:37 PM Reply Quote 0
      • M Offline
        Michel 0 @Jalibu
        last edited by Oct 18, 2021, 1:37 PM

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

        S 1 Reply Last reply Oct 18, 2021, 2:56 PM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @Michel 0
          last edited by Oct 18, 2021, 2:56 PM

          @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
          • S Offline
            strawberry 3.141 Project Sponsor Module Developer
            last edited by Oct 18, 2021, 4:19 PM

            @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 Oct 18, 2021, 6:45 PM

              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 Oct 20, 2021, 2:14 PM Reply Quote 0
              • B Offline
                Biebermann @Michel 0
                last edited by Oct 20, 2021, 2:14 PM

                @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 Oct 24, 2021, 7:51 AM

                  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 Oct 24, 2021, 5:33 PM Reply Quote 0
                  • M Offline
                    Michel 0 @rantanplan
                    last edited by Oct 24, 2021, 5:33 PM

                    @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 Nov 4, 2021, 3:43 PM Reply Quote 0
                    • M Offline
                      Michel 0 @Michel 0
                      last edited by Nov 4, 2021, 3:43 PM

                      @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