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.
    • cowboysdudeC Offline
      cowboysdude Module Developer @anno1972
      last edited by

      @anno1972 NO api, no work.

      It can be done … I did it for the US but no clue about outside the country…

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

        Hi, since I updated MagicMirror I have a Problem running MMM-Fuel. I’m using the Provider “Spritpreisrechner” and it’s only “Loading”.

        npm start dev
        

        puts out the error

        TypeError: collection[type] is not iterable
        at Object.getData (/home/pi/MagicMirror/modules/MMM-Fuel/apis/spritpreisrechner.js:141:41)
        at process._tickCallback (internal/process/next_tick.js:68:7)

        Anybody an idea what I can do to solve this problem?

        Thanks S

        cowboysdudeC S 2 Replies Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer @Stefan_TR96
          last edited by

          @Stefan_TR96 Data could have changed.

          1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @Stefan_TR96
            last edited by

            @Stefan_TR96 did u run npm install in the module folders with a package.json file? u need to

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil said in MMM-Fuel:

              @Stefan_TR96 did u run npm install in the module folders with a package.json file? u need to

              tried to install it again and got following warning:

              npm WARN stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 but none is installed. You must install peer dependencies yourself.

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @Stefan_TR96
                last edited by

                @Stefan_TR96 that’s just a warning

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @cowboysdude if I type the generated url manually to the browser, I get the data

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @Stefan_TR96
                    last edited by

                    @Stefan_TR96 >tried to install it again and got following warning:

                    what is ‘it’…

                    the module may need updating after MM was updated…

                    do

                    cd ~/MagicMirror/modules/MMM-Fuel
                    npm install
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil i did de install again (changed to MM-Fuel directory and did sudo npm install) as you wrote and got the warning i posted

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @Stefan_TR96
                        last edited by

                        @Stefan_TR96 said in MMM-Fuel:

                        sudo

                        never sudo

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          @sdetweil same results without sudo

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @Stefan_TR96
                            last edited by

                            @Stefan_TR96 yes, does mm run? Do you get output?

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

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

                              @sdetweil yes, mirror and all other modules are running without any errors … just mmm-fuel is displaying loading

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @Stefan_TR96
                                last edited by

                                @Stefan_TR96 open the developers window, ctrl-shift-i on the keyboard, select the console tab and scroll up to see any errors.
                                You can filter by module, by placing part of the module name in the filter field.

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

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

                                  is there any possibility to control this without a physical keybord? I’m just able to connect via Remote desktop or ssh? Thx for your help, I’m a complete beginner

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

                                    I just released version 2.0.2

                                    Added

                                    • French Translations
                                    • Clarification for config option updateInterval in readme

                                    Changed

                                    • Dependency Update

                                    Removed

                                    • Github pages

                                    https://github.com/fewieden/MMM-fuel

                                    [card:fewieden/MMM-Fuel]

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

                                    C 1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      Cetax @strawberry 3.141
                                      last edited by

                                      @strawberry-3-141 Hi,
                                      is there a way to hide the distance?
                                      Can you tell me where I can comment that out?

                                      Thank you for your help.

                                      greeting
                                      Stefan

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

                                        @Cetax add this in your custom.css file at ~/MagicMirror/css/custom.css

                                        .MMM-Fuel th:nth-child(3), .MMM-Fuel td:nth-child(3) {
                                            display: none;
                                        }
                                        

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

                                        C 1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          Cetax @strawberry 3.141
                                          last edited by

                                          @strawberry-3-141 said in MMM-Fuel:

                                          .MMM-Fuel th:nth-child(3), .MMM-Fuel td:nth-child(3) {
                                          display: none;
                                          }

                                          Yeah… :ok_hand:
                                          thank u very much… Thats cool :thumbs_up:

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

                                            The map modal was broken for quite some time, I managed to make it work again and switched to MMM-Modal at the same time.

                                            [2.1.0]

                                            Changed

                                            • Using MMM-Modal to display modals like gas station and voice commands.

                                            https://github.com/fewieden/MMM-Fuel

                                            [card:fewieden/MMM-Fuel]

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

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