Commit graph

112 commits

Author SHA1 Message Date
Andreas Linde
bfb61c4965
Various template improvements (#2119)
- Remove unused port param in senec-home template
- Support for multiple predefined param sets, also adds identifier params to Tesla, Tronity, OVMS, ...
- Properly handle optional number/float checks
- Add Dacia vehicle template
2021-12-26 17:33:32 +01:00
andig
ef68405fb8
Intercept parameters from http redirects (#2111) 2021-12-24 00:14:53 +01:00
andig
6186c6d4db chore: fix grpc deprecation 2021-12-19 12:08:20 +01:00
Andreas Linde
0c4e338c22
Fix identifiers in templates not working (#2037)
Fixes #2036
2021-12-13 18:06:16 +01:00
andig
cd43f09263
Make waiter always expect initial value even if timeout is zero (#2031)
Some checks failed
Default / Build (push) Failing after 1m46s
Default / Build UI (push) Failing after 2m12s
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Publish Github & APT release (push) Has been cancelled
2021-12-12 20:06:41 +01:00
Andreas Linde
96a0475390
Template improvements (#2019)
Fix #2018

- Update go-e firmware requirements
- Change cfos devices not to use modbus config schema
- Add support for `onIdentify` params of vehicles
- Add support for `resetOnDisconnect` for loadpoints
- Add support for defining device specific modbus port, baudrate and comset defaults
- Handle fatal error when `evcc.yaml` exists and the process doesn't have write permissions
- Some bug fixes
2021-12-12 19:56:28 +01:00
Andreas Linde
984392d047
More configure flow improvements (#2005)
- Added Tinkerforge Warp help texts to make it clear that the MQTT host and port need to be added
- Allow to define linked templates in guided setup to be added multiple times, e.g. multiple SMA PV or Battery inverters with an SMA Home Manager setup
- Allow to exclude a linked template, if devices are added of another linked template, e.g. don't ask for SMA PV inverters if an SMA Energy Meter is added
- Various other changes
2021-12-09 22:29:41 +01:00
andig
6ad297a9f0
Refactor mqtt broker connection handling (#2003) 2021-12-09 07:57:17 +01:00
Andreas Linde
4e119e8f6d
cli configure updates (#1966)
- Add `--advanced` mode, where params defined as `advanced: true` will be asked
- Add support for handling user input for lists, e.g. `identifiers`
- Bool values are now a No/Yes selection instead of text input
- Common definitions (params and render) are moved into single `parambaselist.yaml` file
- Some refactoring
2021-12-02 14:31:31 +01:00
Andreas Linde
7e41a970d5
Experimentelle geführte Erstellung der Konfigurationsdatei (#1888)
Dies ist eine experimentelle Umsetzung im folgenden aufgeführten Ziele.

Wie es verwendet:
- Start über `evcc configure`
- Die Konfiguration wird in evcc.yaml geschrieben. Falls diese existiert kann ein alternativer Dateiname angegeben werden

Was es kann:
- Eine geführte Erstellung der Konfigurationsdatei
- Direktes Testen ob die Konfiguration jedes Gerätes auch funktioniert
- Konfigurationsabhängigkeiten durch direkte Konfiguration der Abhängigkeit lösen (z.B. Sponsorshipt required)
- Konfiguration in für Anwender bekannte Informationen und möglichst wenig Informationseingabe zu ermöglichen, z.B. anhand von Produkten anstatt aus der Implementierungssicht
- Bisherige Konfiguration funktioniert weiter
2021-11-30 14:29:09 +01:00
andig
7a54e50a3c
chore: introduce CoilOn const (#1927) 2021-11-24 09:20:59 +01:00
andig
c19f279484
Skoda Enyaq: add start/stop charger command (#1905) 2021-11-20 17:05:10 +01:00
andig
5e586fcea4
Create transport package (#1838) 2021-11-19 21:09:57 +01:00
andig
00c8852be4 chore: fix semgrep errors 2021-11-14 11:48:17 +01:00
andig
2599c62ac1 Fix data race in log redaction 2021-11-12 13:00:11 +01:00
andig
a43bc0ce8b Easee: Ensure token refresh doesn't race 2021-11-12 11:31:09 +01:00
andig
ca3f793eb1 Add basic form of log redaction for user names and passwords (#1810) 2021-10-31 13:15:41 +01:00
Andreas Linde
d6be9672f8
Fail build when golang version doesn't match (#1734) 2021-10-27 10:01:54 +02:00
Markus Thierolf
9969590bd6
Add FritzDECT meter (#1775) 2021-10-25 15:50:09 +02:00
andig
e3783079de
VW: expose errors from token exchange (#1783) 2021-10-25 13:53:26 +02:00
andig
fd46f62908 Minor 2021-10-23 15:05:37 +02:00
andig
eb3412f861 VW: improve id token handling 2021-10-22 18:37:59 +02:00
andig
850c117f23
HTTP: add digest auth (#1693) 2021-10-03 11:16:49 +02:00
Markus Thierolf
cfbb2cbca7
Add Shelly-NG 3nd gen devices (#1682) 2021-10-03 11:11:47 +02:00
andig
dbc09b49ed Handle yaml 8e1 transparently 2021-09-08 09:54:10 +02:00
andig
e0f68de753 Audi: handle odometer errors 2021-09-06 13:06:15 +02:00
andig
51f0a4153a
Fiat: add soc refresh and odometer api (#1480) 2021-09-05 18:05:05 +02:00
andig
c4298410d1
Improve loadpoint api (#1402)
Breaking change: chargeEstimate becomes chargeRemainingDuration
2021-09-05 11:28:28 +02:00
andig
8834e26adf
Discriminate between mode empty and invalid (#1410) 2021-08-22 20:03:55 +02:00
andig
701ff96831
Minor 2021-08-21 23:44:48 +02:00
andig
93e5fd39d4 Validate comset parameter 2021-08-21 14:25:55 +02:00
andig
c77e455809 Update evcc repo uri 2021-08-21 12:53:25 +02:00
andig
722e3e0ed1 Update config repo uri 2021-08-21 12:45:17 +02:00
andig
7f95e78eb4
Add ABL eMH1 (#1298) 2021-08-12 21:41:19 +02:00
andig
be05a258de
Easee: make circuit configurable (#1296) 2021-08-06 18:24:17 +02:00
andig
383d450637 Add Tronity support (#1268) 2021-08-04 09:00:31 +02:00
andig
4fbdb526b0 Limit trace log level to physical communication (#1240) 2021-07-25 16:21:21 +02:00
andig
14cfc97d22 Add Fiat 500e (#1229) 2021-07-21 09:32:02 +02:00
Benjamin Böhmke
601410055e
Re-use logger instance (#1176) 2021-06-26 10:04:03 +02:00
andig
3df591bcc6 Simplify request metrics, use HTTP 999 for error status 2021-06-07 21:08:08 +02:00
andig
24a0046832 Metrics: include request status 2021-06-06 11:39:37 +02:00
andig
ae035be94d
VW: allow setting custom timeouts (#1111)
* VW: allow setting custom timeouts
* Add HTTP request metrics
2021-06-03 18:18:55 +02:00
andig
265e29f441 Minor cleanup 2021-05-26 11:45:49 +02:00
andig
3f9e627dc5 Improve logging 2021-05-26 11:45:38 +02:00
andig
284e2794a6 SoC: pin server certificate 2021-05-22 13:06:36 +02:00
andig
80177aa0ad
Restructure device tree and remove soc server (#1060) 2021-05-21 19:18:14 +02:00
andig
cf6d435b6e Improve http request logging 2021-05-15 11:26:52 +02:00
andig
62052e0159
Fix memory leaks due to not closing http request body (#997) 2021-05-10 21:58:04 +02:00
andig
502f25f017
Fix creating RS485 meters as Sunspec when RTU is not enabled (#977) 2021-05-08 20:55:35 +02:00
andig
ca2ccfa90f Refactor TokenRefresher interface 2021-05-02 10:45:45 +02:00