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 542.2k 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.
    • strawberry 3.141S Offline
      strawberry 3.141 Project Sponsor Module Developer @rakostamas
      last edited by

      @rakostamas as @sdetweil already mentioned you need to start the mirror not the module.

      cd ~/MagicMirror && npm start dev

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

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        rakostamas @strawberry 3.141
        last edited by

        @strawberry-3-141
        yes, I have opened it, and I got the errors what I wrote in my last comment

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

          @rakostamas did you check that the file exists? Maybe something went wrong during the cloning of the module

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

          1 Reply Last reply Reply Quote 0
          • V Offline
            VanDerPol
            last edited by VanDerPol

            hello
            I have the same problem like rakostamas.
            As headline there stands Spritpreise und below there stands loading.
            I am from Austria and I use provider Spritpreisrechner.
            Unfortunately I can’t find the mistake. Could you please help me?
            Sorry My english is not the yellow from the egg :)
            My Config:

            :::

            {
                                 module: "MMM-Fuel",
                                 position: "top_right",
                                 config: {
                                         lat: 48.527710,
                                         lng: 16.361530,
                                         radius: 15,
                                         max: 5,
                                         map_api_key: false,
                                         zoom: 12,
                                         width: 600,
                                         height: 600,
                                         colored: true,
                                         open: false,
                                         shortenText: false,
                                         showAddress: true,
                                         showOpenOnly: false,
                                         iconHeader: true,
                                         rotate: true,
                                         types: ['diesel'],
                                         sortBy: 'diesel',
                                         rotateInterval: 60 * 1000, // every minute
                                         updateInterval: 15 * 60 * 1000, // every 15 minutes
                                         provider: 'spritpreisrechner',
                                         toFixed: false
                                 }
            

            :::

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

              I just merged a new version of this module into master.

              New: Support for gas stations in new south wales australia

              Changed: I rewrote most of the module, make sure you also install the dependencies after the update.

              [card:fewieden/MMM-Fuel]

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

              1 Reply Last reply Reply Quote 0
              • D Offline
                Daugenix
                last edited by

                Can I only show 3 specific gas stations?
                The gas stations that are displayed to me, I never go there

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  Daugenix @Daugenix
                  last edited by

                  @Daugenix said in MMM-Fuel:

                  Can I only show 3 specific gas stations?
                  The gas stations that are displayed to me, I never go there

                  Statement:
                  max: 3
                  is not what I mean.

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

                    @Daugenix this is currently not implemented as most providers give not many results back

                    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

                      Version 2.0.1

                      Fixed: Ellipsis rendering in nunjuck template with config option shortenText active

                      [card:fewieden/MMM-Fuel]

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

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        db1mso
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          anno1972
                          last edited by

                          Hi all

                          tankerkoenig does not provide API keys anomore - as far as I see there is no free provider anymore.
                          How will this module run in future?

                          Cheers
                          Andy

                          FoziF cowboysdudeC 2 Replies Last reply Reply Quote 0
                          • FoziF Offline
                            Fozi Project Sponsor @anno1972
                            last edited by

                            @anno1972 you can still register for a API key
                            https://creativecommons.tankerkoenig.de/ —> API-key

                            HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                            A 1 Reply Last reply Reply Quote 0
                            • A Offline
                              anno1972 @Fozi
                              last edited by

                              @Fozi thanks - by fault I used the wrong link to the Tankerkönig Monitor where registration wasn’t possible

                              Happy New Year

                              1 Reply Last reply Reply Quote 0
                              • cowboysdudeC Offline
                                cowboysdude Module Developer @anno1972
                                last edited by

                                @anno1972 NO api, no work.

                                It can be done … I did it for the US but no clue about outside the country…

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  Stefan_TR96
                                  last edited by

                                  Hi, since I updated MagicMirror I have a Problem running MMM-Fuel. I’m using the Provider “Spritpreisrechner” and it’s only “Loading”.

                                  npm start dev
                                  

                                  puts out the error

                                  TypeError: collection[type] is not iterable
                                  at Object.getData (/home/pi/MagicMirror/modules/MMM-Fuel/apis/spritpreisrechner.js:141:41)
                                  at process._tickCallback (internal/process/next_tick.js:68:7)

                                  Anybody an idea what I can do to solve this problem?

                                  Thanks S

                                  cowboysdudeC S 2 Replies Last reply Reply Quote 0
                                  • cowboysdudeC Offline
                                    cowboysdude Module Developer @Stefan_TR96
                                    last edited by

                                    @Stefan_TR96 Data could have changed.

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

                                      @Stefan_TR96 did u run npm install in the module folders with a package.json file? u need to

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

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

                                        @sdetweil said in MMM-Fuel:

                                        @Stefan_TR96 did u run npm install in the module folders with a package.json file? u need to

                                        tried to install it again and got following warning:

                                        npm WARN stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 but none is installed. You must install peer dependencies yourself.

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

                                          @Stefan_TR96 that’s just a warning

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            Stefan_TR96
                                            last edited by

                                            @cowboysdude if I type the generated url manually to the browser, I get the data

                                            S 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
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 8
                                            • 9
                                            • 1 / 9
                                            • 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