xraver / mercedes_me_api

Script to use Mercedes Me APIs.
MIT License
57 stars 14 forks source link

Resources list not updated #15

Open xraver opened 3 years ago

xraver commented 3 years ago

In case there is a valid resource list it is not updated. E.g. in case new resources will be available the software is not able to use them.

danielrheinbay commented 3 years ago

Thank you for making the resources file optional by 3b39faf45a5a772115dee328aa5d6818f953e823! I was wondering why we need the resource file at all. What is the point of caching the URIs? Is it just to save one API call?

xraver commented 3 years ago

At the beginning the value of sensors were available only up to 12h after status change. After that time no data were provided.

Now it seems not necessary because of data remains available.

Removing the resources new resources will be available at startup...

It would be better, i think, to introduce a way to periodically refresh resources list....