• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 415.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
    Seansation
    last edited by Aug 11, 2021, 12:21 PM

    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

    S 1 Reply Last reply Aug 15, 2021, 5:06 AM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @Seansation
      last edited by Aug 15, 2021, 5:06 AM

      @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
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer
        last edited by Apr 23, 2022, 2:22 PM

        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

        C 1 Reply Last reply May 13, 2022, 1:08 PM Reply Quote 2
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer
          last edited by May 12, 2022, 3:44 PM

          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
          • J Offline
            JerryP
            last edited by May 13, 2022, 6:56 AM

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

            1 Reply Last reply Reply Quote 0
            • R Offline
              Ray
              last edited by May 13, 2022, 10:11 AM

              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
              • C Offline
                cowboysdude Module Developer @strawberry 3.141
                last edited by May 13, 2022, 1:08 PM

                @strawberry-3-141 Looks great!

                1 Reply Last reply Reply Quote 0
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer
                  last edited by May 13, 2022, 3:24 PM

                  @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 Jun 21, 2022, 4:03 PM

                    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

                    S 1 Reply Last reply Jun 23, 2022, 5:55 AM Reply Quote 0
                    • S Offline
                      strawberry 3.141 Project Sponsor Module Developer @NSpr
                      last edited by Jun 23, 2022, 5:55 AM

                      @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
                      • 1
                      • 2
                      • 14
                      • 15
                      • 16
                      • 17
                      • 18
                      • 17 / 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