Read the statement by Michael Teeuw here.
-
@rakostamas I try to adjust it in the next update.
@othomys I think that’s a problem with the nunjuck templates that I didn’T figure out yet.
@dazza120 is there a public api for it? -
@strawberry-3-141 doesn’t look like the UK does have an api for fuel prices
-
@strawberry-3-141
I reinstalled the mirror and installed the module again, however it stopped working. (It’s shows only “loading”) I’m using the same config file as before. Every module beside this working :/ Is it possible, that there is a bug in the module? -
@rakostamas which branch are you using? Develop or master? On develop I’m working on a refactoring, so bugs are definetly possible. Master was probably not changed in a year.
Any errors in the console?
Did you install the dependencies?
Can you post your confit part without the API key and a bit modified gps position? -
@strawberry-3-141
here is my config:{ module: "MMM-Fuel", position: "top_right", config: { provider: "spritpreisrechner", lat: 47.041194, lng: 15.453377, types: ["e5", "diesel"], radius: 6, max: 4, sortBy: "e5", open: true, } },The mirror only displays the header and loading…
I have installed it in the following way:

-
@rakostamas run
npm start devto open the development screen, select the console tab… are there any errors (in red) shown?
-
@sdetweil

Yes it seems :D -
wrong folder… in MagicMirror always for start. not module folder
-
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 ] -
@rakostamas said in MMM-Fuel:
/home/pi/MagicMirror/modules/MMM-Fuel
please do
cd ~/MagicMirrorthen
npm start dev -
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 -
sorry, I do not know why reading from the local disk would fail with cache read failure error
-
@rakostamas as @sdetweil already mentioned you need to start the mirror not the module.
cd ~/MagicMirror && npm start dev
-
@strawberry-3-141
yes, I have opened it, and I got the errors what I wrote in my last comment -
@rakostamas did you check that the file exists? Maybe something went wrong during the cloning of the module
-
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 }:::
-
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]
-
Can I only show 3 specific gas stations?
The gas stations that are displayed to me, I never go there -
-
@Daugenix this is currently not implemented as most providers give not many results back
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
