Read the statement by Michael Teeuw here.
-
With the new update of MM I’m getting the following error:
0|mm | [15.04.2021 14:11.21.945] [ERROR] (node:15096) UnhandledPromiseRejectionWarning: Error: Cannot find module 'geolib' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/MMM-Fuel/apis/tankerkoenig.js 0|mm | - /home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js -
@strawberry-3-141
Hello, i want to check prices of only 3 specific gas stations, but it doesn`t work.code_text: config: { api_key: "XXXXXXXXXXXXX-XXX-XXXX-XXXXXXXXXXXX", types: ["e5"], rotate: true, showDistance:false, lat: 50.8634, lng: 8.03944, stationIds: ["238715f9-60d6-4f7a-9e74-c40fdb71a79d"], radius: 0, lat: 50.8708534, lng: 8.014519, stationIds: ["1b41801e-ee5e-490e-86d6-474bafec5dc4"], radius: 0, lat: 50.871715, lng: 8.012415, stationIds: ["4b9763df-8cce-426f-a1d5-2b44d413550a"], radius: 0, // all your config options, which are different than their default values }I try to set stationIds like that:
stationIds: ["238715f9-60d6-4f7a-9e74-c40fdb71a79d,1b41801e-ee5e-490e-86d6-474bafec5dc4,4b9763df-8cce-426f-a1d5-2b44d413550a"],but it also doesn`t work.
Could you explaine how set specific gas stations?Thanks
-
@commander said in MMM-Fuel:
stationIds: [“238715f9-60d6-4f7a-9e74-c40fdb71a79d,1b41801e-ee5e-490e-86d6-474bafec5dc4,4b9763df-8cce-426f-a1d5-2b44d413550a”],
try
stationIds: ["238715f9-60d6-4f7a-9e74-c40fdb71a79d", "1b41801e-ee5e-490e-86d6-474bafec5dc4", "4b9763df-8cce-426f-a1d5-2b44d413550a"], -
-
Hello,
is it possible to sort by distance without rotation?
{ module: "MMM-Fuel", position: "top_right", config: { api_key: "my_key", showAddress: false, rotate: false, lat: my_lat, lng: my_lng, shortenText: false, types: ["e5"], sortBy: "e5", //possible to sort by distance? e.g. sortBy: "distance" }Thank you
-
@seansation this is currently not supported, feel free to send a pr.
-
Now also supporting fuel prices in the USA. Take a look at https://github.com/cowboysdude/MMM-Gas for different style of the same information.
2.3.0
MagicMirror² version >= 2.15.0 required.
Added
- Provider:
autoblog - Config option:
showBrand - Integrated MagicMirror logger on server side
- Dependency:
node-html-parser - Config option
excludeStationIdsto exclude gas stations from radius (Tankerkönig only)
Changed
- Updated Github config files
- Updated dependencies
Removed
- Dependency:
fs-extra - Dependency:
geolib
Link to module https://github.com/fewieden/MMM-Fuel

- Provider:
-
2.3.1
Fixed
- Tankerkoenig prices for requests with
stationIds
Link to module https://github.com/fewieden/MMM-Fuel
- Tankerkoenig prices for requests with
-
Is this also running for the Dutch petrol prices???
-
This is a great app. Good job well done
is there a way to add a favorite gas station
or make it a future project
I’m in the United States so I’m using that configuration -
@strawberry-3-141 Looks great!
-
@JerryP currently only Germany, Austria, USA and parts of Australia are covered by the module. If you find an API for fuel prices in the Netherlands I’m happy to integrate it. Please create an issue for the Github repository so it doesn’t get lost https://github.com/fewieden/MMM-Fuel/issues
@Ray currently it is only possible for Germany to select specific gas stations. The source for the USA doesn’t provide IDs that you can request for. Please create an issue for the Github repository so we can discuss some posibilities https://github.com/fewieden/MMM-Fuel/issues
-
Would the below API provide support for the UK and more in one?
https://developer.here.com/documentation/fuel-prices/dev_guide/topics/example-fuel-price.html -
@NSpr I was looking into the here API before since it would cover multiple countries at once, but sadly
Note: Please note that the Fuel Prices service is only available to automotive OEMs for in-vehicle applications. -
Alternative provider for the USA and also supporting Canada and Tasmania (Australia) now.
2.4.0
Added
Changed
- Migrated provider
nswfrom API v1 to v2 in order to support new region Tasmania (Australia) - Dependency update
Link to module https://github.com/fewieden/MMM-Fuel
- Migrated provider
-
Hi @strawberry-3-141 i’m french and the data for the price of fuel is “opensource”. That’s why you can obtain informations about fuel, price fuel and type of fuel, fuel location, etc…
these informations are update every day
If you follow these links below, you can find exemple to use data :https://www.data.economie.gouv.fr/explore/dataset/prix-carburants-fichier-quotidien-test-ods/api/(link url)
there are different tabs to navigate between graph, informations and locationshttps://www.data.economie.gouv.fr/api/v2/console(link url)
this is the API (i think) to use dataI don’t know if it’s possible to integrate french fuel data in your module or it’s too complicated because i’m a noob in programmation/coding.
Maybe you can check these informations and tell me if possible?
and sorry for my english :-)
Thx
-
@MisterT I don’t see why it should not be possible. Please create a feature request in the GitHub repository https://github.com/fewieden/MMM-Fuel/issues
-
2.5.0
Thanks to marcx28 for their contributions.
Fixed
Added
- Dependency:
lodash
Changed
Link to module https://github.com/fewieden/MMM-Fuel
- Dependency:
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
