Read the statement by Michael Teeuw here.
MMM-Fuel error ECONNREFUSED
-
@sdetweil Thanks for testing.
Yes, the url works perfekt in a Browser - but not in MMM-Fuel.
Best of all: it works perfekt and show up in MM.
Maybe it runs too often and was rejected by tankerkoenig.de. The Logfile from tankerkoenig API shows up the massive requests --i can’t append the logfile–UpdateInterval: 15 says 15 Minutes - right?
-
@sdetweil see Attached Picture
-
@db1mso but your apikey=“API_KEY” is the wrong info
you need to register on the site to get a key that allows you to connect
https://creativecommons.tankerkoenig.de/my api=_key looks like this
b0f70ce4-6ac6-bbed-67fd-225db01208be -
@sdetweil i never publish my own API_KEY :winking_face:
As i mentioned before, the url (with the right key in it) works perfekt in a Browser. -
@db1mso ok, those requests are returning rc=200, which is good.
the apikey shown doesn’t work, as I modified the numbers.
-
@sdetweil modifiying is another method :winking_face:
I think the problem was the number of request at a time. There list up to 9 Request at the same Timestamp.EDIT: Error found by myself!
The value for UpdateInterval must set to 900000 //15min
RTFM!Thanks for your time!
-
@db1mso cool… the doc doesn’t say MUST… but the code allows something shorter…
I opened an issue on MMM-Fuel
https://github.com/fewieden/MMM-Fuel/issues/38 -
@sdetweil Thanks!
The option UpdateInterval is optional.Anyway. Shorter than 5 min makes no sense because the database on tankerkoenig updates every 4 min.
-
@db1mso said in MMM-Fuel error ECONNREFUSED:
The option UpdateInterval is optional.
understood… but if shorter causes an error, then the module should enforce the minimum