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.
    • R Offline
      rrrene
      last edited by

      Hi

      great module!
      I wanted to use my own header for your module to get the same look as the other moduled.

      Unfortunately I don‘t understand how to disable the view of your implemented header.

      At the moment I have two headers :)

      Thanks.

      Best regards

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

        @rrrene custom.css .MMM-Fuel header.align-left { display: none; }

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

        R 1 Reply Last reply Reply Quote 1
        • D Offline
          DamienWakeford1
          last edited by

          Hi guys I’m from South Africa, I have just started playing with the magic mirror today I have managed to the calendar weather and news for South Africa I would really like to add fuel prices and email notifications to it but don’t know how and can find any videos showing how to do it just that they did it if that makes sence

          strawberry 3.141S D 2 Replies Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @DamienWakeford1
            last edited by

            @DamienWakeford1 this module supports only germany and austria, not sure if it is possible to get the same information for your country via an api

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

            1 Reply Last reply Reply Quote 0
            • D Offline
              doubleT Module Developer @DamienWakeford1
              last edited by

              @DamienWakeford1

              Do you have a favorite station or brand and do they have a website with live feed of the prices? If they have an API, maybe I have something, if it’s accessable.

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

                @strawberry-3.141 said in MMM-Fuel:

                @rrrene custom.css .MMM-Fuel header.align-left { display: none; }

                Working perfect! Thank you m8.

                Have a nice evening.

                Best regards,
                René

                1 Reply Last reply Reply Quote 0
                • X Offline
                  xray2607
                  last edited by

                  Chaps,
                  Pethaps again a newbie question, but how do I configure this module for Austria, spritpreisrechner?
                  Anything ‘special’ to consider?
                  I do not get an error message for the config.js, but I also do not get a populated list for my Diesel.
                  Do I need to specify the provider, or does the module do the look up based on my location?
                  Any hint/help is greatly appreciated.
                  Many thanks,
                  XR

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

                    @xray2607 you need to specify provider: 'spritpreisrechner', also spritpreisrechner changed the api, so you might want to use the develop branch git checkout develop

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

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      killing joke
                      last edited by

                      Hey @ all,

                      I think I have a small issue with the MMM-Fuel but I don´t know how to solve it. I installed the module as written in the manual but unfortunately it doesn´t show anything on the expected area (bottom_left)
                      Below the snippet of the code within the config.js-file.

                      {
                      			module: "MMM-Fuel",
                      			postion: "bottom_left",
                      			config: {
                      				provider: "tankerkoenig",
                      				api_key: "API-KEY",
                      				lat: 52.9863800,
                      				lng: 9.8433800,
                      				types: ["diesel", "e5"],
                      				sortby: "diesel",
                      				radius: 10,
                      				updateInterval: 900000,
                      				max: 5
                      				}
                      		},
                      

                      Any ideas how I can fix it?
                      Thanks in advance

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        bjoern
                        last edited by

                        I’ve been using the module for a while, but since this morning I’m not getting any posts.

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

                          @killing-joke you wrote postion instead of position

                          @bjoern which provider (tankerkoenig or spritpreisrechner) just checked it and I’m getting results

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

                          K 1 Reply Last reply Reply Quote 0
                          • B Offline
                            bjoern
                            last edited by

                            sorry, my mistake. I had no provider deposited. after I deposited Tankerkoenig everything works again now.

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              killing joke @strawberry 3.141
                              last edited by

                              @strawberry-3-141 said in MMM-Fuel:

                              @killing-joke you wrote postion instead of position

                              Thank you very much. I checked a lot of times the comma and the spaces and braces but didn´t checked the writing.
                              It works fine. Cheers.

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

                                I refactored the module and switched to nunjuck templates.

                                I’m looking for people who are willing to test prices

                                • tankerkoenig germany
                                • spritpreisrechner austria

                                how to test:

                                • if not already done, clone the repository to your modules cd ~/MagicMirror/modules/ && git clone https://github.com/fewieden/MMM-Fuel.git
                                • go to the module cd ~/MagicMirror/modules/MMM-Fuel
                                • run git checkout develop
                                • run npm i
                                • test various config options

                                [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
                                • R Offline
                                  rakostamas
                                  last edited by

                                  Hey, I have just installed the module, but I realized one minor mistake. The distances in the table have too much numbers after the decimal point. Where can I change it to just one decimal number?

                                  1 Reply Last reply Reply Quote 0
                                  • O Offline
                                    othomys
                                    last edited by

                                    Hello,

                                    I use the tankerkoenig-api to let me see the German fuel prices. Unfortunately, the special characters (ä, ö, ü, ß, …) are not displayed correctly. At which point can I adapt the encoding?

                                    Thank you in advance.

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

                                      Is there anyway to to get this for UK fuel prices?

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

                                        @rakostamas I try to adjust it in the next update.
                                        @othomys I think that’s a problem with the nunjuck templates that I didn’T figure out yet.
                                        @dazza120 is there a public api for it?

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

                                        D R 2 Replies Last reply Reply Quote 0
                                        • D Offline
                                          dazza120 @strawberry 3.141
                                          last edited by

                                          @strawberry-3-141 doesn’t look like the UK does have an api for fuel prices

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

                                            @strawberry-3-141
                                            I reinstalled the mirror and installed the module again, however it stopped working. (It’s shows only “loading”) I’m using the same config file as before. Every module beside this working :/ Is it possible, that there is a bug in the module?

                                            strawberry 3.141S 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
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 8 / 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