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.
    • S Offline
      sindbad6
      last edited by

      Hi, I made a change in my MM-Fuel.js to implement an additional parameter for shortening the address of a gas station. It is not a big thing, but I would like if it would be integrated in the repository. The point is, I never have done it before. In between I got an account at github, but know? Can somebody give me a link where I can find belonging infos?

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

        @sindbad6 in short:

        • fork the repository
        • make your changes
        • push them to the fork
        • create a pull request

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

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sindbad6 @strawberry 3.141
          last edited by

          @strawberry-3.141 Ok, I did it now. I’m not sure if I did right. Please inform me if something was wrong. I’m a little bit surprised, to get the possibility to merge my changes.

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

            @sindbad6 you closed your pull request and deleted the branch so there is no possibility to merge your changes

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

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sindbad6 @strawberry 3.141
              last edited by

              @strawberry-3.141 That’s what I was afraid of. I will try to correct it.

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

                Changelog v1.1.0

                • API provider development Guide.
                • API provider spritpreisrechner.at.
                • Disabled markdownlint rule MD026 (no-trailing-punctuation)
                • Disabled eslint rule no-console
                • Documentation
                • Doclets.io integration
                • Contributing guidelines
                • Issue template
                • Pull request template

                [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
                • A Offline
                  Anhalter42
                  last edited by

                  Anyone considered adding support of multiple locations? Useful for example for commuters to lookup prices at start and destination (and/or somewhere in between) of their daily way to work.

                  1 Reply Last reply Reply Quote 0
                  • garblefluxG Offline
                    garbleflux Project Sponsor
                    last edited by

                    hi strawberry. Absolut nice work, I use it daily! One question: How did you get the in the example (Cheapest Gas Stations) all the text in the listing left justified?

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

                      @garbleflux if you scroll down there is module configuration https://github.com/MichMich/MagicMirror#configuration you can add the class align-left

                      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 strawberry 3.141

                        Changelog v1.1.1

                        • Disabled markdownlint rule MD024 (no-duplicate-header)
                        • Config option toFixed to show only 2 decimals for the price.
                        • Coordinate.to() throws exception if start point is not set.

                        Upcoming release v1.2.0
                        https://github.com/fewieden/MMM-Fuel/projects/1

                        [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
                        • rudibaraniR Offline
                          rudibarani Project Sponsor @strawberry 3.141
                          last edited by

                          Hi @strawberry-3.141,
                          thanks for creating this great module! Would any of the following be possible?

                          • hide the distance column
                          • show the prices of pre-selected gas stations
                          • show e.g. the three cheapest plus some pre-selected gas stations
                          strawberry 3.141S 1 Reply Last reply Reply Quote 0
                          • strawberry 3.141S Offline
                            strawberry 3.141 Project Sponsor Module Developer @rudibarani
                            last edited by

                            @rudibarani you can hide the distance column with css in custom.css, the other points are currently not possible

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

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

                              Hi and Thanks for this module.

                              I’ve only one Problem: I did not get the column with the price ;)

                              It seems all other things are okay.

                              What can i do/check?

                              Thanks a lot for every tip :)

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

                                @kiki99 can you post your config?

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

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

                                  @strawberry-3.141: yes, of course ;)

                                  	{
                                  		module: 'MMM-Fuel',
                                  		position: 'lower_third',
                                  		config: {
                                      		api_key: 'myApiKeyHere,
                                      		lat: 49.164136,
                                      		lng: 9.059751,
                                      		types: ["E5"],
                                  		sortBY: "E5",
                                  		radius: 10,
                                  		colored: true,
                                  		open: true,
                                  		rotate: false
                                  		}
                                  	},
                                  

                                  i see no prices (no column for that). But the List works.

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

                                    @kiki99

                                    {
                                      module: 'MMM-Fuel',
                                      position: 'lower_third',
                                      config: {
                                        api_key: 'myApiKeyHere',
                                        lat: 49.164136,
                                        lng: 9.059751,
                                        types: ["e5"],
                                        sortBy: "e5",
                                        radius: 10,
                                        colored: true,
                                        open: true,
                                        rotate: false
                                      }
                                    },
                                    

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

                                    K 1 Reply Last reply Reply Quote 0
                                    • 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

                                            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
                                            • 2 / 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