From 55d2109099d3216106d47e44c7a1a18466f5106e Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Tue, 16 May 2023 17:44:40 -0600 Subject: [PATCH] Complain about InfluxDB some more --- content/.obsidian/workspace.json | 33 +++++++++++++++++++++----------- content/Sensors.md | 2 +- 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/content/.obsidian/workspace.json b/content/.obsidian/workspace.json index 2213c6d..8374f50 100644 --- a/content/.obsidian/workspace.json +++ b/content/.obsidian/workspace.json @@ -13,13 +13,26 @@ "state": { "type": "markdown", "state": { - "file": "Airflow.md", + "file": "Things I Recommend.md", + "mode": "source", + "source": false + } + } + }, + { + "id": "1f1f024283ea8110", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "Sensors.md", "mode": "source", "source": false } } } - ] + ], + "currentTab": 1 } ], "direction": "vertical" @@ -77,7 +90,7 @@ "state": { "type": "backlink", "state": { - "file": "Airflow.md", + "file": "Sensors.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -94,7 +107,7 @@ "state": { "type": "outline", "state": { - "file": "Airflow.md" + "file": "Sensors.md" } } } @@ -114,15 +127,13 @@ "markdown-importer:Open format converter": false } }, - "active": "160122bd13ae4b72", + "active": "1f1f024283ea8110", "lastOpenFiles": [ + "media/heliosalpha1.jpg", "Algae Growth.md", - "Hydroponics Log 2.md", - "Secret Garden.md", "Airflow.md", - "Hydroponics Log 1.md", - "media/heliosalpha1.jpg", - "heliosalpha1.jpg.md", + "QotNews.md", + "Secret Garden.md", "Hydroponics.md", "Things I Recommend.md", "Wine Crate Coffee Table.md", @@ -132,7 +143,7 @@ "Garage Door Opener.md", "Hand of Ozymandias.md", "Sensors.md", - "QotNews.md", + "Hydroponics Log 2.md", "Notica.md", "About.md", "media/cookies3.jpg", diff --git a/content/Sensors.md b/content/Sensors.md index d86a74e..caada07 100644 --- a/content/Sensors.md +++ b/content/Sensors.md @@ -60,6 +60,6 @@ Most of the data is captured by two cheap RTL-SDRs (software-defined radios) tha The data gets collected by a central Python script that process and stores it in an InfluxDB database for "efficient" storage. The script also runs a web server that queries the database and exposes the data over an API to the dashboard at various dates and ranges. The dashboard is written in JavaScript / React using a simple chart library. -My biggest regret was using InfluxDB. It's a stupid database and I wouldn't recommend it to anyone. The documentation is confusing and I ran into timezone issues with `group by time()`. It also assumes the column data type is an integer if your sensor happens to send it a whole number at first and it won't let you change that. Their docs are bad. They dropped the SQL-like InfluxQL syntax for querying with a pipeline-like syntax called Flux in version 2.0. Debian's repos seem to be staying with version 1.x though. +My biggest regret was using InfluxDB. It's a stupid database and I wouldn't recommend it to anyone. I ran into timezone issues with `group by time()`. It also assumes the column data type is an integer if your sensor happens to send it a whole number at first and it won't let you change that. Their docs are terrible. They dropped the SQL-like InfluxQL syntax for querying with a pipeline-like syntax called Flux in version 2.0. Debian's repos seem to be staying with version 1.x though. You can only delete data by time ranges, not values. It also logs every single thing to `/var/log/syslog` and there's no easy way to disable it (completely). Just stick to Postgres / SQLite.