Commit graph

8870 commits

Author SHA1 Message Date
andig
b1de0950c2 Return errors instead of failing 2020-07-29 13:42:09 +02:00
andig
9e7cf67128 Test sample configurations 2020-07-28 22:48:03 +02:00
andig
df8d0455f7 Append unique tag to script name to ensure updates are picked up 2020-07-28 22:18:26 +02:00
Andreas Linde
4da176567e
Merge pull request #246 from andig/feature/dev-hot-reloading
Dev mode does not need make assets any more
2020-07-28 17:53:28 +02:00
andig
1657757ca3 Add build tag 2020-07-28 17:38:13 +02:00
andig
614182309f Improve variable and tag naming 2020-07-28 17:33:32 +02:00
Andreas Linde
05264dd43a
Renamed files 2020-07-28 16:52:12 +02:00
Andreas Linde
edd833db82
Dev mode does not need make assets any more
- Only when using the buildflag `-tags dev` local file
- files are loaded directly from the file system instead of the compiled binary
- had to move `//go:generate esc …` from `server/http.go`to `main.go` as otherwise the stored local paths of the files wouldn’t be correct
- Moved the `liveAssets` constants definition into two separate files, where one is included when building for dev, and one when it isn’t
- move the tempate parsing into the handler in `http.go` as otherwise template changes would not be considered
2020-07-28 15:43:34 +02:00
andig
caffcfda59
Merge pull request #245 from andig/bugfix/configured-detection
Fixed configured detection
2020-07-28 12:54:23 +02:00
Andreas Linde
408fa61d07
Fixed configured detection 2020-07-28 12:03:12 +02:00
andig
d58eb15f2d Improve "configured" check for local debugging 2020-07-27 18:15:11 +02:00
Andreas Linde
f42a3dcf95
Updated README with docker details
- Added SMA specific docker setup, as it needs the `network_mode: host` to be able to receive multicast UDP data
- Removed double mention of port 7090
2020-07-26 19:15:46 +02:00
andig
eb1f8945eb Fix loadpoints api spelling error 2020-07-26 17:54:04 +02:00
andig
f085514ba7 Remove api PUT method 2020-07-26 17:38:14 +02:00
andig
72311c43f2 Abort waiting for initial value after timeout 2020-07-26 17:37:57 +02:00
andig
8345d32218 Fix order of initializing mqtt publisher 2020-07-26 17:37:40 +02:00
andig
c12d52ca82
Add mqtt interface and document REST api (#243) 2020-07-26 13:55:41 +02:00
andig
e948e8b31d Fix battery display and md-up bock display types 2020-07-25 16:45:30 +02:00
andig
38bb8cb7ab Improve configuration error messages 2020-07-25 16:12:47 +02:00
andig
a271b55c97 Add intro section if evcc is not configured 2020-07-25 15:48:25 +02:00
andig
880d39e07e Implement per-loadpoint mode and target soc setting (#240) 2020-07-25 14:42:53 +02:00
andig
66aa4838a7 Minor formatting tweak 2020-07-24 09:35:28 +02:00
andig
85d0c27218
Make tagged version compatible with semver 2020-07-23 09:35:35 +02:00
andig
0513c815e2
Add per-connection properties (#238) 2020-07-22 13:53:28 +02:00
andig
5242f5c066 Add version checking and show UI hint (#239) 2020-07-22 13:41:59 +02:00
andig
6adb0e9951 Fix log pattern matching 2020-07-21 10:58:26 +02:00
andig
387e39aff1
Allow updating soc when vehicle disconnected (#228) 2020-07-21 08:36:28 +02:00
andig
d2feaca4d0
Add connect/disconnect events (#237) 2020-07-21 08:35:27 +02:00
andig
fc3be70251 Fix target current calcuation by taking actual charging mode into account 2020-07-20 12:52:16 +02:00
andig
4c23924cb2 Improve log messages and round durations to second accuracy 2020-07-20 11:49:58 +02:00
andig
7c864df08a
Introduce log levels per area (#236) 2020-07-20 09:34:47 +02:00
andig
85b47cbe70 Always round down for current calculation 2020-07-20 09:34:21 +02:00
andig
cdf2cb6b2f Ignore pv meter errors 2020-07-19 22:06:47 +02:00
andig
744ef1c8b3 Fix linter 2020-07-19 21:31:20 +02:00
andig
fda956759a
Tweak UI styling (#229)
* Tweak margins
* Increase density in responsive mode
2020-07-19 20:55:40 +02:00
andig
eb66f6d911
Refactor charge current calculation (#223) 2020-07-19 20:32:50 +02:00
andig
985a16a91d Use Power as default reading for modbus plugin 2020-07-19 17:31:47 +02:00
andig
f2c607ac58
Implement phase detection (#163) 2020-07-19 13:25:23 +02:00
andig
a64229c6f7 Document exposed ports 2020-07-18 14:01:00 +02:00
andig
f812ccba34 Show version in ui 2020-07-18 14:00:48 +02:00
andig
ab43112eae
Merge pull request #220 from andig/feature/arm64-support
Added arm64 support
2020-07-18 10:41:59 +02:00
andig
173667a4de
Close modbus connection if operation fails to reestablish connection (#221) 2020-07-18 10:36:28 +02:00
andig
a94f822fe8 Upgrade dependencies 2020-07-17 15:39:59 +02:00
Andreas Linde
957aaea26a
Added arm64 support
- Added `arm.v8` to seihon for 64bit docker builds
- Added `arm64` to goreleaser config for GitHub release builds
2020-07-17 15:17:51 +02:00
andig
6fc3f0ebfe
Detect bmw vehicles (#218) 2020-07-17 09:07:13 +02:00
andig
5bb0c58e69
Fix go-e cloud updates (#215) 2020-07-17 07:14:54 +02:00
andig
0f02f6ff7b Fix invalid charge duration displayed when status changed before charge started 2020-07-16 19:35:04 +02:00
andig
e34167ce7d
Implement multiple loadpoints and new UI (#199)
* Support multiple loadpoints

* Finalize loadpoint site split

* Simplify global voltage

* Fix push template error stopping main process

* Show only last error on retry

* Improve influx v1 compatibility

* Update push templates

* Revert influx v1 user change
2020-07-16 09:34:58 +02:00
andig
80c851e423 Limit re-auth to refreshing jwt token 2020-07-13 19:36:35 +02:00
andig
c270db1baa
Fix Renault api token expiry (#210) 2020-07-13 13:26:46 +02:00