Commit graph

161 commits

Author SHA1 Message Date
andig
3bac55c494 Revert "Ensure errors and warnings are cached"
This reverts commit cc4ffdbf556d204530ba980dde7ee88bae9c03b9.
2022-01-03 18:25:46 +01:00
Michael Geers
68cfebd2cd
Ersparnisanzeige (#2105) 2022-01-02 22:58:13 +01:00
Andreas Linde
fe0572544b
Move single device configuration to advanced mode (#2138)
- move the single device configuration to advanced mode only, as it is not a common use case
- clarify that single device configuration means the user has to add the output to a configuration file manually
2021-12-29 10:55:53 +01:00
andig
8577fa1ae9
Ensure errors and warnings are cached (#2131) 2021-12-28 14:39:29 +01:00
Andreas Linde
140c9371a7
Modbus template fixes (#2128)
- Fix modbus template device label
- Add baudrate help text to templates
2021-12-27 18:10:38 +01:00
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
6b8d0d8000 chore: remove cache dependency 2021-12-22 11:09:00 +01:00
andig
f6d9d5a47d
chore: force gofmt (#2076)
Some checks failed
Default / Build (push) Failing after 1m35s
Default / Build UI (push) Failing after 1m57s
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-19 14:27:26 +01:00
Andreas Linde
754e8a5a7d
Add validation and limits to current input 2021-12-17 11:15:36 +01:00
Andreas Linde
70c267c16a
Fix configure for charger w/o meter implementation
When a charger doesn't have a meter implementation, this should also return the proper state, so configure can ask for a meter.
2021-12-16 19:39:32 +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
rivengh
05e3eed893
Fix dumping ActionConfig structure (#2029) 2021-12-11 23:07:17 +01:00
andig
981b23dd56
Add vehicle position api (#2021) 2021-12-11 12:47:08 +01:00
Andreas Linde
e7623fa8cf
More improvements and fixes for configure (#2010)
- Fixes Modbus setup not working, actually the test not using the user input
- Make sure Modbus input items use localized text and help
- Mask sponsorship token input
2021-12-10 11:31:22 +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
1ee90e7a8e
Fix wrong string reference in configure 2021-12-08 12:55:56 +01:00
Andreas Linde
27b1fdf708
Add support for getting a single device config (#1979) 2021-12-05 23:44:30 +01:00
andig
d54632530d Improve dumping vehicle identifiers and action config 2021-12-04 11:10:47 +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
rivengh
a45e240253
Improve action handling to consistently apply and reset vehicle settings (#1942)
allow GetTargetSoC() and GetMinSoC() to be used even when no vehicle is connected
use SetMinSoC() and SetTargetSoC() functions in applyAction()
allow to set minSoC to 0 with applyAction()
apply OnIdentify actions only when OnIdentify node is present in vehicle configuration (optional parameter)
2021-12-01 13:49:59 +01:00
Andreas Linde
73016595c2
Various configure / template updates (#1956)
- Standardize file and template names
- Move Senec template to http plugin
- Template fixes
- Added template documentation
- Update generation doc yaml files
- Visually separate eebus and sponsorship config
- Rename vzlogger templates to Volkszähler
- Add vzlogger template
- Remove loglevel support
2021-12-01 10:31:54 +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
Andreas Linde
390ce9b58a
Remove note to report the detect results (#1959) 2021-11-30 08:54:38 +01:00
andig
9b16f9bcf2
Improve vehicle identification experience (#1889)
- allow multiple identifiers per vehicle to support RFID and MAC across multiple chargers
- move onIdentify action config from loadpoint to vehicle
- add minSoC to action config
- replace onDisconnect with simpler resetOnDisconnect
2021-11-18 11:37:14 +01:00
andig
0c1e09b561 chore: improve visitors api 2021-11-16 13:24:58 +01:00
andig
2fc5291707 Fix meter access error during config dump 2021-11-16 13:18:08 +01:00
andig
ac6bfd0ca9 chore: remove leftover comment 2021-11-14 15:57:49 +01:00
andig
00c8852be4 chore: fix semgrep errors 2021-11-14 11:48:17 +01:00
andig
b55b2643a3 Cleanup unix domain socket for health listener on exit 2021-10-28 15:15:26 +02:00
andig
40ddbab8cc InfluxDB: don't limit the amount of data written 2021-10-24 16:25:19 +02:00
andig
97ef6b1a3d Fix retry handling 2021-10-24 15:03:13 +02:00
andig
8edf0ae49a Align handling of odometer and range 2021-10-23 15:05:29 +02:00
andig
72d59661c6 Track duplicate meter usage 2021-10-22 16:52:54 +02:00
andig
d25f6f7706 Soc: match GRPC errors using values instead of type 2021-10-20 15:39:11 +02:00
andig
d9c15954e6 Align soc retry handling 2021-10-20 15:29:40 +02:00
andig
a924483398 Fix ctrl-c not working when waiting for initial value on mqtt 2021-10-19 20:03:01 +02:00
andig
878f0e5f70
Rename vehicleSoc to vehicleSoC for consistency with other soc values (#1559) 2021-09-28 14:22:40 +02:00
andig
71f0cae5ea
Improve generating decorators (#1648) 2021-09-26 19:37:00 +02:00
andig
5ff3b10f34 Change the way vehicle errors are silenced 2021-09-21 20:58:44 +02:00
andig
7613c57ca9 Improve error message 2021-09-17 11:33:57 +02:00
andig
e0f68de753 Audi: handle odometer errors 2021-09-06 13:06:15 +02:00
Ben B
7b4b8660ba
fix: demo mode (#1474) 2021-09-03 20:43:27 +02:00
andig
3986b75b08
Improve target charging and refactor loadpoint and site apis (#1470) 2021-09-02 14:16:05 +02:00
andig
6a260d9bff
Rename vehicle properties (#1380) 2021-08-23 13:39:43 +02:00
andig
f6035829bd
Add odometer api (#1357) 2021-08-23 13:27:07 +02:00
Andreas Linde
dba1d84af5
Fix exiting if EEBus is not configured 2021-08-22 07:04:25 +02:00
andig
c77e455809 Update evcc repo uri 2021-08-21 12:53:25 +02:00
Andreas Linde
02b2384051
Add experimental support to chargers providing an EEBUS interface (#1363)
- This is experimental!
- Initial EEBUS support
- Only tested with Porsche Mobile Charger Connect
- It does not support charging via timers defined in the EV right now
- It most likely has limitations and bugs
- It needs more testing and documentation
2021-08-21 11:46:50 +02:00
andig
383d450637 Add Tronity support (#1268) 2021-08-04 09:00:31 +02:00