[Kmymoney-devel] Fuel Consumption Plugin

Alvaro Soliverez asoliverez at kde.org
Thu Sep 20 11:26:27 UTC 2012


On Thu, Sep 20, 2012 at 8:17 AM, Allan <agander93 at gmail.com> wrote:
> On 19/09/12 14:55, Florian Meier wrote:
>>
>> Hi,
>> i am planning to write a fuel consumption plugin.
>>
>> At the moment, I note down my current odometer value at each fuel stop.
>> Furthermore, each fuel stop appears in KMyMoney as expense of a specific
>> category.
>>
>> My idea is to combine this and write a plugin where you have the
>> possibility to enter some additional values for every expense of the
>> petrol category:
>>
>> - odometer value
>> - amount of refueled gasoline
>> - if you have completely filled up your tank
>>
>>  From this (and the amount of money spend) you can create statistics
>> about your fuel efficiency, driven distance, price of gasoline...
>>
>> Do you have any further ideas, remarks, hints for writing a plugin...
>> before I start?
>>
>> Greetings,
>> Florian
>
>
> It might be an idea to post also to the user list, to see what other users
> think.
>
> My initial thought is that, while I can see that this might be of benefit to
> some users, it doesn't seem to tie in to the purpose of KMM, and a
> free-standing app. accessing the KMM file, might be best, rather than a
> plugin, and would certainly be easier to develop.
>

It's just the same as other plugins for KMM, like calender, cheque
printing, or CVS import. Only a subset of users find them of use.

I don't track expenses that closely, but other can use it. See the
code of the plugins above for examples.

Regards,
Alvaro


More information about the KMyMoney-devel mailing list