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 486.8k 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.
    • S Do not disturb
      sdetweil
      last edited by

      wrong folder… in MagicMirror always for start. not module folder

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • R Offline
        rakostamas @sdetweil
        last edited by

        @sdetweil

        0 info it worked if it ends with ok
        1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start', 'dev' ]
        2 info using npm@6.6.0
        3 info using node@v9.11.2
        4 verbose stack Error: missing script: start
        4 verbose stack     at run (/usr/lib/node_modules/npm/lib/run-script.js:155:19)
        4 verbose stack     at /usr/lib/node_modules/npm/lib/run-script.js:63:5
        4 verbose stack     at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:115:5
        4 verbose stack     at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:418:5
        4 verbose stack     at checkBinReferences_ (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:373:45)
        4 verbose stack     at final (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:416:3)
        4 verbose stack     at then (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:160:5)
        4 verbose stack     at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:364:12
        4 verbose stack     at /usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:90:16
        4 verbose stack     at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:525:3)
        5 verbose cwd /home/pi/MagicMirror/modules/MMM-Fuel
        6 verbose Linux 4.14.79-v7+
        7 verbose argv "/usr/bin/node" "/usr/bin/npm" "start" "dev"
        8 verbose node v9.11.2
        9 verbose npm  v6.6.0
        10 error missing script: start
        11 verbose exit [ 1, true ]
        
        
        S strawberry 3.141S 2 Replies Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @rakostamas
          last edited by

          @rakostamas said in MMM-Fuel:

          /home/pi/MagicMirror/modules/MMM-Fuel

          please do

          cd ~/MagicMirror
          

          then

          npm start dev
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • R Offline
            rakostamas
            last edited by

            Yes I got errors.

            GET http://localhost:8080/modules/MMM-Fuel//MMM-Fuel.js net : : ERR_CACHE_READ_FAILURE
            Error on loading script: modules/MMM-Fuel//MMM-Fuel.js
            
            1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil
              last edited by

              sorry, I do not know why reading from the local disk would fail with cache read failure error

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @rakostamas as @sdetweil already mentioned you need to start the mirror not the module.

                cd ~/MagicMirror && npm start dev

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

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  rakostamas @strawberry 3.141
                  last edited by

                  @strawberry-3-141
                  yes, I have opened it, and I got the errors what I wrote in my last comment

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

                    @rakostamas did you check that the file exists? Maybe something went wrong during the cloning of the module

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

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      VanDerPol
                      last edited by VanDerPol

                      hello
                      I have the same problem like rakostamas.
                      As headline there stands Spritpreise und below there stands loading.
                      I am from Austria and I use provider Spritpreisrechner.
                      Unfortunately I can’t find the mistake. Could you please help me?
                      Sorry My english is not the yellow from the egg :)
                      My Config:

                      :::

                      {
                                           module: "MMM-Fuel",
                                           position: "top_right",
                                           config: {
                                                   lat: 48.527710,
                                                   lng: 16.361530,
                                                   radius: 15,
                                                   max: 5,
                                                   map_api_key: false,
                                                   zoom: 12,
                                                   width: 600,
                                                   height: 600,
                                                   colored: true,
                                                   open: false,
                                                   shortenText: false,
                                                   showAddress: true,
                                                   showOpenOnly: false,
                                                   iconHeader: true,
                                                   rotate: true,
                                                   types: ['diesel'],
                                                   sortBy: 'diesel',
                                                   rotateInterval: 60 * 1000, // every minute
                                                   updateInterval: 15 * 60 * 1000, // every 15 minutes
                                                   provider: 'spritpreisrechner',
                                                   toFixed: false
                                           }
                      

                      :::

                      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 merged a new version of this module into master.

                        New: Support for gas stations in new south wales australia

                        Changed: I rewrote most of the module, make sure you also install the dependencies after the update.

                        [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
                        • 1
                        • 2
                        • 10
                        • 11
                        • 12
                        • 13
                        • 14
                        • 17
                        • 18
                        • 12 / 18
                        • 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