Comments (2)
What a coincidence! I'm just struggling with getting a simple timescaleDB + PostGIS docker image, which would be solved by this because I could just ignore PostGIS (I don't really need that).
I would be interested in helping with that.
Right now, I see two things that need to be adjusted:
- Only create the configured extensions (either, both, none)
- Handle
location
differently (e.g. don't save it at all? :D)
As far as I understand it, timescaledb only works "under the hood" right now - so it's faster but you can exchange it with pure Postgres without changing the code? That was not entirely correct, there is code in the setup (_setup_connection()
) but not in the usage, right?
from ltss.
Hi @BenediktAllendorf
I would be very happy to review a PR for this so feel free to dig in!
Some suggestions:
- please keep the current configuration as the default (i.e. with both extensions enabled
- without the postgis extension, location should probably just be stored in the regular attributes column (i.e. just skip the special treatment of it)
- this needs some proper documentation in the readme with clear info about which other config options that becomes superfluous etc when disabling for example the timescaledb extension
- i am expecting this to be a "first use only" option? So it should not be possible to add timescaledb to an existing setup initially without timescaledb (an example). This need to be very clear inte documentation!
from ltss.
Related Issues (20)
- operation not supported on hypertables that have compression enabled HOT 17
- More reliable DB reconnection logic HOT 1
- constraint "ltss_pkey" of relation "ltss" does not exist causes migration to fail to v.2.1.0 HOT 3
- Reduce LTSS database size HOT 3
- DB might end up in an undefined state since there is no rollback on errors in the migration code
- psycopg2-binary cannot be installed on Raspi HOT 1
- cannot start (update schema) - duplicate entity HOT 1
- Please add additional examples HOT 2
- Unicode translation to SQL_ASCII encoding fails with tempature, winddirection and cubic-meter-gas unit_of_measurement HOT 1
- ValueError: A string literal cannot contain NUL (0x00) characters. HOT 2
- ltts is missing under integrations in 2024.4.3 (hassio) HOT 1
- Feature Request: commit_interval
- Capturing Switch States HOT 2
- ltss broken since home assistant update to 2023.3.0 version HOT 13
- sqlalchemy problem: "Requirements for ltss not found" HOT 8
- SQL alchemy error in home assistant v. 2023.2.3 HOT 2
- ltss won't load after update to ha-core 2023.3.2 HOT 5
- psycopg2 error in home assistant v.2023.3.4 HOT 8
- migrate existing recorder Database into ltss HOT 4
- Having trubble finding my data from grafana and pgadmin HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ltss.