Read the statement by Michael Teeuw here.
-
[2.1.1]
Fixed
- Wrong value in config option
sortBy
no longer keeps module in state loading forever.
https://github.com/fewieden/MMM-Fuel
[card:fewieden/MMM-Fuel]
- Wrong value in config option
-
Hello,
when i set the shortenText-Function on true, then comes the first lettern only. When I set this function on false, than is the module to wide.
What can i do? Can I set the size of this modul?
-
@Pielo the documentation states that you need to provide an integer of how many character you want to see, the value false is just to deactivate the behavior.
Option Default Description shortenText false Integer of characters to be shown for name and address. Default shows all.
If you do
shortenText: 5
, then it will show 5 characters andshortenText: 10
will show 10 and so on -
Version 2.1.2
Added
- Config option
showDistance
https://github.com/fewieden/MMM-Fuel/pull/49 - Missing jsdoc documentation
Changed
- Dependency update
Fixed
- Deinit map had a hardcoded index for markers.
https://github.com/fewieden/MMM-Fuel
[card:fewieden/MMM-Fuel]
- Config option
-
Version 2.2.0
Thanks to @TheDuffman85 for his contribution to this release. This version allows either to search by radius, specific station, or a combination of those two for provider Tankerkönig (Germany).
Added
- Config option
stationIds
to check prices of specific gas stations (Tankerkönig only) - Github actions
Changed
- 3rd decimal is now superscripted
- Price and distance values are now localized based on global config option
locale
.
Removed
- Travis-CI integration
https://github.com/fewieden/MMM-Fuel
[card: fewieden/MMM-Fuel]
- Config option
-
Hello,
Does this module work for France? -
Hello … getting this Error with npm start DEV
[17:08:01.452] [LOG] Error: Error no fuel station detail
at setStationInfos (/home/pi/MagicMirror/modules/MMM-Fuel/apis/tankerkoenig.js:189:19)
at process._tickCallback (internal/process/next_tick.js:68:7)module: "MMM-Fuel", position: "top_right", config: { //provider: "tankerkoenig", api_key: "xxxxxxxxxxxxxxxxxxxxxx", lat: 50.873798, lng: 8.023410, types: ["E5"], updateInterval: 60000, stationIds: [ { "id": "9ac83212-c785-476f-9862-34a4b04f6320", "name": "BELL Oil", ......................................
What could that be ?
-
@RIKKO14 currently this module only supports Germany, Austria and NSW in Australia.
If you find an API for data in France the module can be expanded. A guide can be found here.
@eniac there are a couple of issues.
- You have the wrong format for the stationIds. It should be
stationIds: ["9ac83212-c785-476f-9862-34a4b04f6320"]
. - I suggest not going lower than the default update interval of 15min. You currently fetch data every minute, which can lead to a suspension of your API key as other users experienced before. Also see limitations here https://creativecommons.tankerkoenig.de/terms
- The fuel type should be lowercase
- The fuel station id you tried is inside the default search radius. There seems to be a bug currently, where we still make a request even if the list is empty. I suggest to either disable the radius search or remove the station ids.
{ module: "MMM-Fuel", position: "top_right", config: { api_key: "XXXXXXXXXXXX", lat: 50.873798, lng: 8.023410, types: ["e5"], stationIds: ["9ac83212-c785-476f-9862-34a4b04f6320"], radius: 0 } },
{ module: "MMM-Fuel", position: "top_right", config: { api_key: "XXXXXXXXXXXX", lat: 50.873798, lng: 8.023410, types: ["e5"] } },
- You have the wrong format for the stationIds. It should be
-
Version 2.2.1
Fixed
- Filtering of station ids lead to invalid price request for provider tankerkoenig
Changed
- Log a warning if no fuel station detail could be fetched
- Updated provider integration documentation
https://github.com/fewieden/MMM-Fuel
[card: fewieden/MMM-Fuel]
-
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