This commit is contained in:
Nils Reiners
2025-04-26 22:31:14 +01:00
parent 974ec43f10
commit 65a75e061b
3 changed files with 192 additions and 52571 deletions

Binary file not shown.

View File

@@ -8,7 +8,7 @@ class DataBaseInflux:
self.org = org
self.bucket = bucket
self.client = InfluxDBClient(url=self.url, token=self.token, org=self.org)
self.write_api = self.client.write_api(write_options=None)
self.write_api = self.client.write_api()
def store_data(self, data: dict):
measurement = "messungen" # Fest auf "messungen" gesetzt
@@ -30,4 +30,4 @@ db = DataBaseInflux(
token="Cw_naEZyvJ3isiAh1P4Eq3TsjcHmzzDFS7SlbKDsS6ZWL04fMEYixWqtNxGThDdG27S9aW5g7FP9eiq5z1rsGA==",
org="allmende",
bucket="allmende_db"
)
)

52759
terminal_log

File diff suppressed because it is too large Load Diff