Not all station names are shown - and feature wish list :-)
Really great and useful :-) But:
- at the petrol stations in my area, the names of some petrol stations (HEM, SB, Esso) are not shown. How can i change this / what do i need to adjust?
- how can i select only certain petrol stations (not only in my vicinity, but on my way to work? And only display this stations? Whats about the specific json file from "Tankerkoenig"?
Maybe for the next release - some features :-) ?
- since we drive both a diesel and a gasoline: Can you highlight the best price (Diesel, E5, E10) (if necessary in a small box) - regardless of sorting?
- can the opening times of the current day be displayed below the address?
- you can convert the distance to the gas station as optional^
- maybe the last refreshing timestamp?
Thanks!
The names are probably an issue of the provided data, to check this I would need your coordinates (you can send me them as a private message on the forum https://forum.magicmirror.builders/topic/606/mmm-fuel).
The API Request is limited to 25km, if your way to work is in this range maybe a whitelist of stations could be implemented.
What happens when the sorting is by diesel price and you only displaying 5 stations, but the cheapest price for gasoline is another one.
The API returns just open as a boolean (true, false).
Should be possible
I might want to add this in the header
https://github.com/fewieden/MMM-Fuel/projects/1
This issue is still open and maybe I found a solution for you: Just add this line to the function (const) "normalizeStations" in the file /module/MMM-Fuel/api/tankerkoenig.js
stations[index].name = value.brand;
with this the brand is shown and not the name of the gas station.