BimmerGestalt / AAIdrive

Implementations of some Android Auto features as unofficial IDrive apps
MIT License
531 stars 89 forks source link

Add integration of Spritmonitor.de #724

Open 6i6i opened 12 months ago

6i6i commented 12 months ago

Hello,

I am using a service called "Spritmonitor.de"(https://www.spritmonitor.de/) to track fuel costs and more. I saw, there is an API available to communicate with the service (https://github.com/FundF/Spritmonitor-API-sample-code) It would be cool to have this integrated into AAIdrive. A possibility would be a new settings screen to configure the authentication and select the correct car that is already registered in the service. Then a option in a new screen would be good, to show the last X entrys for this car. Additionally a button would be good to add a new fuel entry where the current odometer value is filled in automatically.

hufman commented 12 months ago

Good morning, and thank you for the suggestion! I've added it to the Add-ons Ideas list. This would be easy to do as a pure Android app, using the CDS data that AAIdrive makes available to other apps. This app would see the VIN of the car to decide which car is being driven, and it can see the odometer for logging, and it can see when the fuel level jumps up as refuellings. Do you imagine an interface within the car itself? With the data available, a manual recording process isn't strictly needed, and not having a car interface makes it much easier to build.

However, I must rely on someone else to build this addon, because I don't have a petrol car. There are several examples in the repo showing how to view the CDS data in an Android app, which should provide a fast start. I can help with further questions as needed, of course.