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 Unsolved Troubleshooting
    8 Posts 3 Posters 889 Views 3 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.
    • R Offline
      Redicaljk
      last edited by

      I have seen a number of posts stating that this module no longer works. Can someone confirm this?

      I have set up the module but no data is showing so I assume it’s not able to pull data from gasbuddy.

      S 1 Reply Last reply Reply Quote 0
      • P Offline
        p1lspeda
        last edited by

        I’m have similar problems using MMM-Fuel and tankerkönig.
        My API Key (tankerkönig) runs fine on my OpenHAB installation but MMM-Fuel replies with

        [2026-07-14 16:36:19.744] [ERROR] [MMM-Fuel] MMM-Fuel: Failed to retrieve prices FetchError: Invalid response body while trying to fetch https://creativecommons.tankerkoenig.de/json/list.php?lat=49.994944&lng=8.278279&rad=5&type=all&apikey=[I-wont-give-you-my-apikey]&sort=dist: Premature close
            at Gunzip.<anonymous> (/home/pi/MagicMirror/modules/MMM-Fuel/node_modules/node-fetch/lib/index.js:217:52)
            at Gunzip.emit (node:events:521:24)
            at emitErrorNT (node:internal/streams/destroy:170:8)
            at emitErrorCloseNT (node:internal/streams/destroy:129:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
          type: 'system',
          errno: 'ERR_STREAM_PREMATURE_CLOSE',
          code: 'ERR_STREAM_PREMATURE_CLOSE'
        }
        

        Would love to see a fix

        S 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @p1lspeda
          last edited by

          @p1lspeda best to open and issue on the module github page to engage the module author, most don’t visit the forum often

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @Redicaljk there is an open issue, on the module repo… looks like Gasbuddy removed the api the module used

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @p1lspeda ah, node-fetch… there is an electron bug in the 2.37 version of Electron

              do this
              stop MagicMirror

              cd ~/MagicMirror
              npm install electron@43.1.0
              

              start MagicMirror

              please advise

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              P 1 Reply Last reply Reply Quote 1
              • P Offline
                p1lspeda @sdetweil
                last edited by

                @sdetweil said:

                npm install electron@43.1.0

                You are the GOAT.
                Thanks, your hint fixed my issue.

                S 2 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil @p1lspeda
                  last edited by

                  @p1lspeda awesome!!

                  second module impacted…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @p1lspeda said:

                    npm install electron@43.1.0

                    I opened issue on the MMM-Fuel repo
                    https://github.com/fewieden/MMM-Fuel/issues/128

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    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 / 1
                    • 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