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 36.6k 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.
    • S Offline
      sdetweil @JohnGalt
      last edited by sdetweil

      @JohnGalt i dont see mmm-gas in the loaded modules list

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 2 Replies Last reply Reply Quote 0
      • J Offline
        JohnGalt @sdetweil
        last edited by

        @sdetweil – True. I’m not sure why that is. I will try reinstalling it.

        1 Reply Last reply Reply Quote 0
        • J Offline
          JohnGalt @sdetweil
          last edited by

          @sdetweil
          @cowboysdude
          So i reinstalled this module, and it still does not display on the Magic Mirror. [

          It now it does appear to load the module:

          0|MagicMirror  | [2024-09-30 16:19:22.987] [LOG]   Connecting socket for: MMM-Gas
          0|MagicMirror  | [2024-09-30 16:19:22.988] [LOG]   Starting module: MMM-Gas
          

          And check the status of the module along with others:

          0|MagicMirror  | [2024-09-30 16:19:32.585] [INFO]  Newsfeed-Fetcher: Broadcasting 38 items.
          0|MagicMirror  | [2024-09-30 16:19:32.936] [INFO]  Checking git for module: MMM-Pollen
          0|MagicMirror  | [2024-09-30 16:19:33.379] [INFO]  Checking git for module: MMM-Gas
          0|MagicMirror  | [2024-09-30 16:19:33.570] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
          0|MagicMirror  | [2024-09-30 16:19:33.724] [INFO]  Checking git for module: MMM-DynamicWeather
          0|MagicMirror  | [2024-09-30 16:19:34.030] [INFO]  Checking git for module: MagicMirror
          

          But there is still something missing.

          Could it has something to do with the dependency issues?

          pi@mirror1:~/MagicMirror/modules $ git clone https://github.com/cowboysdude/MMM-Gas
          Cloning into 'MMM-Gas'...
          remote: Enumerating objects: 135, done.
          remote: Counting objects: 100% (6/6), done.
          remote: Compressing objects: 100% (6/6), done.
          remote: Total 135 (delta 2), reused 0 (delta 0), pack-reused 129 (from 1)
          Receiving objects: 100% (135/135), 89.19 KiB | 553.00 KiB/s, done.
          Resolving deltas: 100% (67/67), done.
          pi@mirror1:~/MagicMirror/modules $ cd MMM-Gas
          pi@mirror1:~/MagicMirror/modules/MMM-Gas $ NPM INSTALL
          -bash: NPM: command not found
          pi@mirror1:~/MagicMirror/modules/MMM-Gas $ npm install
          npm WARN deprecated har-validator@5.1.5: this library is no longer supported
          npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
          
          added 67 packages, and audited 68 packages in 12s
          
          17 packages are looking for funding
            run `npm fund` for details
          
          2 moderate severity vulnerabilities
          
          Some issues need review, and may require choosing
          a different dependency.
          
          Run `npm audit` for details.
          
          D 1 Reply Last reply Reply Quote 0
          • D Offline
            DDE12 @JohnGalt
            last edited by

            @JohnGalt
            Have you made any progress figuring this out? I am having the same problem. The module loads but doesn’t show that it is getting any data.

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              JohnGalt @DDE12
              last edited by

              @DDE12 – No, still nothing displayed from this module.

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MarcLandis Module Developer @JohnGalt
                last edited by

                @JohnGalt @sdetweil it seems that the website doesn’t provide the data anymore. This is an URL that is build in the module:

                https://www.autoblog.com/14904-gas-prices/

                it results in a 404:

                9990ce49-5ce6-4b16-8e78-db4d15ee480b-image.png

                J D 2 Replies Last reply Reply Quote 0
                • J Offline
                  JohnGalt @MarcLandis
                  last edited by

                  @MarcLandis yes, that’s what I found too when I tried accessing the data directly. I was confused though that there is/was no error in the pm2 logs…

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @JohnGalt
                    last edited by

                    @JohnGalt most modules do not handle or report errors

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      JohnGalt @sdetweil
                      last edited by

                      @sdetweil – Huh, good to know. Thanks.

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        DDE12 @MarcLandis
                        last edited by

                        @MarcLandis
                        That is unfortunate. I looked around a bit to see if there is another option but did not find anything free. (:

                        plainbrokeP 1 Reply Last reply Reply Quote 0
                        • plainbrokeP Offline
                          plainbroke @DDE12
                          last edited by

                          @DDE12

                          You can try MMM-Fuel you have to use gasbuddy instead of autoblog.
                          It works for me at least for now…

                          Slow learner. But trying anyways.
                          MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
                          Running Trixie and the latest MM version.

                          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
                          • 2 / 3
                          • 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