Commit graph

19 commits

Author SHA1 Message Date
andig
5e482972e0
Add device lifecycle (BC) (#16513) 2024-10-12 10:57:33 +02:00
andig
8cc3b0f4d2
Allow marking tests to be skipped (#16528) 2024-10-06 13:45:38 +02:00
andig
58e2421a5b
chore: fix linter (#11028) 2023-12-06 18:29:32 +01:00
Michael Heß
e9b345af6e
Fix network timeouts in template tests (#10272) 2023-11-05 10:32:53 +01:00
andig
1a9d7caadf chore: fix tests 2023-04-10 17:26:38 +02:00
andig
675a724b8f chore: simplify template error handler 2023-03-19 14:06:06 +01:00
andig
4810c7e62f
chore: refactor testing templates to reduce duplicated code (#6760) 2023-03-10 20:55:32 +01:00
andig
1f425e913e EVnotify: fix template 2022-08-25 08:53:47 +02:00
andig
7335af2543
Templates: fix modbus defaults not applied to configuration (#3635) 2022-06-16 17:26:49 +02:00
andig
1bfd0f6355 Require Go 1.18 and use generics (#2116) 2022-04-02 12:47:26 +02:00
andig
2ef0ab750c chore: run test on ci 2022-03-03 19:59:23 +01:00
andig
29171842c8 Test and instantiate all template usages 2022-03-02 18:48:55 +01:00
Andreas Linde
33e6bd8531
Template Updates (#2447) 2022-02-17 18:16:20 +01:00
Andreas Linde
14bfec15ac
Add Amtron templates 2022-01-29 16:44:48 +01:00
Andreas Linde
1ee5b2b8ec
Fix template tests 2022-01-29 16:36:55 +01:00
Andreas Linde
a52f52b406
Template enhancements (#2274)
- Only add SMA HEMS Setup, if required values exist (e.g. machine-id). Also asks the user if this should be added
- New templates: Alfen, PC Electric Garo, go-e V3 (moved into separate template), Tasmota meter, Huawei inverter with Sdongle
- Updated templates: SolarEdge Inverter, Sunspec
- New capabilities can be assigned: 1p3p, RFID
- Added group information instead of `generic` flag. Used e.g. for marking power plugs or generic devices
- Requirement description text can now be markdown text (required for documentation page)
- Replaced `description` with product list, separating brand from description (required for documentation page)
- Generate newly structured documentation yaml files
- Fix https://github.com/evcc-io/evcc/issues/2385
2022-01-23 15:21:13 +01: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
fb1d6f552f
Remove dependency from config repo (#2182)
The templates infrastructure replaces this
2022-01-01 17:50:32 +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