Read the statement by Michael Teeuw here.
-
noob-question: how can i see the log?
-
@FreddeHamm in the terminal where you start the mirror or pm2 logs, and in the electron console(start the mirror with npm start dev)
-
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$
-
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…
-
@FreddeHamm
Looks like you are not in the MagicMirror folder when runningnpm start dev
Please trycd ~/MagicMirror npm start dev -
@FreddeHamm sounds like you are using midori browser or something similar which doesnt support es6 syntax
-
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
-
@rrrene custom.css
.MMM-Fuel header.align-left { display: none; } -
Hi guys I’m from South Africa, I have just started playing with the magic mirror today I have managed to the calendar weather and news for South Africa I would really like to add fuel prices and email notifications to it but don’t know how and can find any videos showing how to do it just that they did it if that makes sence
-
@DamienWakeford1 this module supports only germany and austria, not sure if it is possible to get the same information for your country via an api
-
Do you have a favorite station or brand and do they have a website with live feed of the prices? If they have an API, maybe I have something, if it’s accessable.
-
@strawberry-3.141 said in MMM-Fuel:
@rrrene custom.css
.MMM-Fuel header.align-left { display: none; }Working perfect! Thank you m8.
Have a nice evening.
Best regards,
René -
Chaps,
Pethaps again a newbie question, but how do I configure this module for Austria, spritpreisrechner?
Anything ‘special’ to consider?
I do not get an error message for the config.js, but I also do not get a populated list for my Diesel.
Do I need to specify the provider, or does the module do the look up based on my location?
Any hint/help is greatly appreciated.
Many thanks,
XR -
@xray2607 you need to specify
provider: 'spritpreisrechner', also spritpreisrechner changed the api, so you might want to use the develop branchgit checkout develop -
Hey @ all,
I think I have a small issue with the MMM-Fuel but I don´t know how to solve it. I installed the module as written in the manual but unfortunately it doesn´t show anything on the expected area (bottom_left)
Below the snippet of the code within the config.js-file.{ module: "MMM-Fuel", postion: "bottom_left", config: { provider: "tankerkoenig", api_key: "API-KEY", lat: 52.9863800, lng: 9.8433800, types: ["diesel", "e5"], sortby: "diesel", radius: 10, updateInterval: 900000, max: 5 } },Any ideas how I can fix it?
Thanks in advance -
I’ve been using the module for a while, but since this morning I’m not getting any posts.
-
@killing-joke you wrote postion instead of position
@bjoern which provider (tankerkoenig or spritpreisrechner) just checked it and I’m getting results
-
sorry, my mistake. I had no provider deposited. after I deposited Tankerkoenig everything works again now.
-
@strawberry-3-141 said in MMM-Fuel:
@killing-joke you wrote postion instead of position
Thank you very much. I checked a lot of times the comma and the spaces and braces but didn´t checked the writing.
It works fine. Cheers. -
I refactored the module and switched to nunjuck templates.
I’m looking for people who are willing to test prices
- tankerkoenig germany
- spritpreisrechner austria
how to test:
- if not already done, clone the repository to your modules
cd ~/MagicMirror/modules/ && git clone https://github.com/fewieden/MMM-Fuel.git - go to the module
cd ~/MagicMirror/modules/MMM-Fuel - run
git checkout develop - run
npm i - test various config options
[card:fewieden/MMM-Fuel]
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
