Comments (1)
@FireEmerald
Thanks for opening this issue, you bring up an interesting point here and I think I agree with you.
Currently, there is some logic in the component setup that revolves around the availability of timescaledb
and postgis
extensions (i.e. NOT that they are actually installed, only that they are available for installation) to support LTSS on vanilla postgres and with timescaledb
and/or postgis
extensions available (see #29 for details).
Maybe this logic should be changed to check for installed extensions rather than available extensions such that the user runs none/any/all of the below during the initial setup and thus also configures LTSS implicitly.
CREATE EXTENSION IF NOT EXISTS postgis CASCADE;
CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;
Do you have any further input/opinions?
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 3
- 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.