Commit Graph
117 Commits
Author SHA1 Message Date
Adrian Kumpf 0d6e288c70 Encrypt API tokens (#2360)
Store API tokens encrypted in the database.

During the database migration a randomly generated key will be used encrypt the tokens if no ENCRYPTION_KEY environment variable was provided.

If the application is started without the presence of an ENCRYPTION_KEY (or if the key failed to decrypt the existing tokens), the UI will display a warning with further instructions.
2022-02-18 17:03:13 +01:00
Adrian Kumpf d461292bc4 Update frontend deps 2022-02-18 16:57:09 +01:00
ToniandAdrian Kumpf 41b9a1c4d7 DC charge curve scatter graph (#2093)
* DC charge curve scatter graph

* Display geofence name if possible

* Add natel-plotly-panel to plugins (docs)

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2022-02-18 16:28:59 +01:00
DrMichael 27dc029254 Added ProxyPreserveHost On to the Grafana entries in Apache2 config (#2471) 2022-02-18 14:21:57 +01:00
dependabot[bot] 14209c9fc4 Bump follow-redirects from 1.14.7 to 1.14.8 in /website
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-18 13:20:11 +00:00
Adrian Kumpf a8bcb906b1 Add charge_current_request(_max) MQTT topics
Implements #2412
2022-02-09 17:13:35 +01:00
Adrian Kumpf e7c34a22ba Update website deps 2022-02-01 15:16:57 +01:00
Pierre Belanger 29bbf7a67c README.md typo (#2410) 2022-01-31 12:47:10 +01:00
cwanja fb430f4ef7 Update upgrading.mdx (#2368)
Added text to clarify that the `pull` command needs to be ran from the directory where the docker YML file is located.
2022-01-25 17:08:25 +01:00
Adrian Kumpf b4b33af497 Migrate discrete-panels to native timeline panel 2022-01-21 17:31:38 +01:00
Adrian Kumpf 8dca810cfd Migrate Charging Stats dashboard
- New native pie charts
- Upgrade panodata-map-panel
2022-01-21 17:31:36 +01:00
rustikles 7662e3ebe6 Update freebsd.md (#2226)
Additional package dependencies for freebsd installations of teslamate.
2022-01-21 10:52:20 +01:00
cwanja d1039b8b05 Update faq.md (#2345)
Clarified the consumption values and what triggers the recalculations based on issues #2229 and #2272
2022-01-21 10:51:20 +01:00
panaut0lordv 0158c70afe Added TeslaMate-ABRP and typo fix (#2314) 2022-01-19 10:00:26 +01:00
Adrian Kumpf fff6915e73 Disable anonymous login to Grafana 2022-01-12 00:23:16 +01:00
Adrian Kumpf c0e4a0bee4 Update installation guides 2022-01-12 00:14:41 +01:00
Adrian Kumpf 32e7f18a88 Update website deps 2022-01-01 16:32:43 +01:00
Oddadin f032ee76a5 Update backup_restore.md (#2217)
Replacing "loose" with "lose"
2021-12-13 16:41:44 +01:00
Adrian Kumpf 1992af38c3 Show token sign-up form by default 2021-11-12 17:39:20 +01:00
Peter BoothbyandAdrian Kumpf 1f8bbef39a Integration Guide for Node-RED, with examples (#2098)
* Create Node-RED.md

* Update Node-RED.md

* Add files via upload

* Update Node-RED.md

* Update Node-RED.md

* Add files via upload

* Update Node-RED.md

* Update Node-RED.md

* Add files via upload

* Update Node-RED.md

* Update Node-RED.md

* Update Node-RED.md

* Update Node-RED.md

* Update Node-RED.md

* Update Node-RED.md

* Update Node-RED.md

* Update Node-RED.md

* Update Node-RED.md

* Add files via upload

* Update Node-RED.md

* Create Node-RED.md

* Add files via upload

* Update Node-RED.md

* Update Node-RED.md

* Add files via upload

* Update Node-RED.md

* Update Node-RED.md

improved the directions for adding node-red modules

* Add sidebar link

* Format markdown file

* Fix file link

* Move assets into separate directory

* Optimize images

* fix spelling error

"hamburber" sounds like something Donald Trump would write. I fixed the spelling error. :)

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2021-11-08 17:05:36 +01:00
dependabot[bot] 0bca5f91a4 Bump @docusaurus/preset-classic in /website
Bumps [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) from 2.0.0-beta.6 to 2.0.0-beta.8.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.8/packages/docusaurus-preset-classic)

---
updated-dependencies:
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 15:09:25 +00:00
withanHdammit d9a3b7cf35 Update: upgrading Manual install (Debian) (#2043)
Added a note to step 2 to possibly requiring environment variables.
2021-10-15 12:35:08 +02:00
Adrian Kumpf 70468ea762 Migrate from webpack to esbuild 2021-09-22 22:07:14 +02:00
Adrian Kumpf f25012b3b1 Update dependencies 2021-09-19 16:01:26 +02:00
Adrian Kumpf 68ae97fa4e Update website dependencies 2021-09-06 16:32:05 +02:00
Adrian Kumpf 373a478365 Update website dependencies 2021-08-30 17:23:34 +02:00
Kyle Awayan 0da1fc6946 Add note with custom TM_DB_USER when backing up (#1931)
I was trying to backup my TeslaMate instance, and tried using the command given in the documentation. I kept getting this error:

```
pg_dump: error: connection to database "teslamate" failed: FATAL:  role "teslamate" does not exist
```

However when I was setting up TeslaMate with [this guide](https://docs.teslamate.org/docs/guides/traefik), I changed the values in the `.env` file, specifically `TM_DB_USER`. Since I changed that, I needed to change it in the backup command also.

I added another little note box for others in this scenario.
2021-08-30 12:41:14 +02:00
Benoit Masson 59d81c8105 Update grafana rule to limit to teslamate host (#1937)
useful if you share an already running traefik or have multiple domain
2021-08-30 12:14:37 +02:00
Erik Billerby a6a45ff325 Added a note about RAM needed after having issues, also a small clarification on where to place the .env file in the advanced guide. (#1857) 2021-07-24 12:37:30 +02:00
Adrian Kumpf 88d9ac757e Change icon name
Fixes #1832
2021-07-19 15:19:04 +02:00
Jux a6d881f54f Update home_assistant.md (#1756)
Fixed heading for binary_sensor config. Old one caused some confusion
2021-07-09 15:09:47 +02:00
Matt Jeanes ba435b2ed1 Add aWATTar to TeslaMateAgile supported providers (#1804) 2021-07-08 11:02:47 +02:00
Adrian Kumpf f998ccca5b Update js dependencies 2021-06-30 16:10:55 +02:00
dependabot[bot] df4f45bf20 Bump prismjs from 1.23.0 to 1.24.0 in /website
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.23.0...v1.24.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-30 13:45:21 +00:00
paulhargreaves 9b85d7a4fe Update environment_variables.md (#1736)
Fix typo
2021-06-23 16:25:40 +02:00
JakobLichterfeld aa220d975b Docu: Home Assistant fixed (#1711)
* Update home_assistant.md

- ui-lovelace: added needed views array, now able to load in Home Assistant
- sensor.yml: Correct spacing, now valid yaml-file and able to load in Home Assistant

* Update home_assistant.md

- ui-lovelace: entities with binary_sensor fixed, un-needed '' removed
2021-06-15 12:14:42 +02:00
Iulius fd66b2c4d2 rc.d script updated (#1712)
adds data model migration to start up
2021-06-15 12:13:00 +02:00
Adrian Kumpf 493963d89d Update website dependencies 2021-06-04 12:13:13 +02:00
IuliusandAdrian Kumpf 493177571f Documentation update: FreeBSD added (#1646)
* Create freebsd.md

Basic instruction how to install Teslamate on FreeBSD

* Small adjustments necessary for FreeBSD reflected

* Add empty line before closing tag

* Add FreeBSD guide to the sidebar

* Move FreeBSD upgrade instruction into separate tab

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2021-06-04 12:04:04 +02:00
ffeingol e810a9b199 Update home_assistant.md (#1634)
Corrected binary_sensors to be sensors in the binary_sensors/tesla.yaml example file
2021-05-20 10:17:31 +02:00
Sean Vig 43ad712fac Add device classes and binary sensors to documented Home Assistant config (#1597)
For the Home Assistant config, for all of the sensors which are binary on/off sensors, add a section which configures these as a binary sensor type. In addition, add device classes to both the binary sensors as well as some of the regular sensors. The device class makes it so the UI will show, for example "Open" or "Closed" for the door, rather than "On" or "Off.
2021-05-13 14:12:08 +02:00
Adrian Kumpf 6cfb2a24cf Revert "postgres to alpine and runs on to latest ubuntu (#1576)"
This reverts commit 6050dc53f3.

The alpine images don't work on the Raspberry Pi because its package
sources contains an old version of libseccomp, which causes the time to
be at 1970: https://github.com/docker-library/postgres/issues/812
2021-05-03 16:39:49 +02:00
Adrian Kumpf 4284e04b05 Update Mosquitto version used in docker-compose examples 2021-05-03 11:30:21 +02:00
Tobias LindbergandAdrian Kumpf 6050dc53f3 postgres to alpine and runs on to latest ubuntu (#1576)
* using ubuntu-latest instead of ubuntu-18.04

* appending -alpine to postgres

on workflow and in documentations

* Revert "using ubuntu-latest instead of ubuntu-18.04"

This reverts commit 7f84b1c99a.

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2021-05-02 13:55:34 +02:00
Martin Nadvornik b60bf5e6bb add drive state battery power to published mqtt topics (#1504) 2021-04-26 11:36:59 +02:00
Adrian Kumpf 06530a70bb Update website dependencies 2021-04-26 10:34:46 +02:00
Tobias Lindberg 97ac8f2b19 Bump traefik to v2.4 (#1496) 2021-03-31 23:20:56 +02:00
Adrian Kumpf 1ea28ec96a Update website dependencies 2021-03-21 16:05:10 +01:00
Tobias Lindberg b2dad66d99 Translations, docs typo and other badges (#1461)
* adding swedish translation string for token related things

* typo in docs FAQ page

* switching microbadger images to shields.io
2021-03-18 11:48:57 +01:00
Toni 69d8b117d2 Explaing the asleep mode with MCU1 and the non-streaming mode (#1453) 2021-03-17 17:17:37 +01:00