Intervals.icu to InfluxDB

Hi to all!

Firstly, I want to congratulate the Intervals.icu team for their job, and for creating this amazing platform.

During the last weeks, I have been working on a personal project to export data from Intervals.icu to InfluxDB (with Docker or Python), and I decided to open it in case it might be useful to someone. The project is in a very initial phase, but I want to add more stuff (as I have time), but for now most information about wellness, activities, and streams can be exported.

The project can be found in codeberg, and the full documentation in Read the Docs.

I hope it can be useful to someone, and please, let me know if you found any problem (in this feed or through an issue on Codeberg).

Best regards!

3 Likes

Interesting project!

As far as I can tell, you’re using InfluxData’s cloud offering; do you have any sense of how difficult it would be to do a similar thing while rolling your own database?

Hi @tlgs! No, I’m using self-hosted InfluxDB instance (just this InfluxDB Docker image).

If you are referring to the “INFLUXDB_URL” variable in the environment file, you can use the IP of your machine if you are running a local InfluxDB.

I don’t know if is this what you refer.

Ah! I see now that tmllull/intervals-to-influxdb is an image you uploaded to DockerHub.

I saw the required environment variables and took a peek at the project’s Dockerfile and incorrectly assumed that you must have been using some hosted solution. That’s just my lack of experience with InfluxDB showing. :sweat_smile:

In that case I suggest maybe adding some information about that Dockerfile to the project’s documentation. For me, that’s one of the things I’d be mostly curious about this project.

Yes, I just created an image to an easy way to run it, but you can run with Python if you want.

Actually, the Dockerfile is not necessary unless you want to run it via Docker from source code as is described on the section on documentation, but the idea is use the compiled image or the pip module if you want to run with Python (following this steps).

Of course, you can clone the project and adapt it if you want, and yes, the documentation can be modified because the project it’s just started :slight_smile:

1 Like

Thanks. Thats neat! Intervals.icu uses Prometheus and Grafana for monitoring, I hadn’t thought about plotting fitness data that way.

2 Likes

I’m happy that this little project has given you some ideas :slight_smile:

I was thinking about use Prometheus, but at this time I started with some InfluxDB and Grafana projects on my work, so I decided to try this way.

I think it’s a pretty good combination to create new dashboards with more specific or custom data.

1 Like