• 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 447.9k 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.
  • O Offline
    ostfilinchen
    last edited by Nov 17, 2016, 8:22 PM

    At the Moment there’s no Option to disable the rotate-feature.

    U can open an issue on github to ask, if he can create this option.

    L 1 Reply Last reply Nov 17, 2016, 8:29 PM Reply Quote 0
    • L Offline
      lolobyte @ostfilinchen
      last edited by Nov 17, 2016, 8:29 PM

      @ostfilinchen Thank you, erledigt! ;-)

      S 1 Reply Last reply Nov 17, 2016, 9:57 PM Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer @lolobyte
        last edited by Nov 17, 2016, 9:57 PM

        @lolobyte done

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

        L 1 Reply Last reply Nov 17, 2016, 10:15 PM Reply Quote 0
        • L Offline
          lolobyte @strawberry 3.141
          last edited by Nov 17, 2016, 10:15 PM

          @strawberry-3.141 thank you.
          Very fast reaktion.
          It works.

          1 Reply Last reply Reply Quote 0
          • O Offline
            ostfilinchen
            last edited by Nov 26, 2016, 8:14 AM

            Hi @strawberry-3-141. I have an Issue with this module. My Mirror shows me no gasprice list. I wonder about it and so i check logfiles and so on. I also rebuild the string that get the request from tankerkoenig.de. The Response says: API-KEY blocked. Please contact tankerkoenig.de.

            On the website of tankekoenig u can download a logfile from our api-key. here i saw, that tankerkoenig get very often gets an request.

            [code]
            IP-ADDRESS - - [25/Nov/2016:06:28:21 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.008
            IP-ADDRESS - - [25/Nov/2016:06:29:50 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.017
            IP-ADDRESS - - [25/Nov/2016:06:29:50 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.017
            IP-ADDRESS - - [25/Nov/2016:06:30:07 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.009
            IP-ADDRESS - - [25/Nov/2016:06:31:47 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.014
            IP-ADDRESS - - [25/Nov/2016:06:33:08 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.012
            IP-ADDRESS - - [25/Nov/2016:06:34:04 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.015
            IP-ADDRESS - - [25/Nov/2016:06:34:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.011
            IP-ADDRESS - - [25/Nov/2016:06:34:46 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.016
            IP-ADDRESS - - [25/Nov/2016:06:35:06 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.013
            IP-ADDRESS - - [25/Nov/2016:06:36:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.025
            IP-ADDRESS - - [25/Nov/2016:06:36:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.025
            IP-ADDRESS - - [25/Nov/2016:06:36:50 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.009
            IP-ADDRESS - - [25/Nov/2016:06:37:06 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.008
            IP-ADDRESS - - [25/Nov/2016:06:37:37 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.011
            IP-ADDRESS - - [25/Nov/2016:06:39:05 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.020
            IP-ADDRESS - - [25/Nov/2016:06:39:18 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.021
            IP-ADDRESS - - [25/Nov/2016:06:39:24 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.016
            IP-ADDRESS - - [25/Nov/2016:06:43:21 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.013
            IP-ADDRESS - - [25/Nov/2016:06:44:51 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.028
            IP-ADDRESS - - [25/Nov/2016:06:44:51 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.032
            IP-ADDRESS - - [25/Nov/2016:06:45:07 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.013
            IP-ADDRESS - - [25/Nov/2016:06:46:47 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.016
            IP-ADDRESS - - [25/Nov/2016:06:48:08 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.016
            IP-ADDRESS - - [25/Nov/2016:06:49:04 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.011
            IP-ADDRESS - - [25/Nov/2016:06:49:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.010
            IP-ADDRESS - - [25/Nov/2016:06:49:47 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.017
            IP-ADDRESS - - [25/Nov/2016:06:50:06 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.018
            IP-ADDRESS - - [25/Nov/2016:06:51:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.027
            IP-ADDRESS - - [25/Nov/2016:06:51:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.031
            IP-ADDRESS - - [25/Nov/2016:06:51:53 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.011
            IP-ADDRESS - - [25/Nov/2016:06:52:06 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.017
            IP-ADDRESS - - [25/Nov/2016:06:52:36 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.017
            IP-ADDRESS - - [25/Nov/2016:06:54:07 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.015
            IP-ADDRESS - - [25/Nov/2016:06:54:18 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.014
            IP-ADDRESS - - [25/Nov/2016:06:54:25 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.011
            IP-ADDRESS - - [25/Nov/2016:06:58:21 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104 “-” “-” 0.025
            IP-ADDRESS - - [25/Nov/2016:06:59:50 +0100] “GET /json/list.php?lat=51.282854&lng=14.109648&rad=16&type=all&apikey=API-KEY-HERE&sort=dist HTTP/1.1” 200 104
            [/code]

            Can u please look in the code whats going wrong?

            Regards
            Daniel

            S 1 Reply Last reply Nov 26, 2016, 8:19 AM Reply Quote 0
            • S Offline
              strawberry 3.141 Project Sponsor Module Developer @ostfilinchen
              last edited by Nov 26, 2016, 8:19 AM

              @ostfilinchen did you may test something on your mirror and restarted it every time? can you post your config part of mmm-fuel?

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

              1 Reply Last reply Reply Quote 0
              • O Offline
                ostfilinchen
                last edited by Nov 26, 2016, 8:22 AM

                no, i don’t restart the mirror.

                here is the part of the config:

                	{
                	module: "MMM-Fuel",
                	position: "top_center",
                	config: {
                		api_key: "API-KEY",
                		lat: 51.282854,
                		lng: 14.109648,
                		types: ["e5","diesel"],
                		sortBy: "e5",
                		open: true,
                		radius: 16,
                		max: 3
                			}
                	},
                
                1 Reply Last reply Reply Quote 0
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer
                  last edited by Nov 26, 2016, 8:34 AM

                  i will check it this afternoon

                  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 strawberry 3.141 Dec 5, 2016, 12:57 PM Dec 5, 2016, 12:57 PM

                    @ostfilinchen i tested some stuff and the only thing which forced the module to refresh data more often then it was defined in the config was by restarting the mirror what you said was not your case and accessing the mirror with a browser via another computer. everytime you refresh that page it will load the data.

                    @lolobyte your issue in github is resolved now

                    if there is one fuel type present in config and thie price is 0€ the gas station gets completely removed from the display

                    if there is more than one fuel type in config and one of them has a price greater than 0€ the gas station will be displayed at the end of the list, otherwise the gas stations is also removed from the list

                    [card:fewieden/MMM-Fuel]

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

                    L 1 Reply Last reply Dec 5, 2016, 1:20 PM Reply Quote 0
                    • L Offline
                      lolobyte @strawberry 3.141
                      last edited by Dec 5, 2016, 1:20 PM

                      @strawberry-3.141
                      Great, it works well now.

                      Thank’s a lot.

                      One more question.
                      Can you tell me why your Fuel-Module is shown on my mirror but not in my browser on the laptop?
                      The other Modules are working well. MMM-Fuel is only showing the ModuleName and ModuleNumber.!

                      0_1480943969130_MMM_Fuel.JPG

                      S 1 Reply Last reply Dec 5, 2016, 1:24 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 17
                      • 18
                      • 3 / 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