Read the statement by Michael Teeuw here.
-
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]
-
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?