Skip to content

Commit

Permalink
Merge branch 'teslamate-org:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
micves committed Jun 25, 2024
2 parents cc75c21 + 9df4e7c commit 8f10591
Show file tree
Hide file tree
Showing 78 changed files with 4,339 additions and 7,001 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/buildx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
uses: actions/checkout@v4

- name: Login to Docker Hub
uses: docker/login-action@v3.1.0
uses: docker/login-action@v3.2.0
with:
username: teslamate
password: ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -100,7 +100,7 @@ jobs:
uses: actions/checkout@v4

- name: Login to Docker Hub
uses: docker/login-action@v3.1.0
uses: docker/login-action@v3.2.0
with:
username: teslamate
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
include:
- elixir: "1.16.1"
- elixir: "1.16.2"
otp: "26"
lint: true

Expand Down Expand Up @@ -123,13 +123,13 @@ jobs:
strategy:
matrix:
include:
- elixir: "1.16.1"
- elixir: "1.16.2"
otp: "26"
report_coverage: true

services:
db:
image: postgres:15
image: postgres:16
ports: ["5432:5432"]
env:
POSTGRES_PASSWORD: postgres
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ghcr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3.1.0
uses: docker/login-action@v3.2.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -114,7 +114,7 @@ jobs:
repository: ${{github.event.pull_request.head.repo.full_name}}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3.1.0
uses: docker/login-action@v3.2.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ config/*.env
.eclipse/
.elixir_ls/
/.project
.vscode/

# Mac files
.DS_Store
Expand Down
75 changes: 74 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,76 @@

### New features

- Track open/close states for individual doors (#3962 - @SaswatPadhi), new MQTT values see [documentation](https://docs.teslamate.org/docs/integrations/mqtt)

### Improvements and bug fixes

#### Build, CI, internal

#### Dashboards

#### Translations

#### Documentation

- doc: remove outdated, unsupported, unmaintained portainer doc (#3972 - @JakobLichterfeld)
- doc: fix MMM-Teslamate and ha-addon-teslamate project links (#3973 - @olexs)

## [1.29.2]

This release improve TeslaMate behavior on Tesla API rate limits, which occur from time to time. We respect the retry-after header on 429 response code to not hammer the API unnecessarily in these cases.

### New features

- feat: Dynamic endpoints and token to use official Tesla API (self-hosted or from third party provider) (#3903 - @jlestel)

### Improvements and bug fixes

- fix: Update statistics.json: change back uid (#3907 -@DrMichael)
- feat: Update TeslaFi importer to accept newer export formats (#3431 - @ithinuel)
- feat: Upgrade PostgreSQL to v16 (#3884 -@enoch85)
- feat: Respect Retry-After header on 429 response code (#3943 - @jlestel)
- feat: use Grafana 11.0.0 (#3895 - @swiffer)

#### Build, CI, internal

- ci: Upgrade PostgreSQL to v16 in elixir workflow (#3916 - @JakobLichterfeld)
- build(deps): bump docker/login-action from 3.1.0 to 3.2.0 (#3933)
- build(deps): bump elixir from 1.16.1-otp-26 to 1.16.2-otp-26 (#3935 - @JakobLichterfeld)
- build(deps): bump braces from 3.0.2 to 3.0.3 in /website #3967

#### Dashboards

- Remove A lot of empty space on the drive graph (#3927 - @jheredianet)
- Add more ways to recognize Supercharger locations (#3863 -@woyteck1)
- Projected Range fix (using usable_battery_level) (#3859 -@woyteck1)
- Update and fix timeline dashboard (#3951 -@jheredianet)
- Remove A lot of empty space on the drive graph (#3950 -@jheredianet)
- Integrate LFP specific dashboards into regular dashboards (#3966 - @swiffer)
- Export all Dashboards via Grafana 11.0.0 (#3971 - @swiffer)

#### Translations

- feat: Update default.po for Thai translation (#3906, #3945 - @tomzt)

#### Documentation

- doc: update backup path location to current directory to work around no write access to placeholder directory issue (#3908 - @JakobLichterfeld)
- doc: Update MQTT examples of location/active_route (#3919 - @longzheng)
- doc: Update HomeAssistant docs to use new MQTT values (#3923 - @longzheng)
- doc: Add network flows that should be authorized (#3886 - @fl42)
- doc: Update projects.md with new MMM (#3953 - @top-gun)

## [1.29.1] - 2024-05-20

same as 1.29.0 but reverted: "Dynamic endpoints and token to use official Tesla API (self-hosted or from third party provider) (#3866 - @jlestel)" as it was breaking backwards compatibility

## [1.29.0] - 2024-05-20

### New features

- Publish extra active_route fields to mqtt output (#3789 - @brianmay)
- Dynamic endpoints and token to use official Tesla API (self-hosted or from third party provider) (#3866 - @jlestel)

### Improvements and bug fixes

Expand Down Expand Up @@ -34,6 +103,7 @@
- Statistics: Add max value for efficiency thresholds (#3852 - @sdwalker)
- Add average cost per kWh for AC and DC as separate values (#3841 -@woyteck1)
- Update statistics.json: timezone issues addressed (#3862 - @DrMichael)
- Statistics: fix temperature colors and column layout for Fahrenheit (#3854 - @sdwalker)

#### Translations

Expand Down Expand Up @@ -1919,7 +1989,10 @@ New users need to sign in via the web interface.

## [1.0.0] - 2019-07-25

[unreleased]: https://github.com/teslamate-org/teslamate/compare/v1.28.5...HEAD
[unreleased]: https://github.com/teslamate-org/teslamate/compare/v1.29.2...HEAD
[1.29.2]: https://github.com/teslamate-org/teslamate/compare/v1.29.1...v1.29.2
[1.29.1]: https://github.com/teslamate-org/teslamate/compare/v1.29.0...v1.29.1
[1.29.0]: https://github.com/teslamate-org/teslamate/compare/v1.28.5...v1.29.0
[1.28.5]: https://github.com/teslamate-org/teslamate/compare/v1.28.4...v1.28.5
[1.28.4]: https://github.com/teslamate-org/teslamate/compare/v1.28.3...v1.28.4
[1.28.3]: https://github.com/teslamate-org/teslamate/compare/v1.28.2...v1.28.3
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM elixir:1.16.1-otp-26 AS builder
FROM elixir:1.16.2-otp-26 AS builder

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.28.6-dev
1.29.3-dev
3 changes: 1 addition & 2 deletions grafana/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ensure selecting a tag that is available for arm/v7, arm64, and amd64
# https://hub.docker.com/r/grafana/grafana/tags
FROM grafana/grafana:10.4.2
FROM grafana/grafana:11.0.0

ENV GF_ANALYTICS_REPORTING_ENABLED=false \
GF_AUTH_ANONYMOUS_ENABLED=false \
Expand All @@ -9,7 +9,6 @@ ENV GF_ANALYTICS_REPORTING_ENABLED=false \
GF_SECURITY_ADMIN_USER=admin \
GF_SECURITY_ALLOW_EMBEDDING=true \
GF_SECURITY_DISABLE_GRAVATAR=true \
GF_SECURITY_ANGULAR_SUPPORT_ENABLED=false \
GF_USERS_ALLOW_SIGN_UP=false \
DATABASE_PORT=5432 \
DATABASE_SSL_MODE=disable
Expand Down
Loading

0 comments on commit 8f10591

Please sign in to comment.