Read the statement by Michael Teeuw here.
-
@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]
-
Hey, I have just installed the module, but I realized one minor mistake. The distances in the table have too much numbers after the decimal point. Where can I change it to just one decimal number?
-
Hello,
I use the tankerkoenig-api to let me see the German fuel prices. Unfortunately, the special characters (ä, ö, ü, ß, …) are not displayed correctly. At which point can I adapt the encoding?
Thank you in advance.
-
Is there anyway to to get this for UK fuel prices?
-
@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: