Commit graph

52 commits

Author SHA1 Message Date
andig
352012d24b
chore: modernize go sources (#24896) 2025-10-31 15:25:53 +00:00
andig
e3aa811875
chore: switch to maintained go.yaml.in/yaml/v4 (#22134) 2025-08-02 09:20:19 +00:00
andig
c136ebc2e0
UI: add unit property (#21396) 2025-05-30 11:47:51 +02:00
andig
07fa1b64f8
chore: refactor plugin structure (#18335) 2025-01-23 14:43:04 +01:00
andig
a558aa2d3a
Templates: replace validvalues with choice (#17944) 2024-12-31 13:06:44 +01:00
andig
a6bb2efe7e Revert "Templates: replace validvalues with choice (BC) (#17653)"
This reverts commit 02cc6899a7.
2024-12-29 11:32:25 +01:00
andig
02cc6899a7
Templates: replace validvalues with choice (BC) (#17653) 2024-12-27 12:39:41 +01:00
andig
fd83affb3f
Templates: replace stringlist with list (BC) (#17654) 2024-12-24 10:49:44 +01:00
Tom Jason Schwanke
0157ea6276
Mqtt: add mTLS authentication using certificates to MQTT (#15563) 2024-09-17 21:23:35 +02:00
andig
b9ce2fcf8d
chore: remove unnecessary links (#14621) 2024-06-29 16:20:05 +02:00
andig
846ef7b6dd chore: minor 2024-04-25 12:19:36 +02:00
andig
f6f4e30fb5 chore: simplify render mode 2024-01-27 18:18:13 +01:00
andig
58e2421a5b
chore: fix linter (#11028) 2023-12-06 18:29:32 +01:00
andig
e14fdf6822
Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
andig
0854849243
Add support for loading and storing device configuration from/to database (#6199) 2023-08-17 19:59:31 +02:00
andig
b368a84c7e
chore: remove hidden parameters (#8112) 2023-05-21 11:29:44 +02:00
andig
8bf08f2a0f chore: upgrade libraries 2023-05-19 13:41:03 +02:00
andig
7412b0a4a9
Templates: remove per-template config defaults (#6465) 2023-02-26 17:57:05 +01:00
andig
06a68d8c40
Switch sockets: allow removing vehicle selection for integrated devices (#6368) 2023-02-26 13:40:15 +01:00
andig
af883a4b3f
chore: remove template languague (#6245) 2023-02-15 22:30:01 +01: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
28d60a5993
Honor advanced setting in templates defaults.yaml (#5965) 2023-01-31 22:44:40 +01:00
andig
fb899d33ae
Add capacity option to all battery templates (#5725) 2023-01-17 21:59:07 +01:00
andig
96a6342f63 chore: cleanup 2022-12-11 17:21:42 +01:00
andig
06fa749039 Templates: simplify shortening text 2022-10-02 20:28:41 +02:00
andig
cb3f393572
Templates: remove unused parameter dependencies (#4699) 2022-10-02 19:51:08 +02:00
andig
880557594f
Templates: simplify guided setup (#4698) 2022-10-02 19:09:30 +02:00
andig
8ca91959ae Templates: simplify rendering of instances 2022-09-25 12:05:26 +02:00
andig
c7566a26e6 chore: fix doc comments for 1.19 2022-08-09 21:59:18 +02:00
andig
5662d0e55b Fix defaults not applied and improve testability (#3777) 2022-07-22 11:00:33 +02:00
andig
815cc58555 chore: apply gofumpt 2022-07-12 11:20:05 +02:00
andig
7335af2543
Templates: fix modbus defaults not applied to configuration (#3635) 2022-06-16 17:26:49 +02:00
andig
8af991d682
Mqtt: support encrypted connections (#3292) 2022-05-01 15:28:01 +02:00
andig
33e86628ed Warp: fix firmware selection 2022-04-29 17:21:59 +02:00
andig
2211582db3 Introduce covers attribute for obsolete templates (#3070) 2022-04-03 16:51:58 +02:00
andig
1bfd0f6355 Require Go 1.18 and use generics (#2116) 2022-04-02 12:47:26 +02:00
andig
e61f825c51 chore: coding style 2022-03-05 18:16:46 +01:00
andig
299ae032b5 Configure: allow ignoring invalid sponsorship token 2022-03-05 17:56:08 +01:00
andig
ed4fcdffcc Render sponsorship token 2022-03-03 09:14:47 +01:00
Andreas Linde
33e6bd8531
Template Updates (#2447) 2022-02-17 18:16:20 +01:00
Andreas Linde
10ac20f7e0
Properly shut down EEBUS mdns entry (#2493) 2022-02-06 18:26:15 +01:00
Andreas Linde
15534557a7
Configure MQTT bugfixes (#2499)
- Fix MQTT configure process crashing: This happened because it used the old language file definitions instead of the new templates defaultConfig data
- Fix MQTT meter template
- Add new valuetype `duration` to templates
2022-02-05 12:12:48 +01:00
Andreas Linde
a83d696926
Fix template handling with modbus params 2022-01-29 16:30:11 +01:00
Andreas Linde
eb67169436
Template Updates (#2392)
- Fix Powerdog template PV section
- Add Solax Hybrid X3 template
- Add Solax Cloud templates
- Add SMA Data Manager M Lite template
- Add Senec Wallbox pro s
- Update Victron template
- Improve text if no charge meter could be detected
- Add `phases` parameter for vehicles in advanced mode
2022-01-28 16:00:50 +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
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
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
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
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