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

    Scheduled Pinned Locked Moved Transport
    fuel pricegas stationpetrol stationvoice-controltankerkoenigspritpreisrechnernsw
    178 Posts 48 Posters 476.6k Views 48 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.
    • K Offline
      kiki99 @strawberry 3.141
      last edited by

      @strawberry-3.141 Oh my …, sorry for this stupid Mistake and the bad format.

      Many thanks for the quick help :)

      1 Reply Last reply Reply Quote 0
      • F Offline
        FreddeHamm
        last edited by FreddeHamm

        @strawberry-3.141 I have some issues getting this thing fired up. I have a working api and found my location. But for some reason, the magic mirror won’t show the Fuel List.

        {
          module: "MMM-Fuel",
          position: "bottom_right",
          config: {
            api_key: 'Just My API',
            lat: 51.674177,
            lng: 6.460384,
            types: ["diesel"],
            sortBy: "diesel",
            radius: 10,
            colored: true,
            open: true,
            rotate: false
          }
        },  
        

        Where is my mistake?!

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

          @FreddeHamm you should remove the api key from your post, it’s kind of a password.

          I have to look on this on the weekend, can’t spot something obvious right now

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

          1 Reply Last reply Reply Quote 0
          • F Offline
            FreddeHamm
            last edited by

            any news?

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

              @FreddeHamm sorry, forgot about you. cant reproduce your issue though, i did a refresh install of mmm-fuel on my machine and inserted your config which resulted in the following state

              0_1507967001234_Bildschirmfoto vom 2017-10-14 09-38-41.png

              can you spot any errors in the logs (electron or terminal, pm2)? did you try to disable all other modules to reduce side effects?

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

              1 Reply Last reply Reply Quote 0
              • F Offline
                FreddeHamm
                last edited by

                Thanks for your help. If i open the magic mirror site via browser (my.rasperry.pi.ip:8080) i see the module. But its not shown on the screen of the mirror itself…

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

                  @FreddeHamm any errors?

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

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    FreddeHamm
                    last edited by

                    noob-question: how can i see the log?

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

                      @FreddeHamm in the terminal where you start the mirror or pm2 logs, and in the electron console(start the mirror with npm start dev)

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

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        FreddeHamm
                        last edited by

                        i found this

                        ** Message: console message: http://localhost:8080/modules/MMM-Fuel//MMM-Fuel.js @117: SyntaxError: Unexpected token ‘(’. Expected a ‘:’ following the property name 'getTranslati$

                        strawberry 3.141S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 6
                        • 7
                        • 8
                        • 9
                        • 10
                        • 17
                        • 18
                        • 8 / 18
                        • 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