Commit Graph

1277 Commits

Author SHA1 Message Date
Adrian Kumpf da7c015900 Use Debian as base iamge
Elixir 1.11-alpine is based on Alpine 3.13 which upgraded musl to 1.2.
On ARMhf, ARMv7 or x86 platforms, musl 1.2 changed the definition of
time_t to 64-bits. That seems to be incompatible with OTP.
2021-01-31 17:08:02 +01:00
Adrian Kumpf 5bba9e1f32 Format 2021-01-30 20:27:57 +01:00
Adrian Kumpf b9ef13addf Add sign-out button 2021-01-30 20:24:42 +01:00
dependabot[bot] ff65483335 Bump phoenix_live_view from 0.15.3 to 0.15.4
Bumps [phoenix_live_view](https://github.com/phoenixframework/phoenix_live_view) from 0.15.3 to 0.15.4.
- [Release notes](https://github.com/phoenixframework/phoenix_live_view/releases)
- [Changelog](https://github.com/phoenixframework/phoenix_live_view/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phoenixframework/phoenix_live_view/compare/v0.15.3...v0.15.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-30 18:40:01 +00:00
DrMichael 7223f15c42 Remove 'charger_actual_current > 0' (#1253)
Because with DC charger_actual_current actually is 0.

Fixes #1252
2021-01-30 19:39:17 +01:00
Adrian Kumpf 9ca3830f04 Refresh access tokens with new auth endpoint 2021-01-30 19:20:49 +01:00
Adrian Kumpf 3bb2d3086f Remove support for legacy auth 2021-01-30 18:06:13 +01:00
Adrian Kumpf e3e91134e4 Downgrade to alpine v3.12 2021-01-24 00:37:00 +01:00
DrMichael 3c78c5af30 Reenable temperature in charges dashboard (#1213)
* Reenable temperature in charges dashboard

* Overview dashboard: updated temperatures to use same TZ comparison

And extended the back period to 60m. Cannot have changed too much in one hour.

* Use UNIX-style line endings

* Revert unrelated changes

* Re-add custom colors

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2021-01-21 16:30:31 +01:00
Sergio Rius 74a9f74523 Update charge-details.json (#1215)
The graph shows registers just some seconds past the end, that is supposedly the time the Api delays the notification of the end of the charging session. That makes that the min range values in the legend for voltage, current and power shows zero and become useless. By adding a zero restriction to power or current, we avoid those zero registers and better restrict the charging session times. As a side effect, the right y-axis can show a better interval and the graph has more detail.
2021-01-21 16:06:24 +01:00
Leland Sindt 23ef9eaca4 Gaussmeter for sale! (#1225) 2021-01-21 14:41:08 +01:00
dependabot[bot] 44a1c583bb Bump castore from 0.1.8 to 0.1.9
Bumps [castore](https://github.com/elixir-mint/castore) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/elixir-mint/castore/releases)
- [Commits](https://github.com/elixir-mint/castore/compare/v0.1.8...v0.1.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-21 13:37:34 +00:00
dependabot[bot] 7fcbbda885 Bump ecto_sql from 3.5.3 to 3.5.4
Bumps [ecto_sql](https://github.com/elixir-ecto/ecto_sql) from 3.5.3 to 3.5.4.
- [Release notes](https://github.com/elixir-ecto/ecto_sql/releases)
- [Changelog](https://github.com/elixir-ecto/ecto_sql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-ecto/ecto_sql/compare/v3.5.3...v3.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-21 13:37:18 +00:00
Adrian Kumpf a36b409856 Remove unused alias 2021-01-19 17:47:07 +01:00
dependabot[bot] 709b97884c Bump alpine from 3.12.3 to 3.13.0
Bumps alpine from 3.12.3 to 3.13.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-19 16:46:58 +00:00
dependabot[bot] bce0430a21 Bump grafana/grafana from 7.3.6 to 7.3.7 in /grafana
Bumps grafana/grafana from 7.3.6 to 7.3.7.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-19 16:41:03 +00:00
Niyazi Erdoğan 747400f6b1 Added Turkish Language Support (#1194)
* added turkish language support

* fixed msgid overrides

Co-authored-by: Niyazi Erdogan <niyazi.erdogan@roche.com>
2021-01-12 17:08:04 +01:00
Adrian Kumpf 14d64cf045 Bump tzdata to v1.1.0 2021-01-12 14:16:53 +01:00
dependabot[bot] 8929edc3e4 Bump elixir from 1.11.2-alpine to 1.11.3-alpine
Bumps elixir from 1.11.2-alpine to 1.11.3-alpine.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 10:19:13 +00:00
Adrian Kumpf 989fa8e27c Update CHANGELOG 2021-01-10 16:37:19 +01:00
Adrian Kumpf 498729620d Update CHANGELOG 2021-01-10 16:26:10 +01:00
Frank van Boven 06825c2c98 Update drive duration query (#1191) 2021-01-10 16:11:16 +01:00
Tuomas Savela 0ec7323984 Finnish translation (#1190)
* Create default.po

* Create errors.pot

* Rename errors.pot to errors.po

Typo in extension

* Update default.po

* Update errors.po
2021-01-10 15:53:02 +01:00
Matt White cf043c0e3a Add link to Home Assistant addon (#1188)
* Add link to Home Assistant addon

* Update projects.md

* Add LINK

* Fix brackets
2021-01-10 15:49:38 +01:00
Adrian Kumpf 410d277f2e Use built-in Ecto enum type 2021-01-09 00:08:36 +01:00
Adrian Kumpf eb8f055978 Update js deps 2021-01-09 00:05:39 +01:00
Rogier van der Geer 16750159e4 Fix typo in the link (#1185) 2021-01-08 14:07:00 +01:00
dependabot[bot] 8e7b99caa4 Bump phoenix_live_view from 0.15.1 to 0.15.3
Bumps [phoenix_live_view](https://github.com/phoenixframework/phoenix_live_view) from 0.15.1 to 0.15.3.
- [Release notes](https://github.com/phoenixframework/phoenix_live_view/releases)
- [Changelog](https://github.com/phoenixframework/phoenix_live_view/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phoenixframework/phoenix_live_view/compare/v0.15.1...v0.15.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-04 08:49:17 +00:00
Adrian Kumpf 90dedcb0d5 Fix typo 2021-01-03 23:06:22 +01:00
Adrian Kumpf ab7556e8af Allow to use non-standard MQTT ports 2021-01-03 22:40:07 +01:00
Adrian Kumpf b27276b7db Handle unexpected MFA errors 2021-01-03 21:41:32 +01:00
Bdot42 354270c86a Update tesla_apiscraper.md (#1174)
Give an example how to get the vehicle_id from teslamate.
2021-01-03 21:36:40 +01:00
Frank van Boven 3beb8161aa Add Docker update documentation (#1170) 2021-01-03 21:35:59 +01:00
Frank van Boven eadc820087 Fix colors in Updates dashboard (#1169) 2021-01-03 21:35:17 +01:00
Adrian Kumpf 78d7c3e158 Bump version 2021-01-02 18:24:30 +01:00
Adrian Kumpf 154616ca38 Release 1.21.0 2021-01-02 18:08:00 +01:00
Adrian Kumpf 8e0096d87e Disable button when verifying passcode 2020-12-30 17:53:51 +01:00
Adrian Kumpf dd66b072cf Refactor cold weather mode detection 2020-12-30 17:49:54 +01:00
Adrian Kumpf 5ebe952205 Format javascript and css files 2020-12-30 17:49:47 +01:00
virtualm2000 ff30e5fc6d Added state nil for charge port cold weather mode (#1154) 2020-12-30 17:11:18 +01:00
Adrian Kumpf 7936cea14f Fix typos 2020-12-29 21:55:51 +01:00
Adrian Kumpf 320347392d Update CHANGELOG 2020-12-29 21:42:25 +01:00
Adrian Kumpf e66894d028 Fix FunctionClauseError if import directory is not accessible
Addresses #1070
2020-12-29 20:32:20 +01:00
Thomas L. Johnsen 5a6a7b5fc6 Fix for dashboards/updates to apply number of charges and avg rated range to the correct update (#1147)
Fixes #991
2020-12-29 20:12:31 +01:00
Lee Willis b9333ebd2b Resolve issue with month groupings on statistics dashboard (#1082)
Co-authored-by: Lee Willis <lee@ademti-software.co.uk>
2020-12-29 19:53:09 +01:00
Adrian Kumpf d825fc1723 Allow to use the legacy authentication API 2020-12-29 15:05:38 +01:00
Adrian Kumpf 2360f3d0d4 Fix unit of measurements (docs)
Fixes #1131
2020-12-25 23:05:41 +01:00
dependabot[bot] 0a73325ddc Bump timex from 3.6.2 to 3.6.3
Bumps [timex](https://github.com/bitwalker/timex) from 3.6.2 to 3.6.3.
- [Release notes](https://github.com/bitwalker/timex/releases)
- [Changelog](https://github.com/bitwalker/timex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bitwalker/timex/commits/3.6.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-25 22:00:13 +00:00
Adrian Kumpf bccb43b346 Prevent division by zero
Fixes #1145
2020-12-25 22:57:14 +01:00
Adrian 0a0d17836f Gpx export (#993)
* Add first draft of gpx export

* Add test for gpx export

* Sort drive positions by date for gpx export
2020-12-22 19:29:33 +01:00