Commit graph

154 commits

Author SHA1 Message Date
Michael Geers
f8a47d765b
Unify and correct templates for better results in docs (#3011) 2022-03-29 22:25:57 +02:00
andig
4487bf192f
Modbus: add (u)int16/32 sma data types (#3032) 2022-03-29 22:18:21 +02:00
andig
cef008f9af
Yaml: apply prettier (#3023) 2022-03-29 15:54:02 +02:00
andig
10449032ac
Use OIDC config for retrieving user information (#3006)
Also extracts a request.NewClient method
2022-03-26 10:52:06 +01:00
andig
b34ddc5b2c Revert "chore: fix build tags"
This reverts commit 7aa179419b.
2022-03-24 17:43:10 +01:00
andig
7aa179419b chore: fix build tags 2022-03-24 17:17:24 +01:00
andig
1d33c54db2
VAG: rewrite integration and add Audi e-tron/Q4 support (#2968) 2022-03-24 16:45:32 +01:00
andig
f050e05294 Fix a race condition in waiter 2022-03-21 13:09:07 +01:00
andig
897af677e5 chore: allow system CAs as long as hostname matches 2022-03-18 10:15:22 +01:00
andig
25fa0d6f62 Fronius Gen24: add grid meter integer access in advanced mode (#2893) 2022-03-17 16:40:58 +01:00
andig
7a3c30729b Fix data race
Some checks failed
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
2022-03-15 21:44:22 +00:00
andig
f79b8a164d LG ESS: cleanup code and require paramters on all instantiations 2022-03-15 21:43:54 +00:00
andig
edca31fd8f Run template tests per usage in parallel (delayed until races fixed) 2022-03-15 19:29:59 +00:00
andig
02550532dc Don't render example values for testing or timeouts will slow down tests 2022-03-15 19:26:18 +00:00
andig
6972bc6c36 Equip default transport with reduced connect timeout 2022-03-15 19:25:38 +00:00
andig
6bde1cc5a4
Amtron: fix decodings (#2814) 2022-03-08 11:34:02 +00:00
andig
d18d895a08
Modbus: streamline tcp configuration (#2783) 2022-03-05 12:15:44 +01:00
andig
6fe0331f38 chore: simplify 2022-03-02 18:55:13 +01:00
andig
29171842c8 Test and instantiate all template usages 2022-03-02 18:48:55 +01:00
andig
1be66e0f58 chore: complete Go version upgrade 2022-02-27 22:06:21 +01:00
Markus Thierolf
45a5bdf7d1
Use go templates/sprig for messages (#2527) 2022-02-26 13:08:32 +01:00
andig
1631572457 Remove http headers from default log output 2022-02-23 17:31:30 +01:00
Andreas Linde
33e6bd8531
Template Updates (#2447) 2022-02-17 18:16:20 +01:00
andig
da94c8761f
Allow promoting any vehicle config to cloud usage (#2549) 2022-02-11 08:45:02 +01:00
andig
f4e47926bc chore: fix typo 2022-02-07 10:01:27 +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
andig
be2f15c780
Fritzdect: fix total energy (#2483)
Co-authored-by: hrpv <95209958+hrpv@users.noreply.github.com>
2022-02-03 19:14:20 +01:00
andig
cb44888dba
Implement oauth login proxy (#2425) 2022-01-31 19:42:32 +01:00
Andreas Linde
fbd0d6559d
Fix build error
Some checks failed
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
2022-01-29 18:57:20 +01:00
Andreas Linde
ac8af9674e
Improve configure defaultValue handling
- simplify code
- fix comset defaults type presentation issues
2022-01-29 18:19:45 +01:00
andig
05bd765623 Modbus: fix using tcp instead of rtu over serial 2022-01-29 18:13:40 +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
andig
11cd612026
Refactor modbus config (#2373) 2022-01-26 09:20:55 +01:00
andig
b4a004b7bb
Mercedes: generalize provider login (#2384) 2022-01-26 08:21:30 +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
andig
e2518cd652 chore: log cache on trace level 2022-01-11 18:58:52 +01:00
andig
6cdb4a8886 chore: add loadpoint reference to cache values 2022-01-11 18:58:06 +01:00
andig
2bad26596e
Modbus: expose request delay (#2109) 2022-01-10 17:12:10 +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
andig
20a8acb365
Modbus: add bool16 type and supporting bitmask (#2196) 2022-01-03 19:06:55 +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
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