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.
    • B Offline
      bjoern
      last edited by

      it works fine! Thanks a lot !!!

      1 Reply Last reply Reply Quote 0
      • W Offline
        WeedWood
        last edited by

        Perfect!!!

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

          After @ostfilinchen reported an issue with missing leading zeros for some postcodes, I contacted the API provider but didn’t receive any response. So i fixed it myself.

          [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
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer
            last edited by strawberry 3.141

            [card:fewieden/MMM-Fuel]

            Changelog:

            Implemented voice commands to show the gas stations on a map with traffic layer

            alt text

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

            1 Reply Last reply Reply Quote 1
            • O Offline
              ostfilinchen
              last edited by

              Hi @strawberry-3-141 ,

              is it possible, to implement an delay so that i can start this module 2 time with different sorts? Otherwise can u implement more then 1 fuel sort?

              Regards
              Daniel

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

                @ostfilinchen will look into this

                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 ostfilinchen

                  @strawberry-3-141: i’ve made changes in MMM-Fuel.js, node_helper.js, de.json and en.json. Now it works as it should.
                  The Parameter ‘type’ in the config.js must be now an array.

                  How can i send you these files, so that u can implement in the original files?

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

                    @ostfilinchen create a pull request on github or upload the files as zip

                    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

                      @strawberry-3-141 i’ve open an issue on github

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

                        Changelog:

                        It’s now possible to show

                        • multiple fuel types at once
                        • whether the gas station is open or closed

                        Have a look on the new config options: types, sortBy and open

                        Deprecated config options: type

                        Shootout to @ostfilinchen who did the prework for it

                        alt text

                        [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
                        • yawnsY Offline
                          yawns Moderator
                          last edited by

                          wow, nice improvement!

                          1 Reply Last reply Reply Quote 1
                          • O Offline
                            ostfilinchen
                            last edited by

                            Hi @strawberry-3-141,

                            can u insert the open-Parameter to the readme on github?

                            Daniel

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

                              @ostfilinchen it’s done must have forgot that one

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

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                FlorianRD
                                last edited by

                                I didn’t need the “rotate Intervall”. Just sort by price (lower Price first).
                                How to modified the Settings for this result? Thanks

                                1 Reply Last reply Reply Quote 0
                                • lolobyteL Offline
                                  lolobyte
                                  last edited by

                                  Hi, great job.
                                  How to deactivate toggeling “rotateInterval:”

                                  1 Reply Last reply Reply Quote 0
                                  • O Offline
                                    ostfilinchen
                                    last edited by

                                    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.

                                    lolobyteL 1 Reply Last reply Reply Quote 0
                                    • lolobyteL Offline
                                      lolobyte @ostfilinchen
                                      last edited by

                                      @ostfilinchen Thank you, erledigt! ;-)

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

                                        @lolobyte done

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

                                        lolobyteL 1 Reply Last reply Reply Quote 0
                                        • lolobyteL Offline
                                          lolobyte @strawberry 3.141
                                          last edited by

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

                                          1 Reply Last reply Reply Quote 0
                                          • O Offline
                                            ostfilinchen
                                            last edited by

                                            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

                                            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
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 4 / 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