Compare commits

...
8 Commits
Author SHA1 Message Date
Aulon MujajandColin Seymour a038a12cae Add MQTT auto discovery configuration options (#162)
Co-authored-by: Colin Seymour <colin@symr.io>
2026-11-30 17:08:58 +00:00
renovate[bot] eb95a60577 Update softprops/action-gh-release action to v3.0.5 (#159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-30 16:02:27 +00:00
renovate[bot] ce4bc0707c Update TeslaMate to v4.5.0 (#163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-30 15:57:26 +00:00
renovate[bot] 5988edbe7f Update frenck/action-addon-linter action to v2.21.3 (#160)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-26 16:44:24 +00:00
renovate[bot] aef466d502 Update TeslaMate to v4.4.0 (#156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-25 12:29:24 +00:00
renovate[bot] 411e4b3f36 Update softprops/action-gh-release action to v3.0.3 (#154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-15 07:38:01 +01:00
renovate[bot] b069703f3d Update TeslaMate to v4.3.0 (#155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-04 10:08:40 +01:00
renovate[bot] 39cd7ea918 Update TeslaMate to v4.2.0 (#153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-23 14:12:16 +01:00
7 changed files with 18 additions and 4 deletions

No files matched your search

+1 -1
View File
@@ -17,6 +17,6 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: 🚀 Run Home Assistant Add-on Lint
uses: frenck/action-addon-linter@b9cfd1bc62ba60d2c4fc96317b5f7ada5923f4a7 # v2.21.1
uses: frenck/action-addon-linter@479f4f053b96ed00a83ce2c7d8f858e22475aa98 # v2.21.3
with:
path: "./"
+1 -1
View File
@@ -52,7 +52,7 @@ jobs:
git push --tags
working-directory: ${{ github.workspace }}/teslamate
- name: Create release
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
uses: softprops/action-gh-release@88b783939ccdbabad21b9a37510aed7fad5f2e60 # v3.0.5
with:
tag_name: v${{ steps.semver.outputs.semver }}
body_path: CHANGELOG.txt
+2
View File
@@ -63,6 +63,8 @@ See the [official docs][mosquitto-docs] on how to configure access control with
- `mqtt_namespace`: MQTT Namespace
- `mqtt_home_assistant_discovery`: Automatically publish MQTT discovery topics for Home Assistant. Default: `false`.
#### Grafana Options
I recommend you use the existing [Grafana add-on][grafana-addon] from the community add-ons, if you do, please enable the following plugins in your yaml configurations, e.g.
+1 -1
View File
@@ -1,4 +1,4 @@
ARG teslamate_version=4.1.1
ARG teslamate_version=4.5.0
FROM teslamate/grafana:${teslamate_version} AS grafana
#---
+2
View File
@@ -39,6 +39,7 @@
"mqtt_tls": false,
"mqtt_tls_accept_invalid_certs": false,
"mqtt_namespace": "",
"mqtt_home_assistant_discovery": false,
"timezone": "Europe/London",
"import_dir": "/share/teslamate",
"default_geofence": "",
@@ -65,6 +66,7 @@
"mqtt_tls": "bool",
"mqtt_tls_accept_invalid_certs": "bool",
"mqtt_namespace": "str?",
"mqtt_home_assistant_discovery": "bool",
"timezone": "str",
"import_dir": "str",
"default_geofence": "str?",
+8 -1
View File
@@ -18,6 +18,8 @@ MQTT_PASSWORD=$(bashio::config 'mqtt_pass')
MQTT_TLS_ACCEPT_INVALID_CERTS=$(bashio::config 'mqtt_tls_accept_invalid_certs')
MQTT_TLS=$(bashio::config 'mqtt_tls')
MQTT_USERNAME=$(bashio::config 'mqtt_user')
MQTT_HOME_ASSISTANT_DISCOVERY=$(bashio::config 'mqtt_home_assistant_discovery')
MQTT_HOME_ASSISTANT_DISCOVERY_PREFIX="homeassistant"
# Other things
IMPORT_DIR=$(bashio::config 'import_dir')
@@ -40,9 +42,14 @@ ingress_entry=$(curl -X GET \
export URL_PATH=$ingress_entry
addon_slug=$(bashio::addons self addons.self.slug .slug)
MQTT_HOME_ASSISTANT_DISCOVERY_URL="homeassistant://app/${addon_slug}"
export DATABASE_HOST DATABASE_NAME DATABASE_PASS DATABASE_PORT DATABASE_USER \
DISABLE_MQTT MQTT_HOST MQTT_NAMESPACE MQTT_PASSWORD MQTT_TLS_ACCEPT_INVALID_CERTS \
MQTT_TLS MQTT_USERNAME IMPORT_DIR PORT TZ DEFAULT_GEOFENCE ENCRYPTION_KEY URL_PATH
MQTT_TLS MQTT_USERNAME IMPORT_DIR PORT TZ DEFAULT_GEOFENCE ENCRYPTION_KEY URL_PATH \
MQTT_HOME_ASSISTANT_DISCOVERY MQTT_HOME_ASSISTANT_DISCOVERY_PREFIX \
MQTT_HOME_ASSISTANT_DISCOVERY_URL
# These are optional and applied last so we can override those set above if needed.
for env_var in $(bashio::config 'env_vars|keys'); do
+3
View File
@@ -37,6 +37,9 @@ configuration:
mqtt_namespace:
name: MQTT Namespace
description: MQTT namespace.
mqtt_home_assistant_discovery:
name: MQTT Home Assistant Discovery
description: Automatically publish MQTT discovery topics for Home Assistant.
grafana_import_dashboards:
name: Import Grafana Dashboards?
description: Automatically import the grafana dashboards on startup?