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-Gas

    Scheduled Pinned Locked Moved Transport
    56 Posts 13 Posters 21.1k Views 12 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.
    • cowboysdudeC Offline
      cowboysdude Module Developer
      last edited by cowboysdude

      New config option to hide or show distance column.

      example config:

      {
                disabled: false,
                module: "MMM-Gas",
                position: "top_left",
                config: {
                   zip: "14904",
                   items: 10,
                   typeGas: "",	//premium, mid-grade, diesel, or blank for regular
                   sortBy: "price", 	//distance, price
             distance: false //default is true, so using true just don't use distance in your config
        		}			   
            },
      

      DO a git pull in the MagicMirror/modules/MMM-Gas dir to update!

      AND a HUGE Thanks to @mochman for all the help!!!

      Mykle1M 1 Reply Last reply Reply Quote 2
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @cowboysdude
        last edited by

        @cowboysdude

        Thanks. I really like this module alot. Very nice options and I love the mouse overs. Fantastic work! :thumbsup:

        0_1538787518808_gasas.png

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 2
        • R Offline
          rob73
          last edited by

          Awesome!

          1 Reply Last reply Reply Quote 0
          • richland007R Offline
            richland007
            last edited by

            Is this still working?? It was working flawlessly for me before but i turned the MM off for like 3 months when i was doing some work around the house and when i turned it back on i do not see anything on my list of gas stations.

            It just says updated at this time and date but nothing listed.
            I did a git pull thinking that something might have been updated in those 3 months but nothing changed.

            Anyone else experiencing difficulties ???

            D

            Mykle1M cowboysdudeC 2 Replies Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @richland007
              last edited by Mykle1

              @richland007 said in MMM-Gas:

              Anyone else experiencing difficulties ???

              I just did a git pull on my current installation and everything seems to be working just fine.

              Have you made any modifications? Are there any errors being reported in the terminal or dev console?

              0_1559174344599_Screenshot from 2019-05-29 19-57-26.png

              Create a working config
              How to add modules

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

                @richland007 Do a git pull as things did change and I updated it a month ago or so.

                1 Reply Last reply Reply Quote 0
                • richland007R Offline
                  richland007
                  last edited by

                  I did a git pull and than an npm install insde the module but still no luck only updated on today’s date and time.
                  No list of gas stations nothing just that.

                  Do we have to change anything in the module settings on the config.js file for the update??

                  Denis

                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @richland007
                    last edited by Mykle1

                    @richland007

                    This should be your config entry. Have you tried another zip code? See if this one works.

                    {
                                disabled: false,
                                module: "MMM-Gas",
                                position: "top center",
                                config: {
                                    zip: "10306"
                                }
                            },
                    

                    Create a working config
                    How to add modules

                    richland007R 1 Reply Last reply Reply Quote 1
                    • richland007R Offline
                      richland007 @Mykle1
                      last edited by

                      @Mykle1 Nothing solved it but a complete rm -rf and than a reinstall now it works fine
                      thank you
                      D

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @richland007
                        last edited by

                        @richland007

                        :thumbsup:

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 3 / 6
                        • 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