Read the statement by Michael Teeuw here.
MMM-Fuel doesn't work
-
Hello,
i hope anyone can help me.
I want to use the modul “MMM-Fuel”.
It doesn’t work. it is not displayed.
here is my entry in the config-file:{
module: “MMM-Fuel”,
position: “botton_left”,
config: {
api_key: “*************************”,
lat: 49.9556351,
lng: 9.772477,
types: [“diesel”],
}
}following message is generated:
request to https://creativecommons.tankerkoenig.de/json/list.php?lat=49.9556351&lng=9.772477&rad=5&type=all&apikey=*mykey&sort=dist failed, reason: getaddrinfo EAI_AGAIN creativecommons.tankerkoenig.de creativecommons.tankerkoenig.de:443’
thanks for your help
best regards
Oliver -
@oli1204 said in MMM-Fuel doesn't work:
getaddrinfo EAI_AGAIN
this says that your system cannot find that entry via name resolution
nslookup from a terminal window
nslookup creativecommons.tankerkoenig.de
on my system it looks like this
nslookup creativecommons.tankerkoenig.de Server: dns9.quad9.net Address: 9.9.9.9 // < --- my name server Non-authoritative answer: Name: creativecommons.tankerkoenig.de Address: 188.68.35.147
-
@sdetweil said in MMM-Fuel doesn't work:
nslookup from a terminal window
thanks for your help…but i don 't know what to do…
sorry this is my first Magicmirror… -
@oli1204 There seems to be a problem with the DNS resolution. Just for curiosity… Could you try the MMM-Tankerkoenig Module? It basically does the same as MMM-Fuel.
Is the same error thrown?
BTW: The position is misspelled…it must be “bottom_left”
-
@Fozi said in MMM-Fuel doesn't work:
s the same error thrown?
hello,
its so embarassing. the mistake was really botton instead of bottom.
very much thanks for your help.
best regards
Olivr
-
@oli1204 glad that it works now!