Skip to content

Data export to influxdb#1361

Open
h4rib0 wants to merge 7 commits intooliexdev:masterfrom
h4rib0:data_export_to_influxdb
Open

Data export to influxdb#1361
h4rib0 wants to merge 7 commits intooliexdev:masterfrom
h4rib0:data_export_to_influxdb

Conversation

@h4rib0
Copy link
Copy Markdown

@h4rib0 h4rib0 commented May 6, 2026

This PR adds the ability to export weight and body metrics data to an InfluxDB instance.

Changes

  • Added InfluxDbExportUseCases.kt with the core export logic
  • Added InfluxDB connection settings to SettingsFacade.kt and SettingsViewModel.kt
  • Added export option to the Data Management settings screen (DataManagementSettingsScreen.kt)
  • Added webhook support for triggering exports
  • Added localization strings for the new UI elements (de, el, es, eu, fi, fr, it, and more)
  • Updated README with InfluxDB export documentation

Supported versions

Both InfluxDB v1 and v2 (including InfluxDB Cloud) are supported.

How it works

Users can configure an InfluxDB connection (URL, token, bucket, org) in the app settings and export their measurements directly to InfluxDB.

Harald and others added 7 commits May 6, 2026 15:00
build.gradle.kts — Added kotlin { compilerOptions { jvmTarget = JVM_21 } }
→ Java compile options were set to VERSION_21 but Kotlin/kapt was still targeting 17, causing a JVM target mismatch build failure.

tasks.json — Created new
→ Defines a shell task that runs Gradle build + adb install + app launch in one step, with JAVA_HOME pointing to JDK 23 because the system default (JDK 17) doesn't support Java 21 source compatibility.

launch.json — Created new
→ F5 launch configuration that calls the above task via preLaunchTask. A small noop.js acts as a placeholder because VS Code's node launcher requires a program entry point.

noop.js — Created new
→ Minimal Node.js script (process.exit(0)) to satisfy the VS Code launcher without executing any real logic.

.gitignore — Excluded launch.json, tasks.json, noop.js
→ These files contain machine-specific paths (e.g. the JDK path) and should not be committed to the repository.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant