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.
    • JalibuJ Offline
      Jalibu Module Developer @Commander
      last edited by

      @commander said in MMM-Fuel:

      stationIds: [“238715f9-60d6-4f7a-9e74-c40fdb71a79d,1b41801e-ee5e-490e-86d6-474bafec5dc4,4b9763df-8cce-426f-a1d5-2b44d413550a”],

      try

      stationIds: ["238715f9-60d6-4f7a-9e74-c40fdb71a79d", "1b41801e-ee5e-490e-86d6-474bafec5dc4", "4b9763df-8cce-426f-a1d5-2b44d413550a"],
      
      C 1 Reply Last reply Reply Quote 1
      • C Offline
        Commander @Jalibu
        last edited by

        @jalibu said in MMM-Fuel:

        stationIds: [“238715f9-60d6-4f7a-9e74-c40fdb71a79d”, “1b41801e-ee5e-490e-86d6-474bafec5dc4”, “4b9763df-8cce-426f-a1d5-2b44d413550a”],

        Oh yes tanks !

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

          Hello,

          is it possible to sort by distance without rotation?

          {
          			module: "MMM-Fuel",
          			position: "top_right",
          			config: {
          				api_key: "my_key",
          				showAddress: false,
          				rotate: false,
          				lat: my_lat,
          				lng: my_lng,
          				shortenText: false,
          				types: ["e5"],
          				sortBy: "e5", //possible to sort by distance? e.g. sortBy: "distance"
          					}
          

          Thank you

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

            @seansation this is currently not supported, feel free to send a pr.

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

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

              Now also supporting fuel prices in the USA. Take a look at https://github.com/cowboysdude/MMM-Gas for different style of the same information.

              2.3.0

              MagicMirror² version >= 2.15.0 required.

              Added

              • Provider: autoblog
              • Config option: showBrand
              • Integrated MagicMirror logger on server side
              • Dependency: node-html-parser
              • Config option excludeStationIds to exclude gas stations from radius (Tankerkönig only)

              Changed

              • Updated Github config files
              • Updated dependencies

              Removed

              • Dependency: fs-extra
              • Dependency: geolib

              Link to module https://github.com/fewieden/MMM-Fuel

              autoblog.png

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

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

                2.3.1

                Fixed

                • Tankerkoenig prices for requests with stationIds

                Link to module https://github.com/fewieden/MMM-Fuel

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

                1 Reply Last reply Reply Quote 0
                • JerryPJ Offline
                  JerryP
                  last edited by

                  Is this also running for the Dutch petrol prices???

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    Ray
                    last edited by

                    This is a great app. Good job well done
                    is there a way to add a favorite gas station
                    or make it a future project
                    I’m in the United States so I’m using that configuration

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

                      @strawberry-3-141 Looks great!

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

                        @JerryP currently only Germany, Austria, USA and parts of Australia are covered by the module. If you find an API for fuel prices in the Netherlands I’m happy to integrate it. Please create an issue for the Github repository so it doesn’t get lost https://github.com/fewieden/MMM-Fuel/issues

                        @Ray currently it is only possible for Germany to select specific gas stations. The source for the USA doesn’t provide IDs that you can request for. Please create an issue for the Github repository so we can discuss some posibilities https://github.com/fewieden/MMM-Fuel/issues

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

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          NSpr
                          last edited by

                          Would the below API provide support for the UK and more in one?
                          https://developer.here.com/documentation/fuel-prices/dev_guide/topics/example-fuel-price.html

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

                            @NSpr I was looking into the here API before since it would cover multiple countries at once, but sadly Note: Please note that the Fuel Prices service is only available to automotive OEMs for in-vehicle applications.

                            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

                              Alternative provider for the USA and also supporting Canada and Tasmania (Australia) now.

                              2.4.0

                              Added

                              • Provider: gasbuddy
                              • Config option: fade
                              • Config option: showAddressCity

                              Changed

                              • Migrated provider nsw from API v1 to v2 in order to support new region Tasmania (Australia)
                              • Dependency update

                              Link to module https://github.com/fewieden/MMM-Fuel

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

                              M 1 Reply Last reply Reply Quote 1
                              • M Offline
                                MisterT @strawberry 3.141
                                last edited by MisterT

                                Hi @strawberry-3-141 i’m french and the data for the price of fuel is “opensource”. That’s why you can obtain informations about fuel, price fuel and type of fuel, fuel location, etc…
                                these informations are update every day
                                If you follow these links below, you can find exemple to use data :

                                https://www.data.economie.gouv.fr/explore/dataset/prix-carburants-fichier-quotidien-test-ods/api/(link url)
                                there are different tabs to navigate between graph, informations and locations

                                https://www.data.economie.gouv.fr/api/v2/console(link url)
                                this is the API (i think) to use data

                                I don’t know if it’s possible to integrate french fuel data in your module or it’s too complicated because i’m a noob in programmation/coding.

                                Maybe you can check these informations and tell me if possible?

                                and sorry for my english :-)

                                Thx

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

                                  @MisterT I don’t see why it should not be possible. Please create a feature request in the GitHub repository https://github.com/fewieden/MMM-Fuel/issues

                                  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

                                    2.5.0

                                    Thanks to marcx28 for their contributions.

                                    Fixed

                                    • Sorting by price

                                    Added

                                    • Dependency: lodash

                                    Changed

                                    • Allow custom header text

                                    Link to module https://github.com/fewieden/MMM-Fuel

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

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