Skip to content

Import csv dumps from the SaveMyTime app into ActivityWatch, a free and open source extensible time tracker.

Notifications You must be signed in to change notification settings

perXautomatik/aw-importer-CSV

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

aw-importer-savemytime

This is a small importer script for the time tracking app SaveMyTime. Using the pro version of SaveMyTime, one can export a csv file with all tracked data, which this script then imports into ActivityWatch.

Note: While this script shouldn't break anything (apart from maybe overwriting data previously imported into the savemytime bucket), it's not quite done, either. The events won't look great in the web UI.

Usage

  1. Install the dependencies
  2. Export a csv file of the desired date range, rename it to smt_export.csv and put it in the same directory as the main.py file.
  3. Execute the main.py file.

Dependencies

TODOs

  • As of now, there isn't really a suitable event_type for time tracking data like this.
    • maybe currentwindow?
      • also requires an AFK bucket
      • or: prefix with aw-watcher-android (see here)
  • The handling of an already-existing bucket is more or less untested.
  • SaveMyTime's categories are not imported. This is by design, since ActivityWatch has its own notion of categories, but can be easily changed.

About

Import csv dumps from the SaveMyTime app into ActivityWatch, a free and open source extensible time tracker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%