Commit graph

260 commits

Author SHA1 Message Date
Andreas Schrell
b093c5acc3
Use per-instance unix domain socket path (#7152) 2023-04-01 16:43:15 +02:00
andig
377089fab8 chore: reduce logging 2023-03-21 22:49:36 +01:00
andig
091190e1a2 chore: use time.Tick 2023-03-21 21:47:35 +01:00
andig
4fa8a2b82c
Mqtt: add smart cost limit (#6971) 2023-03-20 21:22:13 +01:00
andig
20c4a4f865
Mqtt: time zero value removes topic (#6948) 2023-03-19 18:03:05 +01:00
andig
f4f0d6bed0
Add smartCostLimit to site (#6732) 2023-03-19 17:45:34 +01:00
andig
a200809212
Proxy: improve logging (#6766) 2023-03-10 22:21:40 +01:00
andig
82a933033e chore: make comments consistent 2023-03-10 22:00:28 +01:00
andig
c3e98c83d8
Proxy: match function codes when writing holding registers or coils (#6765) 2023-03-10 21:41:50 +01:00
andig
48931c4a65 Sessions: round odometer to single digit 2023-02-26 13:57:23 +01:00
andig
4af116a532
Merge pull request #6434 from evcc-io/chore/socket-encoding
Improve websocket handling
2023-02-26 13:39:07 +01:00
andig
1a7690c15c chore: pretty-print value 2023-02-25 18:42:12 +01:00
andig
5e5c632ed1 chore: log value separately 2023-02-25 18:03:58 +01:00
andig
1dd831858c chore: fix invalid key/val encoding 2023-02-25 17:19:48 +01:00
andig
8872e54b67 chore: capture invalid key/val 2023-02-25 17:16:33 +01:00
andig
db98a34e23 Improve encoding tests 2023-02-25 13:09:37 +01:00
andig
4642a135db Protect client map by mutex 2023-02-25 13:09:18 +01:00
andig
e6f8939ee7
Add products api (#6205) 2023-02-11 21:05:35 +01:00
andig
3763f5329f chore: add TODOs 2023-02-11 13:48:02 +01:00
Tobias Bayer
7063aa741e
Mqtt: rename threshold topics in line with current structure (#6152) 2023-02-09 09:47:11 +01:00
andig
679c435f74
Mqtt: add time/energy setter (#6149) 2023-02-08 23:10:29 +01:00
andig
54321c0cf7
Add configuration api (#6035)
Co-authored-by: Michael Geers <michael@geers.tv>
2023-02-08 11:29:27 +01:00
Tobias Bayer
c4bca909b2
Add enable and disable thresholds via api (#6081)
Note: this are potentially subject to removal
2023-02-06 12:57:22 +01:00
andig
7b2ab68add chore: move eebus server to charger package to prevent import cycle 2023-02-05 13:13:47 +01:00
andig
c150b2e0cc Sessions: round odometer 2023-02-03 22:33:38 +01:00
andig
1f068d3083
Influx: fix writing slices and nil values (#6022) 2023-02-03 21:43:20 +01:00
andig
ea381b21fc chore: use loadpoint Title() instead of Name() 2023-02-03 17:52:54 +01:00
CuBy
b7b523eedc
Sessions: export csv by month (#5883)
* make vehicle of session editable

* filter sessions by month and adjust the csv export

* Revert "filter sessions by month and adjust the csv export"

This reverts commit c5d2202d181312357396369019872217ccd6d4b1.

* make code and ui changes for editable session vehicle

* updated generated files

* add error handling for json unmarshal

* filter sessions by month and adjust the csv export

* delete filter and add button to monthly section

* Merge master

* revert unwanted merge conflict changes

* revert unwanted merge conflict changes

* fix code after merge

* optimize code

* Update http_session_handler.go

* align button and text centered

---------

Co-authored-by: Krümel <christopher.teipen@andsafe.de>
Co-authored-by: andig <cpuidle@gmx.de>
2023-01-31 15:54:31 +01:00
andig
72121dbcfe
chore: always publish time in RFC 3339 (#5886) 2023-01-24 18:43:38 +01:00
andig
0f07cd612c
InfluxDB: write slice of structs (#5873) 2023-01-23 18:48:34 +01:00
CuBy
ad9a5d0fed
Sessions: make vehicle editable (#5844) 2023-01-21 11:33:27 +01:00
andig
dcaadb783f
Refactor target charging apis (#5649) 2023-01-19 19:01:22 +01:00
CuBy
d02a880b19
Add session details (#5809) 2023-01-17 11:15:04 +01:00
andig
7d69109535
Mqtt: remove deprecated topics (#5766) 2023-01-12 20:10:45 +01:00
Michael Stapelberg
f5fe313dc0
Fix build with -tags gokrazy (#5716)
Before this commit, go build -tags gokrazy ./... would fail with:

github.com/evcc-io/evcc/server/updater
server/updater/run_gokrazy.go:21:27: not enough arguments in call to NewRepo
	have (string, string)
	want (*util.Logger, string, string)
2023-01-08 13:45:46 +01:00
andig
17da54d56c Sessions: log db name before opening 2023-01-04 10:12:33 +01:00
andig
754288619a Add tariff handler 2023-01-02 12:36:41 +01:00
andig
f5913956b6 Fix panic in vehicle selection 2022-12-29 11:48:26 +01:00
andig
c9e8ee27ae Mqtt: revert publishing phase values as array instead of slice 2022-12-26 00:02:05 +01:00
andig
a885f39d18 chore: remove deprecated site topics 2022-12-25 17:05:59 +01:00
andig
5461d74d8f Fix encoding float NaN and Inf values 2022-12-24 11:24:13 +01:00
andig
03d6d1418a
Rename SoC to Soc and LoadPoint to Loadpoint (#5549) 2022-12-23 10:19:23 +01:00
andig
54f204c0f8
Publish individual pv and battery data (#5497) 2022-12-23 10:07:30 +01:00
andig
8cb8444774 chore: better version check error 2022-12-18 15:20:50 +01:00
Michael Geers
a0fd8fc1c9
Introduce global settings dialog (#5473) 2022-12-18 11:15:35 +01:00
andig
40f55e8bfb chore: fix linter 2022-12-16 11:03:50 +01:00
andig
8be06fbb9d Target charge: don't allow timestamps in the past 2022-12-16 08:34:35 +01:00
andig
68ac3c0f51 Print sqlite database on startup 2022-12-11 11:28:08 +01:00
Andreas Linde
ae393838f4
Migrate EEBUS to enbility/eebus-go (#5391)
* Migrate EEBUS to enbility/eebus-go

- adopt enbility/eebus-go library
- fully compatible with existing EEBUS setup
- centralize EEBUS certificate generation for configure and certificate creation cmds
- automatically utilizes native avahi mDNS setup if installed, which does not have missing IP issues as zeroconf library
- mDNS discovery and announcement is fully handled by the library
- improved double connection and reconnection handling over previous library
- logging now fully supported evcc log levels
- tested with Elli Connect and Porsche Mobile Charger Connect
2022-12-10 21:40:20 +01:00
andig
86e5fadabd chore: redact github token 2022-12-09 13:54:55 +01:00