Read the statement by Michael Teeuw here.
-
Helllo, and befor a big sry for my very bad english.
i try too run the module but every time in change the config id will say the no config is there.
if copy the mmm modul in moduls, run the npm installer, change the config and nothing…
were is my mistake? -
@DeSlow can you post your config snippet? dont forget to replace your api key first
-
do you meen this
}
},
{
module: “MMM-Fuel”,
position: “top_right”,
config: {
api_key: “api key”,
lat: 53.931775,
lng: 9.505148,
types: [“e5”],
}
} -
@DeSlow you should remove the api key here in the forum this is kind of a password and should not be shared with someone else. i will test this on my machine
-
This post is deleted! -
and 1 question to this:
DependenciesAn installation of MagicMirror2
OPTIONAL: Voice Control
npm
request -------what is this and what got i go white isim so bad in englisch, got dam
-
@DeSlow The config works for me when I replace the quotes. check your pm for support in german
EDIT: the problem was a missing comma in the config file
-
The Addon works great
But: is a filter based on opened station in a defined radius possible?
I want to hide the distance and detailed address, to reduce the size of the mmm-fuel box.
Only Shell (Zip/City), Aral (Zip/City) should be displayed.my requirements in detail:
no rotate (check)
2 types of gas (check)
maximum of 3 displayed station (check)
not possible yet:
display only open stations
reduce length of the station name, remove address, or at least shorten.Thanks (and merry christmas btw)
-
Furthermore i want to hide the car icon, because it does not fit into the mm style (just my opinion)
-
Changelog:
4 new config options
- shortenText: shorten name and address after certain characters
- showAddress: show address of gas station or not
- showOpenOnly: show only gas stations that are open or all
- iconHeader: display icon in header
[card:fewieden/MMM-Fuel]