• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 481.7k 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.
  • F Offline
    FreddeHamm
    last edited by Oct 15, 2017, 2:24 PM

    Thanks for your help. If i open the magic mirror site via browser (my.rasperry.pi.ip:8080) i see the module. But its not shown on the screen of the mirror itself…

    S 1 Reply Last reply Oct 15, 2017, 9:01 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @FreddeHamm
      last edited by Oct 15, 2017, 9:01 PM

      @FreddeHamm any errors?

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

      1 Reply Last reply Reply Quote 0
      • F Offline
        FreddeHamm
        last edited by Oct 21, 2017, 11:51 AM

        noob-question: how can i see the log?

        S 1 Reply Last reply Oct 22, 2017, 6:14 PM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @FreddeHamm
          last edited by Oct 22, 2017, 6:14 PM

          @FreddeHamm in the terminal where you start the mirror or pm2 logs, and in the electron console(start the mirror with npm start dev)

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

          1 Reply Last reply Reply Quote 0
          • F Offline
            FreddeHamm
            last edited by Oct 24, 2017, 2:07 PM

            i found this

            ** Message: console message: http://localhost:8080/modules/MMM-Fuel//MMM-Fuel.js @117: SyntaxError: Unexpected token ‘(’. Expected a ‘:’ following the property name 'getTranslati$

            S 1 Reply Last reply Oct 28, 2017, 11:16 PM Reply Quote 0
            • F Offline
              FreddeHamm
              last edited by Oct 24, 2017, 2:26 PM

              if i use npm start dev i get this…

              1 verbose cli [ ‘/usr/local/bin/node’, ‘/usr/local/bin/npm’, ‘start’, ‘dev’ ]
              2 info using npm@5.5.1
              3 info using node@v8.3.0
              4 verbose config Skipping project config: /home/pi/.npmrc. (matches userconfig)
              5 verbose stack Error: ENOENT: no such file or directory, open ‘/home/pi/package.json’
              6 verbose cwd /home/pi
              7 verbose Linux 4.9.35+
              8 verbose argv “/usr/local/bin/node” “/usr/local/bin/npm” “start” “dev”
              9 verbose node v8.3.0
              10 verbose npm v5.5.1
              11 error path /home/pi/package.json
              12 error code ENOENT
              13 error errno -2
              14 error syscall open
              15 error enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
              16 error enoent This is related to npm not being able to find a file.
              17 verbose exit [ -2, true ]

              I did try to set up another mm … Same problem. only the fuel module doesnt show up. But if i use the browser on my pc it shows up…

              Y 1 Reply Last reply Oct 24, 2017, 4:22 PM Reply Quote 0
              • Y Offline
                yawns Moderator @FreddeHamm
                last edited by Oct 24, 2017, 4:22 PM

                @FreddeHamm
                Looks like you are not in the MagicMirror folder when running npm start dev
                Please try

                cd ~/MagicMirror
                npm start dev
                
                1 Reply Last reply Reply Quote 1
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer @FreddeHamm
                  last edited by Oct 28, 2017, 11:16 PM

                  @FreddeHamm sounds like you are using midori browser or something similar which doesnt support es6 syntax

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

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rrrene
                    last edited by Jan 13, 2018, 3:46 PM

                    Hi

                    great module!
                    I wanted to use my own header for your module to get the same look as the other moduled.

                    Unfortunately I don‘t understand how to disable the view of your implemented header.

                    At the moment I have two headers :)

                    Thanks.

                    Best regards

                    S 1 Reply Last reply Jan 14, 2018, 1:11 PM Reply Quote 0
                    • S Offline
                      strawberry 3.141 Project Sponsor Module Developer @rrrene
                      last edited by Jan 14, 2018, 1:11 PM

                      @rrrene custom.css .MMM-Fuel header.align-left { display: none; }

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

                      R 1 Reply Last reply Feb 7, 2018, 6:56 PM Reply Quote 1
                      • 1
                      • 2
                      • 7
                      • 8
                      • 9
                      • 10
                      • 11
                      • 17
                      • 18
                      • 9 / 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