Commit graph

20 commits

Author SHA1 Message Date
andig
84f5c56dca
chore: return to sprig (#16482) 2024-10-04 08:10:56 +02:00
andig
500a8b5258 chore: fix sprout 2024-08-25 16:28:00 +02:00
andig
ac5e68648d Revert "chore: upgrade libraries"
This reverts commit 92bacbdce7.
2024-08-18 19:51:19 +02:00
andig
92bacbdce7 chore: upgrade libraries 2024-08-18 18:32:33 +02:00
andig
c04f52f851 chore: deprecate TxtFuncMap 2024-06-26 10:20:20 +02:00
andig
940ce81a84
chore: upgrade go-sprout (#13841) 2024-05-15 22:14:44 +02:00
andig
9241cb919e
chore: migrate to sprout (#13477) 2024-04-18 08:37:14 +02:00
andig
d2aaa82d43
Configure: remove resetOnDisconnect (#11212)
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled
2023-12-23 15:07:10 +01:00
andig
0854849243
Add support for loading and storing device configuration from/to database (#6199) 2023-08-17 19:59:31 +02:00
Andreas Linde
2816102147
Fix value generation in configure process (#8776)
The `plant` should be set at the beginning of the configuration proecss and used to set the machine `CustomID` as evcc does when starting up with a config file.

Fixes https://github.com/evcc-io/evcc/issues/8775
2023-07-03 16:05:57 +02:00
andig
3f88c56b0b
Simplify template handling and trim trailing spaces (#7144)
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled
2023-04-01 10:32:49 +02:00
andig
54321c0cf7
Add configuration api (#6035)
Co-authored-by: Michael Geers <michael@geers.tv>
2023-02-08 11:29:27 +01:00
Andreas Linde
017321d48e
Add configure option to ask for a fixed vehicles
Ask the user if automatic vehicle detection should be turned off and a vehicle assigned instead if there are more than 0 vehicles defined.
If more than 1 vehicles are configured, it will ask which to assign
2022-10-15 11:10:50 +02:00
andig
8a655efce8
Add random plant id during configure (#4697) 2022-10-02 19:09:42 +02:00
andig
8ca91959ae Templates: simplify rendering of instances 2022-09-25 12:05:26 +02:00
Andreas Linde
cfb174f9f5
More template stuff (#2164)
Some checks failed
Default / Build (push) Failing after 2m0s
Default / Build UI (push) Failing after 13s
Release / Publish Docker :release (push) Has been cancelled
Release / call-build-workflow (push) Has been cancelled
Release / Publish Github & APT release (push) Has been cancelled
- Configure now asks for the users knowledge level, so advanced mode can be reached without calling with `--advanced`
- Add template for solaredge inverter
- Add beta template for sungrow inverter
- Add template for MQTT based meter
- Add more template documentation
- Add check and error message for invalid config properties when using templates
- Option to specify language specific template descriptions
- Option to make params dependent on values of other params 
- Option to add sponsortoken in advanced mode
- Option to set minCurrent in advanced mode
- Remove sponsorship requirement from Daheimladen wallbox
- Multiple fixes (FritzDect meter, Kostsal Piko meter, ...)
2022-01-09 12:59:54 +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
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
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