Data export to influxdb#1361
Open
h4rib0 wants to merge 7 commits intooliexdev:masterfrom
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the ability to export weight and body metrics data to an InfluxDB instance.
Changes
InfluxDbExportUseCases.ktwith the core export logicSettingsFacade.ktandSettingsViewModel.ktDataManagementSettingsScreen.kt)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.