Commit graph

204 commits

Author SHA1 Message Date
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
58d4dd5cf8 Unify charge start/stop interfaces (#3002) 2022-03-25 18:18:35 +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
c0e501d654 Replace interface designator with address 2022-03-17 13:26:16 +01:00
xantalor
5871903824 fix urls 2022-03-16 20:50:07 +01:00
andig
e1902c12fa chore: refactor selection by name 2022-03-15 11:41:01 +00:00
andig
7a7f787f11
Add http header logging (#2890) 2022-03-15 10:41:40 +00:00
andig
3d9be7b157 chore: use const 2022-03-15 10:20:20 +00:00
andig
016dffb756
Add HardyBarth charger (#2874) 2022-03-14 22:25:08 +00:00
premultiply
f085a0b850
Fix charger cmd current check 2022-03-14 20:55:42 +01:00
andig
f952427674
Add st(a)rt, st(o)p, (w)akeup options to vehicle command (#2870) 2022-03-13 12:56:00 +00:00
andig
627d2afa1b
Add current (I), (e)nable, (d)isable and (w)akeup options to charger command (#2853) 2022-03-13 12:32:26 +00:00
andig
c4502847f1
Allow dumping single vehicle, charger or meter (#2851) 2022-03-10 18:04:29 +00: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
andig
617e42aad8
Upgrade spf13/viper (#2754)
Build tags enforce use go gopkgk.in/yaml/v3 instead of v2
2022-03-02 13:01:20 +01:00
andig
389121d832 chore: fix deprecated plugin configuration 2022-02-27 22:06:40 +01:00
Markus Thierolf
45a5bdf7d1
Use go templates/sprig for messages (#2527) 2022-02-26 13:08:32 +01:00
Andreas Linde
17d6a5c17c
Improve nightly version handling (#2598)
Co-authored-by: Michael Geers <michael@geers.tv>
2022-02-20 14:11:06 +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
192b68047d chore: remove auth from mqtt 2022-02-07 12:09:43 +01:00
Andreas Linde
5cac3af5c9
Provide easier access to evcc web interface (#2492)
- Use mdns to provide access to the evcc website via `http://evcc.local:7070`
- Correctly shutdown the mdns announcement on exit
- Unknown: We need to check how this works in a docker environment, as that may provide unreachable IP addresses
2022-02-07 10:03:07 +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
andig
cb44888dba
Implement oauth login proxy (#2425) 2022-01-31 19:42:32 +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
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
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
111e1cc2e7
Simplify charge meter configuration (#2386) 2022-01-23 15:08:34 +01:00
Xantalor
be934d546c Add Mercedes (#2259) 2022-01-21 17:40:20 +01:00
andig
d0904f1644 Show finish time in local timezone 2022-01-20 13:59:36 +01:00
andig
2398711d77 chore: reduce logging 2022-01-12 10:20:34 +01:00
andig
007d1ffa10
Improve demo mode and config dump to log (#2266) 2022-01-11 21:27:35 +01:00
andig
75c29e797f chore: remove deprecated cache 2022-01-11 14:12:05 +01:00
andig
8b8153ddf2 Update demo config to match 8633eb9
Some checks failed
Default / Build (push) Failing after 1m54s
Default / Build UI (push) Failing after 15s
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-10 18:33:15 +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
cfe8a961b6 chore: gracefully handler server errors 2022-01-06 20:27:16 +01:00
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