mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-10-13 21:19:16 -04:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2456784d56 | ||
|
|
f7b4745a20 | ||
|
|
bdc682d040 | ||
|
|
0bd729517b | ||
|
|
145e7e6807 | ||
|
|
d42b7aa0e8 | ||
|
|
320389ea16 | ||
|
|
61c0a0fada | ||
|
|
d7cea32f07 | ||
|
|
1baaf635f5 | ||
|
|
eec7ac2822 | ||
|
|
7a86a1f0c3 | ||
|
|
83c29fbed8 | ||
|
|
ee6faf280d | ||
|
|
2421d0a805 | ||
|
|
aa5dee6c4a | ||
|
|
77e7510e3b | ||
|
|
6031fe6fa4 | ||
|
|
eb7945344e | ||
|
|
e9c77210b7 | ||
|
|
64cbe20138 | ||
|
|
1c521e808c | ||
|
|
0d7507b3d9 | ||
|
|
d8aa9cb7d9 | ||
|
|
2dfda5bbc0 | ||
|
|
522e9890ca |
@@ -14,7 +14,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: ⤵️ Check out code from GitHub
|
- name: ⤵️ Check out code from GitHub
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v6.0.2
|
||||||
|
|
||||||
- name: 🚀 Run Home Assistant Add-on Lint
|
- name: 🚀 Run Home Assistant Add-on Lint
|
||||||
uses: frenck/action-addon-linter@v2
|
uses: frenck/action-addon-linter@v2
|
||||||
|
|||||||
@@ -19,11 +19,11 @@ jobs:
|
|||||||
packages: write
|
packages: write
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch: ["amd64", "armv7", "aarch64"]
|
arch: ["amd64", "aarch64"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v6.0.2
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
run: |
|
run: |
|
||||||
@@ -35,14 +35,14 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v3.4.0
|
uses: docker/login-action@v4.0.0
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and publish
|
- name: Build and publish
|
||||||
uses: home-assistant/builder@2025.03.0
|
uses: home-assistant/builder@2026.02.1
|
||||||
with:
|
with:
|
||||||
args: |
|
args: |
|
||||||
--${{ matrix.arch }} \
|
--${{ matrix.arch }} \
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
packages: write
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
path: teslamate
|
path: teslamate
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
git push --tags
|
git push --tags
|
||||||
working-directory: ${{ github.workspace }}/teslamate
|
working-directory: ${{ github.workspace }}/teslamate
|
||||||
- name: Create release
|
- name: Create release
|
||||||
uses: softprops/action-gh-release@v2.3.2
|
uses: softprops/action-gh-release@v2.5.0
|
||||||
with:
|
with:
|
||||||
tag_name: v${{ steps.semver.outputs.semver }}
|
tag_name: v${{ steps.semver.outputs.semver }}
|
||||||
body_path: CHANGELOG.txt
|
body_path: CHANGELOG.txt
|
||||||
@@ -61,7 +61,7 @@ jobs:
|
|||||||
prerelease: false
|
prerelease: false
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Checkout addon repo
|
- name: Checkout addon repo
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v6.0.2
|
||||||
with:
|
with:
|
||||||
path: repo
|
path: repo
|
||||||
repository: lildude/ha-addons
|
repository: lildude/ha-addons
|
||||||
|
|||||||
@@ -28,14 +28,14 @@ jobs:
|
|||||||
name: Build add-on
|
name: Build add-on
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch: ["amd64", "armv7", "aarch64"]
|
arch: ["amd64", "aarch64"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v6.0.2
|
||||||
|
|
||||||
- name: Build add-on
|
- name: Build add-on
|
||||||
uses: home-assistant/builder@2025.03.0
|
uses: home-assistant/builder@2026.02.1
|
||||||
with:
|
with:
|
||||||
args: |
|
args: |
|
||||||
--test \
|
--test \
|
||||||
|
|||||||
@@ -77,7 +77,6 @@ custom_plugins:
|
|||||||
- name: panodata-map-panel
|
- name: panodata-map-panel
|
||||||
url: https://github.com/panodata/panodata-map-panel/releases/download/0.16.0/panodata-map-panel-0.16.0.zip
|
url: https://github.com/panodata/panodata-map-panel/releases/download/0.16.0/panodata-map-panel-0.16.0.zip
|
||||||
unsigned: true
|
unsigned: true
|
||||||
custom_plugins: []
|
|
||||||
env_vars:
|
env_vars:
|
||||||
- name: GF_SECURITY_ADMIN_USER
|
- name: GF_SECURITY_ADMIN_USER
|
||||||
value: <youruser>
|
value: <youruser>
|
||||||
@@ -151,6 +150,8 @@ For example, if you access your Home Assistant instance at `https://ha.example.c
|
|||||||
|
|
||||||
Do _not_ use these values. Use the values from your log output.
|
Do _not_ use these values. Use the values from your log output.
|
||||||
|
|
||||||
|
**Note:** If you do not see the links in your add-on logs, clear the values in the TeslaMate configuration and restart the add-on.
|
||||||
|
|
||||||
## Migrate TeslaMate to a Different PostgreSQL Server
|
## Migrate TeslaMate to a Different PostgreSQL Server
|
||||||
|
|
||||||
In order to migrate TeslaMate to a different PostgreSQL server, you will need to make a backup of the original data and then restore it to the destination server.
|
In order to migrate TeslaMate to a different PostgreSQL server, you will need to make a backup of the original data and then restore it to the destination server.
|
||||||
|
|||||||
+1
-2
@@ -33,8 +33,7 @@ RUN \
|
|||||||
tzdata \
|
tzdata \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
&& S6_ARCH="${BUILD_ARCH}" \
|
&& S6_ARCH="${BUILD_ARCH}" \
|
||||||
&& if [ "${BUILD_ARCH}" = "amd64" ]; then S6_ARCH="x86_64"; \
|
&& if [ "${BUILD_ARCH}" = "amd64" ]; then S6_ARCH="x86_64"; fi \
|
||||||
elif [ "${BUILD_ARCH}" = "armv7" ]; then S6_ARCH="arm"; fi \
|
|
||||||
&& curl -Ls "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" | tar xpJ -C / \
|
&& curl -Ls "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" | tar xpJ -C / \
|
||||||
&& curl -Ls "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" | tar xpJ -C / \
|
&& curl -Ls "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" | tar xpJ -C / \
|
||||||
&& curl -Ls "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz" | tar Jxp -C / \
|
&& curl -Ls "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz" | tar Jxp -C / \
|
||||||
|
|||||||
+3
-7
@@ -1,14 +1,10 @@
|
|||||||
{
|
{
|
||||||
"build_from": {
|
"build_from": {
|
||||||
"aarch64": "teslamate/teslamate:2.0.0",
|
"aarch64": "teslamate/teslamate:3.0.0",
|
||||||
"amd64": "teslamate/teslamate:2.0.0",
|
"amd64": "teslamate/teslamate:3.0.0"
|
||||||
"armv7": "teslamate/teslamate:2.0.0"
|
|
||||||
},
|
},
|
||||||
"args": {
|
"args": {
|
||||||
"teslamate_version": "2.0.0"
|
"teslamate_version": "3.0.0"
|
||||||
},
|
|
||||||
"codenotary": {
|
|
||||||
"signer": "colin@symr.io"
|
|
||||||
},
|
},
|
||||||
"labels":{
|
"labels":{
|
||||||
"maintainer": "Colin Seymour (https://github.com/lildude)",
|
"maintainer": "Colin Seymour (https://github.com/lildude)",
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
"description": "A self-hosted data logger for your Tesla.",
|
"description": "A self-hosted data logger for your Tesla.",
|
||||||
"url": "https://github.com/lildude/ha-addon-teslamate",
|
"url": "https://github.com/lildude/ha-addon-teslamate",
|
||||||
"arch": [
|
"arch": [
|
||||||
"armv7",
|
|
||||||
"aarch64",
|
"aarch64",
|
||||||
"amd64"
|
"amd64"
|
||||||
],
|
],
|
||||||
@@ -74,6 +73,5 @@
|
|||||||
"map": [
|
"map": [
|
||||||
"share:rw"
|
"share:rw"
|
||||||
],
|
],
|
||||||
"codenotary": "colin@symr.io",
|
|
||||||
"image": "ghcr.io/lildude/ha-addon-teslamate-{arch}"
|
"image": "ghcr.io/lildude/ha-addon-teslamate-{arch}"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user