• 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 389.0k 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
    Stoffbeuteluwe Project Sponsor @strawberry 3.141
    last edited by May 5, 2020, 6:12 AM

    @strawberry-3-141 Hi,
    is it possible to change the name from E5 to Super?

    S 1 Reply Last reply May 5, 2020, 4:39 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @Stoffbeuteluwe
      last edited by May 5, 2020, 4:39 PM

      @Stoffbeuteluwe to not touch any source files of the module you can add the following to the custom.css file

      .MMM-Fuel th:nth-child(2) span { /* Replace 2 with the correct column */
          visibility: hidden;
      }
      
      .MMM-Fuel th:nth-child(2) span:after { /* Replace 2 with the correct column */
          visibility: visible;
          content: "Super";
          margin-left: -21px; /* Pixels that the original text occupies */
      }
      

      Screenshot from 2020-05-05 18-26-05.png
      Screenshot from 2020-05-05 18-27-09.png

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

      S 1 Reply Last reply May 5, 2020, 7:28 PM Reply Quote 1
      • S Offline
        Stoffbeuteluwe Project Sponsor @strawberry 3.141
        last edited by May 5, 2020, 7:28 PM

        @strawberry-3-141 Oh Perfect thank you very much

        1 Reply Last reply Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer
          last edited by May 7, 2020, 7:22 PM

          [2.1.1]

          Fixed

          • Wrong value in config option sortBy no longer keeps module in state loading forever.

          https://github.com/fewieden/MMM-Fuel

          [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
          • P Offline
            Pielo
            last edited by Pielo Oct 16, 2020, 3:03 PM Oct 16, 2020, 2:46 PM

            Hello,

            when i set the shortenText-Function on true, then comes the first lettern only. When I set this function on false, than is the module to wide.

            What can i do? Can I set the size of this modul?

            alt text

            S 1 Reply Last reply Oct 21, 2020, 6:46 AM Reply Quote 0
            • S Offline
              strawberry 3.141 Project Sponsor Module Developer @Pielo
              last edited by Oct 21, 2020, 6:46 AM

              @Pielo the documentation states that you need to provide an integer of how many character you want to see, the value false is just to deactivate the behavior.

              Option          Default Description
              shortenText	false	Integer of characters to be shown for name and address. Default shows all.
              

              If you do shortenText: 5, then it will show 5 characters and shortenText: 10 will show 10 and so on

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

              1 Reply Last reply Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer
                last edited by Dec 28, 2020, 6:24 PM

                Version 2.1.2

                Added

                • Config option showDistance https://github.com/fewieden/MMM-Fuel/pull/49
                • Missing jsdoc documentation

                Changed

                • Dependency update

                Fixed

                • Deinit map had a hardcoded index for markers.

                https://github.com/fewieden/MMM-Fuel

                [card:fewieden/MMM-Fuel]

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

                S 1 Reply Last reply Apr 4, 2021, 2:47 PM Reply Quote 2
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer @strawberry 3.141
                  last edited by Apr 4, 2021, 2:47 PM

                  Version 2.2.0

                  Thanks to @TheDuffman85 for his contribution to this release. This version allows either to search by radius, specific station, or a combination of those two for provider Tankerkönig (Germany).

                  Added

                  • Config option stationIds to check prices of specific gas stations (Tankerkönig only)
                  • Github actions

                  Changed

                  • 3rd decimal is now superscripted
                  • Price and distance values are now localized based on global config option locale.

                  Removed

                  • Travis-CI integration

                  fuel.png

                  https://github.com/fewieden/MMM-Fuel

                  [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
                    RIKKO14
                    last edited by Apr 5, 2021, 9:41 AM

                    Hello,
                    Does this module work for France?

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      eniac
                      last edited by Apr 5, 2021, 3:15 PM

                      Hello … getting this Error with npm start DEV

                      [17:08:01.452] [LOG] Error: Error no fuel station detail
                      at setStationInfos (/home/pi/MagicMirror/modules/MMM-Fuel/apis/tankerkoenig.js:189:19)
                      at process._tickCallback (internal/process/next_tick.js:68:7)

                      
                          module: "MMM-Fuel",
                          position: "top_right",
                          config: {
                      	//provider: "tankerkoenig",
                              api_key: "xxxxxxxxxxxxxxxxxxxxxx",
                      	lat: 50.873798,
                              lng: 8.023410,
                              types: ["E5"],
                      	updateInterval: 60000,
                      	stationIds: 
                      			[
                        {
                          "id": "9ac83212-c785-476f-9862-34a4b04f6320",
                          "name": "BELL Oil",
                           ......................................
                      

                      What could that be ?

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 14
                      • 15
                      • 16
                      • 17
                      • 18
                      • 16 / 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